httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Installing libapreq on OSX10.3.6
Date Sat, 04 Dec 2004 15:54:45 GMT
Patrick Higgins wrote:
>  >perl -V results:
> 
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level
>>> /System/Library/Perl/5.8.1
>>> /Library/Perl/5.8.1/darwin-thread-multi-2level
>>> /Library/Perl/5.8.1
>>> /Library/Perl
>>> /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
>>> /Network/Library/Perl/5.8.1
>>> /Network/Library/Perl
>>> .
> 
> 
>> see if you have httpd.conf and mod_perl.pm in those directories.
> 
> 
> mod_perl.pm is in:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level
> 
> /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
> is an invalid path.
> 
> I have another mod_perl.pm in:
> /Library/Perl/5.8.1/darwin-thread-multi-2level
> 
> The httpd.conf is in:
> /usr/local/apache/conf
> 
> Is httpd.conf also supposed to be in the @INC dirs?
> Also looks to me like the second path needs to be
> altered. How do I do that? or do you see a mod-perl
> reinstall in my future  : )

Yes, httpd.conf and other Apache headers are installed by modperl into @INC.

For example I have httpd.h and other Apache headers in:
/home/stas/perl/5.6.1/lib/site_perl/5.6.1/i686-linux-perlio/auto/Apache/include/include/

and my @INC for that perl is:
/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio
/home/stas/perl/5.6.1/lib/5.6.1
/home/stas/perl/5.6.1/lib/site_perl/5.6.1/i686-linux-perlio
/home/stas/perl/5.6.1/lib/site_perl/5.6.1
/home/stas/perl/5.6.1/lib/site_perl
.
So I'd suggest to go and clean all your perl paths from old modperl 
installs (as you have at least 2)

foreach @INC
   find $path | xargs rm -rf Apache
   find $path | xargs rm -rf mod_perl.pm

which will do more or less the work. the install the new modperl and not 
the 'make install' log where it'll report where it installs the apache 
headers (save it to a file and grep for httpd.h).

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message