Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19687 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98800 invoked by uid 1010); 22 Oct 2005 15:54:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98785 invoked from network); 22 Oct 2005 15:54:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2005 15:54:55 -0000 X-Host-Fingerprint: 64.233.184.201 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.201:12048] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 56/82-22302-DC06A534 for ; Sat, 22 Oct 2005 11:54:53 -0400 Received: by wproxy.gmail.com with SMTP id 71so356953wra for ; Sat, 22 Oct 2005 08:54:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kCMx3pWPSePCet8QW8F4xZClXpwEkTFaubXWesxUEnJEo1WL7jMxkKCtTT6Ike/Yy4cGbirplPW388x5Ronq6Gz/Jt0w9IyoRmlX4Iy06LFoAg5TVJW47kiOBzW144L51namx9iDzaojxcm1FOKeYH2xJ0nWtDWMvlWJdd8UCic= Received: by 10.54.142.18 with SMTP id p18mr2158346wrd; Sat, 22 Oct 2005 08:54:50 -0700 (PDT) Received: by 10.54.76.6 with HTTP; Sat, 22 Oct 2005 08:54:50 -0700 (PDT) Message-ID: <4e89b4260510220854k7b52582fn98379ee45764365@mail.gmail.com> Date: Sat, 22 Oct 2005 11:54:50 -0400 To: techtonik Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1083412052.20051022123025@tut.by> <4e89b4260510220804n11c60ef9mbb63fd533e7deebb@mail.gmail.com> Subject: Re: PHP 4 win build system questions From: kingwez@gmail.com (Wez Furlong) I don't want to burst your bubble, but PHP 5 is the current release of PHP, and we've started work on PHP 6. The win32 build system is much more friendly; I've already spent many hours on making things better there. If you want to improve things for PHP 4, go for it, but I don't and won't have time to help review it; my "php time" is focused on the current stuff. Don't forget that we have full-on win32 builds being generated courtesy of Edin, along with several snapshot builds throughout the day for all branches of PHP and PECL; there should be very little need for people to build their own, unless they are hacking on PHP itself--those people should be maintaining their own build environments. --Wez. On 10/22/05, techtonik wrote: > > If you have cygwin flex and bison, you don't need to copy anything. > > And if I don't have any? Can it be made as simple as "unpack and compile"= ? > If you'll read this page > http://www.php.net/manual/en/install.windows.building.php > you notice redundant instructions for copying files and setting up > MSVC++. I've made a .bat file to automate the process and avoid making > these repeated operations manually every time I need to compile PHP 4 > for testing. I'm looking into get this process even more simple and > without unnecessary garbage left on my c: drive. Files are attached. > > > You also don't *have* to recompile resolv.lib; just build a release > > build and use that, even when you're building a debug version of PHP. > > Why do I need to build it at all if it is included in win32build.zip? > > Should I update installation instructions on > http://www.php.net/manual/en/install.windows.building.php then? > > > > > --Wez. > > > > On 10/22/05, techtonik wrote: > > > ||*()*|| Greetings, phpinnards.. =3D) > > > > > > I tried to automate build system for PHP 4 a bit and after that > > > can't get some stupid questions out of my head. Install instructions > > > located as usual > > http://www.php.net/manual/en/install.windows.building.php > > > > > > There are at least two inconveniences: > > > 1. Need to copy bison.sample from win32build\bin to c:\usr\local\li= b > > > 2. Need to recompile resolv.lib every time target changes > > > > > > So the questions are the following > > > 1.1 Why not to get rid of this bison.sample copy operation either b= y > > > 1.1.1 upgrade bison.exe in win32build.zip from 1.27 to at > > > least 1.34, which adds -S options to specify bison.sample > > > explicitly and also includes some memory leak fixes > > > > > http://sourceforge.net/project/shownotes.php?release_id=3D274058 > > > or > > > 1.1.2 set up environment variable BISON_SIMPLE somewhere in > > > build files/scripts? > > > > > > 2.1 Why resolv.lib needs to be recompiled every time when target > > > changes from "debug" to "release" and vice versa > > > 2.1.1 Why it is not possible to supply a separate resolv_debug.= lib > > > and resolv_release.lib files in win32build.zip and rewrit= e > > > dependencies for them in windows build files? > > > > > > Thanks. > > > > > > .techtonik > > > -- > > > > > > -- > > > PHP Internals - PHP Runtime Development Mailing List > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > >