delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/06/03:58:38

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: <42F46D98.90707@familiehaase.de>
Date: Sat, 06 Aug 2005 09:58:16 +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.11) Gecko/20050728
MIME-Version: 1.0
To: Harald Joerg <harald DOT joerg AT fujitsu-siemens DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Apache with mod_perl up and running
References: <42D0178C DOT 6070803 AT familiehaase DOT de> <20050709131329 DOT GC3284 AT postle DOT net> <kvacjzozk1 DOT fsf AT mcp0147c DOT mch DOT fsc DOT net> <42F0F80E DOT 6060308 AT familiehaase DOT de> <kvy87ixeyc DOT fsf AT mcp0147c DOT mch DOT fsc DOT net> <kvu0i53gmm DOT fsf_-_ AT mcp0147c DOT mch DOT fsc DOT net> <42F28D5F DOT 6010702 AT familiehaase DOT de> <kvu0i47mhd DOT fsf AT mcp0147c DOT mch DOT fsc DOT net>
In-Reply-To: <kvu0i47mhd.fsf@mcp0147c.mch.fsc.net>
X-IsSubscribed: yes

Harald Joerg wrote:

> Gerrit P. Haase writes:
> 
> 
>>Harald Joerg wrote:
>>
>>
>>>   We already know that - for archeological reasons - mod_perl's DSO
>>>   library happens to have the same file name as perl's, eh?  Here's
>>>   a place where this *really* bit me.
>>
>>Oh yeah, I cannot believe that they don't change the name.  If someone
>>has a nice workaround to add to perlld to handle this issue with
>>mod_perl, feel free to contact me.
> 
> 
> How about being a bit more "positive" when checking for perl?  The
> following patch tests whether the dll being built contains an object
> called 'perl.o' (would we have to check $(OBJ_EXT)?  I hope not -
> perlld is cygwin and cygwin has '.o'):
> 
> --- /usr/bin/perlld.orig        2005-08-05 11:06:27.041388400 +0200
> +++ /usr/bin/perlld     2005-08-05 11:07:23.288868400 +0200
> @@ -49,5 +49,5 @@
>    my $v_e_r_s = substr("5.8.7",0,-2);
>    $v_e_r_s =~ tr/./_/;
> -  if ( $dllname =~ /libperl.*/) { 
> +  if ( $dllname =~ /libperl.*/  &&  $args =~ /\bperl\.o\b/) { 
>      $dllname ="cygperl$v_e_r_s.dll";
>    } else {
> 
> I admit that I have not yet rebuilt perl with this perlld -
> but mod_perl now takes the perlld step without being renamed.

This idea is good!  I'll try s.th. along these lines.


> P.S.: In the meantime I managed to compile mod_auth_kerb as well,
> linking against /usr/bin/libhttpd as you recommended.  So my mod_perl
> deviation had its merits :-)
> 
> P.P.S.: In my "success story" about mod_perl I forgot to mention that
> I had to run rebaseall to get the server running.

Try to use --enable-auto-image-base for linking, this should minimize
the need for rebasing.


> P.P.P.S.: Ah, yes, and I had to re-install emacs because it got stuck
> in an endless loop immediately after starting (consuming 100% CPU)
> after the rebaseall.

I try to avoid using rebase and I don't use emacs, but I think if it is
a generic problem with emacs it is probably well known, maybe the 
archives contain some discussion about this issue.


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