Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <42F27994.106@familiehaase.de>
Date: Thu, 04 Aug 2005 22:24:52 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728
MIME-Version: 1.0
To: Harald Joerg <harald.joerg@fujitsu-siemens.com>
CC: cygwin@cygwin.com
Subject: Re: error compiling apache-1.3.33 with mod_perl and perl-5.8.7-1
References: <42D0178C.6070803@familiehaase.de>	<20050709131329.GC3284@postle.net>	<kvacjzozk1.fsf@mcp0147c.mch.fsc.net>	<42F0F80E.6060308@familiehaase.de> <kvy87ixeyc.fsf@mcp0147c.mch.fsc.net>
In-Reply-To: <kvy87ixeyc.fsf@mcp0147c.mch.fsc.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Harald Joerg wrote:

>>IMO a bug in ExtUtils::Embed.
> 
> 
> I'd have said so - but this version of ExtUtils::Embed has been around
> for a while.  That's why I have been looking for a solution - or a
> workaround - within the cygwin build.
> 
> Nevertheless I'll try to file a bug report to perlbug.  Having
> Extutils::Embed kill undefined static_ext elements doesn't harm and
> makes the procedure more robust.

Thanks, this would be much appreciated.


>>>I don't know enough about building perl - especially I've no idea
>>>whether the sequence of static_ext is of any importance.  Maybe the
>>>following is a simple solution:
>>>===========================================================================
>>>--- perl-5.8.6/hints/cygwin.sh.orig	2004-02-22 14:07:58.000000000 -0800
>>>+++ perl-5.8.6/hints/cygwin.sh.haj	2004-12-08 20:52:01.891572800 -0800
>>>@@ -57,3 +57,4 @@
>>> ldflags="$ldflags -s"
>>> ccdlflags="$ccdlflags -s"
>>> lddlflags="$lddlflags -s"
>>>+static_ext="Win32CORE $static_ext"
>>>--- perl-5.8.7/cygwin/cygwin.c.orig	2005-04-22 12:54:18.000000000
>>>+0200
>>>===========================================================================
>>
>>
>>Should do it.  I'll change it for future releases.
> 
> 
> Great!  I prefer to run vanilla cygwin installations instead of my own
> compilations - they tend to be more stable :-)
> 
> 
>>[...]  Would mod_perl work with a mod_so setup as well?
>>
>>Yes it should work.  Have you tried to link directly against the DLL?
> 
> 
> You mean against /usr/bin/libhttpd.dll?

Yes.  This is also usual to build the shared modules for the
distribution.  Just add it to the link command like any other objects.

> I've tried, but failed miserably so far.  I've been starting with the
> build procedure delivered with mod_perl (DO_HTTPD=1), which creates a
> different Apache than what I get from cygwin's setup.  I have yet to
> find out how cygwin's Apache has been built...

Have a lot of fun ;)


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/

