X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Compiling php 5 Date: Fri, 02 Jun 2006 14:08:09 -0500 Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Roland Swingler wrote: > I was wondering if anyone has managed to get php 5 compiled under > Cygwin? I am currently trying with 5.1.4. Trying to compile it as an > apache2 module (with no other configure flags), both configure and > make go fine, but when I do make install it complains about not > finding libphp5.so. I have never tried building php, but ... > So after googling for a bit I find these instructions - > http://www.cygwin.com/ml/cygwin/2005-12/msg00093.html and try > following them, but make now chokes when compiling ext/standard/dns.c >=20 > I decide give up on the module and try making the cgi version, > disabling all extensions. Doing make test, it still chokes on the dns > bit. [snip] > Does anyone have any suggestions about what to do about this? I'd also > be interested in workarounds/hacks that any C programmers could > suggest to me - (i.e. what I could do to disable the dns functions). >=20 > I've also found elsewhere that dns is one of the "hotspots" in > compiling things for cygwin, but I haven't found any resources > detailing how to solve any of the problems, so if anyone knows where I > could find out about that, it would be appreciated. The DNS problem can be solved by building ISC's bind (just disable IPv6, it compiles fine with it but Cygwin doesn't have support for that), then just = point your php build to those libraries (and headers)... they are static librarie= s so there should be no problem. --=20 Ren=E9 Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/