Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <41520175.AA068400@dessent.net> Date: Wed, 22 Sep 2004 15:49:25 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: New packge: lighttpd-1.3.0 References: <41519C77 DOT 4080201 AT x-ray DOT at> <1656566026 DOT 20040922215552 AT familiehaase DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com "Gerrit P. Haase" wrote: > if you ask me, the PHP build system is broken. > > I tried to build 5.0.1, I'm getting no lipphp, no shared modules, > libdb is not found... If you specify an extension and the relevant > dependency is not available the configure exits, it is terrible, this > sucks really. > > How do I need to configure to get a shared library? Shared modules? > Why isn't there a howto about this in the source dist included? Who > is responsible for this broken system? > > If I call `make libphp5.la` I get a static archive, no DLL, it is > weird... > > I hate this package since I tried to build it the first time. Part of the problem here is that "We don't support building under Cygwin" is the official line from php-dev. I've got php-4.3.8 working fine as a DSO with Apache (a single 3.1M chgphp4.dll.) This works for whatever modules/extensions are statically included, but obviously that's not quite acceptable. If you "--enable-foo=shared" you get a foo.a file in the modules dir, but this is not a win32 executable and so it cannot be dlopen()'d. I'm still working on how to get these extension modules working, when I do I'll ITP the whole batch. Brian -- 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/