Re: need help building php on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason wrote:
> 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
> 
Actually I haven't been able to get the dblib version of the mssql
extension building on windows either but don't have the time to tackle
it at the moment - you can try building it with JUST dblib or JUST
mssql, I know building both at the same time leads to weirdnesses

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux