Re: A minimal php5ts.dll
| From: | Rubem Pechansky | Date: | Wed, 23 Mar 2005 02:19:39 +0000 |
| Subject: | Re: A minimal php5ts.dll | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2208@lists.php.net to get a copy of this message | ||
Hello,
I've downloaded and installed the MSVC Toolkit 2003, nmake 1.5, win32build
and bindlib_w32 in addition to the Platform SDK which I already had. I
believe I'm getting there. I've created a build-make.bat to run configure.js
and nmake at once:
@cscript /nologo
configure.js --enable-one-shot --with-php-build=C:\Util\PHP\win32build --wit
h-extra-includes=C:\Util\WinSDK\Include --enable-cli-win32 --disable-bcmath
--disable-calendar --disable-cgi --disable-com-dotnet --disable-fastcgi --di
sable-force-cgi-redirect --disable-ftp --disable-ipv6 --disable-odbc --disab
le-session --disable-tokenizer --disable-zlib --disable-zts --without-dom --
without-gd --without-iconv --without-libxml --without-simplexml --without-sq
lite --without-wddx --without-xml --disable-spl --disable-ctype --without-pc
re-regex
@nmake
I tried including and removing lots of options, but I always get several
warnings in configure.js and errors in nmake:
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
Checking for link.exe ... <in default path>
Checking for nmake.exe ... <in default path>
Checking for lib.exe ... <not found>
Checking for bison.exe ... <in default path>
Checking for flex.exe ... <in default path>
Checking for re2c.exe ... <not found>
Checking for zip.exe ... <not found>
Checking for lemon.exe ... <not found>
Checking for arpa\nameser.h ... ..\win32build\include
Checking for library resolv.lib ... ..\win32build\lib\resolv.lib
Build dir: Release
PHP Core: php5.dll and php5.lib
Checking for NewAPIs.h ... <not found>
Checking for NewAPIs.h ... C:\Util\WinSDK\Include
Enabling SAPI sapi\cli
Enabling SAPI sapi\cli
Enabling extension ext\standard
Creating build dirs...
Generating files...
Generating Makefile
Generating main/internal_functions.c
[content unchanged; skipping]
Generating main/config.w32.h
Done.
Type 'nmake' to build PHP
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
NMAKE : warning U4004: too many rules for target
'Release\sapi\cli\getopt.obj'
"cl.exe" /nologo /YX /FD /I . /I main /I regex /I Zend /I TSRM /D
_WIND
OWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /LD /MD /W3 /Ox /D
NDebug /
D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GB /GF /D ZEND_DEBUG=0 /I
"..\win32build\in
clude" /I "C:\Util\WinSDK\Include" /D FD_SETSIZE=256 /FoRelease\sapi\cli\
/FdR
elease\sapi\cli\ /FpRelease\sapi\cli\ /FRRelease\sapi\cli\ -c
sapi\cli\getopt.c
sapi\cli\php_cli.c
The input line is too long.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1'
Stop.
There are some files which I didn't find anywhere: lib.exe, re2c.exe,
zip.exe and lemon.exe, but it seems the nmake errors are elsewhere.
Any ideas?
Thanks a lot,
-------------------
Rubem Pechansky
WinBinder - The native Windows binding for PHP
http://winbinder.sourceforge.net/
Hypervisual - Advanced Design for IT
http://hypervisual.com/