httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Higgins <>
Subject Re: Installing libapreq on OSX10.3.6
Date Sun, 05 Dec 2004 23:50:47 GMT
OK, I reinstalled apache+mod-perl with the same results.

I also realized that my @INC paths are correct.

My httpd.h and other apache headers can be found:

So I noticed that in the error output during the make it
was looking for all those header files. I looked at apache-request.h
and found that there was a series of #includes "httpd.h" like  
It not looking in the right place for the header files. So in a  
attempt I changed those paths to point to the path above.

That along with moving a couple os.h files into that path
the I did this:

cc -c   
include/modules/perl -g -pipe -pipe -fno-common -DPERL_DARWIN  
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os    
{standard input}:unknown:FATAL:can't create output file:  
make[1]: *** [apache_request.o] Error 1
make: *** [subdirs] Error 2

kinda at a loss here.

I'll go for it some more tomorrow, but without some real epiphany
I am not sure how to proceed.

Thanks for all your attempts! I have learned a lot!! but not quite
enough : ) Not giving up yet...


On Dec 4, 2004, at 8:54 AM, Stas Bekman wrote:

> 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 in those directories.
>> 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 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
> 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
>     mod_perl Guide --->

View raw message