delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/20/03:09:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <gerrit AT familiehaase DOT de>
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 <list-subscriber AT hq DOT astra DOT ph>
CC: Max Bowsher <maxb AT ukf DOT net>, Andreas Eibach <ae_cygwin AT web DOT de>,
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019