Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37599 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97115 invoked from network); 11 May 2008 13:59:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2008 13:59:33 -0000 X-Host-Fingerprint: 24.247.219.180 24-247-219-180.dhcp.cdwr.mi.charter.com Received: from [24.247.219.180] ([24.247.219.180:4753] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/D1-34108-3CBF6284 for ; Sun, 11 May 2008 09:59:32 -0400 Message-ID: To: internals@lists.php.net Date: Sun, 11 May 2008 09:59:27 -0400 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 References: <4826958F.7010900@isdg.net> <4826ABFC.6080104@isdg.net> <4826C3F6.1020507@isdg.net> <4826F147.1030609@isdg.net> <00cd01c8b36d$add31c40$4001a8c0@foxbox> In-Reply-To: <00cd01c8b36d$add31c40$4001a8c0@foxbox> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 24.247.219.180 Subject: Re: [PHP-DEV] README.WIN32-BUILD-SYSTEM From: auroraeosrose@gmail.com (Elizabeth M Smith) Steph Fox wrote: >> What is hard in: >> >> 1. mkdir c:\phpw32 >> 2. extract a php release in c:\phpw32\php-5.y.z >> 3. extract the dependencies in c:\phpw32\php_builds >> 4. run: >> buildconf.bat >> configure.bat [option your like to have} >> nmake > > What is hard in it is that this is pretty alien for someone used to > working with .dsp files or whatever. Also, under Windows you need to > bring the MS headers into play, which means running vcvars. > (vc32vars.bat, whatever.) The same thing happens when you use Visual > Studio, but you don't see it there because it's disguised as > Tools/Options/Directories and obviously is 'just called'. That's why I usually just tell people to run the shortcut in their start menu that sets this up (Visual Studio Command Prompt) and then cd to the php source ;) In our setup > it needs to be called explicitly, unless the MS headers are already in > your PATH. You'll also need to add the path to your PHP libs and headers > to vcvars.bat, you can do this via MSVC or manually. Err- no you don't steph :) you can use the --php_build="path" switch to tell our configure system where to look for the libs, or just put them in a library called php_build parallel to your php5 source, don't make things harder then they have to be ;) > > configure.bat has been in 5_3 only for the last few weeks, so that part > depends on the PHP version you're building. But buildconf will tell you > what to do next anyway. > > - Steph >