Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6773 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53349 invoked by uid 1010); 3 Jan 2004 17:20:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53325 invoked from network); 3 Jan 2004 17:20:20 -0000 Received: from unknown (HELO mail1.panix.com) (166.84.1.72) by pb1.pair.com with SMTP; 3 Jan 2004 17:20:20 -0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail1.panix.com (Postfix) with ESMTP id E9A9348B89 for ; Sat, 3 Jan 2004 12:20:19 -0500 (EST) Received: (from analysis@localhost) by panix5.panix.com (8.11.6p2-a/8.8.8/PanixN1.1) id i03HKJV26519 for internals@lists.php.net; Sat, 3 Jan 2004 12:20:19 -0500 (EST) Date: Sat, 3 Jan 2004 12:20:19 -0500 To: PHP Internals List Message-ID: <20040103172019.GA25410@panix.com> References: <20040103042347.GA27644@panix.com> <20040103051319.64464.qmail@web13204.mail.yahoo.com> <20040103052015.39355.qmail@web13203.mail.yahoo.com> <20040103044958.GE23760@csh.rit.edu> <20040103051319.64464.qmail@web13204.mail.yahoo.com> <20040103042347.GA27644@panix.com> <20040103044958.GE23760@csh.rit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040103052015.39355.qmail@web13203.mail.yahoo.com> <20040103051319.64464.qmail@web13204.mail.yahoo.com> <20040103044958.GE23760@csh.rit.edu> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] win32 build system and VS .NET From: danielc@analysisandsolutions.com (Daniel Convissor) Hi Everyone: Thanks for the suggestions. I'm still not there. I tad more help will be appreciated, please. First I'll reply to your points then supply the latest list of commands I tried. On Fri, Jan 02, 2004 at 11:49:59PM -0500, Jon Parise wrote: > On Fri, Jan 02, 2004 at 11:23:47PM -0500, Daniel Convissor wrote: > > > cvs -d :pserver:cvsread@cvs.php.net:/repository co -d php5\bindlib_w32 > > bindlib_w32 > > cvs -d :pserver:cvsread@cvs.php.net:/repository co bindlib_w32 > (e.g. parallel to the php5 directory) Hmm... Then what's the purpose of the bindlib_w32 subdirectories in the php-src tree? Should be removed from CVS for clarity? > > So, it looks like Visual Studio .NET isn't going to cut it, huh? > > It works fine for me. I've been using it all day (building on the > command line and debugging in the IDE). Have you ever installed an earlier version of Visual Studio or header files from somewhere else too? Doing the "cscript /nologo configure.js..." step for me complains, in part, about mscoree.h being missing. On Fri, Jan 02, 2004 at 09:13:19PM -0800, choinet wrote: > > Looks like you need to get the resolv.lib replacement > and win32 buildtools at > http://www.php.net/manual/en/install.windows.php#install.windows.build. Isn't that what I did? On Fri, Jan 02, 2004 at 09:20:15PM -0800, choinet wrote: > > Have you configured VC to look for the bin, lib, and > include directories in the win32build folder? Nope. This looks like an important step that I'm missing. I trust I can append those to the appropriate environment variable using the command line. What's the environment variable in question, please? On Sat, Jan 03, 2004 at 11:36:25AM -0000, Steph wrote: > As Jon suggested, taking bindlib_w32 from CVS rather than from the build zip > makes more sense. 1. the build zip isn't up to date unless someone fixed > this over the past week I thought I did that. Okay, so here's my latest attempt: d: cd \ mkdir php5 mkdir php5\win32 mkdir php5\win32\build cvs -d :pserver:cvsread@cvs.php.net:/repository co -d phpbuild php-src/win32/build xcopy phpbuild php5\win32\build cvs -d :pserver:cvsread@cvs.php.net:/repository co bindlib_w32 cvs -d :pserver:cvsread@cvs.php.net:/repository co php5 cd php5 lynx -dump http://www.php.net/extra/win32build.zip > win32build.zip unzip win32build.zip buildconf.bat cscript /nologo configure.js --without-gd --without-libxml --disable-zlib --without-iconv Which outputs... Saving configure options to config.nice.bat Checking for cl.exe ... Checking for link.exe ... Checking for nmake.exe ... Checking for lib.exe ... Checking for bison.exe ... Checking for flex.exe ... Checking for re2c.exe ... Checking for zip.exe ... Checking for lemon.exe ... Checking for arpa\nameser.h ... ..\bindlib_w32 Checking for resolv.lib ... Checking for Release\resolv.lib ... Checking for resolv.lib ... Build dir: Release_TS PHP Core: php5ts.dll and php5ts.lib Checking for wspiapi.h ... Enabling IPv6 support Checking for NewAPIs.h ... Enabling SAPI sapi\cgi Enabling SAPI sapi\cli Enabling extension ext\bcmath Enabling extension ext\calendar Checking for oleaut32.lib ... Enabling extension ext\com_dotnet Checking for mscoree.h ... Checking for mscoree.h ... Enabling extension ext\ctype Enabling extension ext\ftp Enabling extension ext\odbc Enabling extension ext\pcre Enabling extension ext\session Enabling extension ext\sqlite Enabling extension ext\standard Enabling extension ext\tokenizer Creating build dirs... Generating files... Generating Makefile Generating main/internal_functions.c Generating main/config.w32.h Done. Type 'nmake' to build PHP Thanks again, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409