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: <42B66BA4.7050805@familiehaase.de> Date: Mon, 20 Jun 2005 09:09:24 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Carlo Florendo CC: Max Bowsher , Andreas Eibach , cygwin AT cygwin DOT com Subject: Re: Any chance to get Apache 2.0.xx working on cygwin? References: <508749000 AT web DOT de> <036f01c5752f$b1058990$e6ec6f83 AT chimaera> <42B6332A DOT 7000209 AT hq DOT astra DOT ph> In-Reply-To: <42B6332A.7000209@hq.astra.ph> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Carlo Florendo wrote: > Now that we're talking about apache 2 here, is there some chance we > could include PHP as a module in apache? The > apache-php-postgresql/mysql framework has been waiting for a long time > in cygwin now. I remember around 2 years ago that the framework (at > least with postgresql) used to be in cygwin. Why not? If you or anyone is contributing PHP. > There is just one problem. PHP *can* compile in cygwin but the wrong > thing is compiled. (I'm trying to configure PHP as a module that will > load into apache) Doing a ./configure, make, runs with no errors. > However, when doing a make install, here's what crops up: > > $ make install > Installing PHP SAPI module: apache > apxs:Error: file libs/libphp4.so is not a DSO > make: *** [install-sapi] Error 1 > > The thing is, libs/libphp4.so does not exist but only libs/libpp4.a This is the problem, Cygwin is not supported from the PHP people. They use their own buildsystem instead of an automake/autoconf/libtool chain. > I remember someone saying before that there is a problem in libtool. > However, I don't quite understand how libtool works. > > Here's what the make warning says: > > libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin > shared libraries > This usually means that the flag -no-undefined is missing. However, once you add this flag the mess begins. > If anyone could help me build php4 on cygwin, I would volunteer as its > maintainer. I got it compiled once, including shared modules, but it was too much work. Try to understand how their build systems works and add the missing bits, most work will be to get the changes included in the upstream sources. > Thank you very much! Gerrit -- =^..^= -- 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/