need help building php on windows
| From: | Jason | Date: | Fri, 14 Mar 2008 08:58:23 +0000 |
| Subject: | need help building php on windows | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28830@lists.php.net to get a copy of this message | ||
Hi all,
I'm having trouble compiling PHP 5.2.5 using Visual C 6 (SP6).
I have (to the best of my knowledge) followed the tips/instructions on the following two pages:
http://news.php.net/php.windows/28659 (the black text, not green)http://php.mirror.camelnetwork.com/manual/en/install.windows.building.php I can get most of php to build (albeit with a lot of warnings) using the snapshot build option, however the two extensions that won't build are the two I need: php_mssql.dll (less important) php_dblib.dll (the one I'm really after) The reason for the build is to compile a php_dblib.dll using the new RC code of FreeTDS as we are seeing some strange errors using the pre-built dblib.dll from http://kromann.info (which I believe to be built using FreeTDS 0.63 from 2005?). Here's the compile error I'm getting: main\internal_functions.c(69) : error C2065: 'phpext_dblib_ptr' : undeclared identifier main\internal_functions.c(69) : error C2099: initializer is not a constant NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' Can anyone who has built this DLL on windows shed any light? TIA Jason