php5 win build

php.internals

Arjun Jain

21 years ago
Hi, I want to build php-5.0.3 on WinXP using Visual Studio.NET. I have read the instructions at php.net as well as in README.WIN32-BUILD-SYSTEM file. Initially got an error regarding some function in nsap_addr.c at #if !defined(isxdigit) /* XXX */ which (after googling) I changed to: #if !defined(isxdigit) && !defined(_CTYPE_DEFINED). Then I guess that was fixed. Next, I got errors regarding libxml/parser.h and iconv.h. I then downloaded the respective files and placed the headers in their respective expected places. Next I could compile a few parts but not the solution including the php5ts.lib and the dlls (which i need). Please find the html file generated by visual studio attached. Any help will be appreciated. Regards aj Arjun Jain http://arjun.notlong.com

Jon Parise

21 years ago
On Wed, Mar 30, 2005 at 12:25:07PM +0530, Arjun wrote:
> I want to build php-5.0.3 on WinXP using Visual Studio.NET. I have read > the instructions at php.net as well as in README.WIN32-BUILD-SYSTEM file. > > Initially got an error regarding some function in nsap_addr.c at #if > !defined(isxdigit) /* XXX */ which (after googling) I changed to: #if > !defined(isxdigit) && !defined(_CTYPE_DEFINED).
That's correct fix, and the CVS version of bindlib_w32 has been patched[1] for almost two years. I assume that you downloaded the archive[2] instead of using CVS. Someone should probably update that[3]. I'll take care of it later today if no one beats me to it. [1] http://cvs.php.net/diff.php/bindlib_w32/nsap_addr.c?r1=1.1&r2=1.2&ty=h [2] http://www.php.net/extra/bindlib_w32.zip [3] http://cvs.php.net/co.php/phpweb/extra/bindlib_w32.zip
-- Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)

Jon Parise

21 years ago
On Wed, Mar 30, 2005 at 12:04:46PM -0500, Jon Parise wrote:
> > I want to build php-5.0.3 on WinXP using Visual Studio.NET. I have read > > the instructions at php.net as well as in README.WIN32-BUILD-SYSTEM file. > > > > Initially got an error regarding some function in nsap_addr.c at #if > > !defined(isxdigit) /* XXX */ which (after googling) I changed to: #if > > !defined(isxdigit) && !defined(_CTYPE_DEFINED). > > That's correct fix, and the CVS version of bindlib_w32 has been > patched[1] for almost two years. I assume that you downloaded the > archive[2] instead of using CVS. Someone should probably update > that[3]. I'll take care of it later today if no one beats me to it. > > [1] http://cvs.php.net/diff.php/bindlib_w32/nsap_addr.c?r1=1.1&r2=1.2&ty=h > [2] http://www.php.net/extra/bindlib_w32.zip > [3] http://cvs.php.net/co.php/phpweb/extra/bindlib_w32.zip
I've updated the bindlib_w32.zip distribution archive (in phpweb/extra/). The mirrors should pick it up on their next sync.
-- Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)