httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Higgins <pat...@cybermesa.com>
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:
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/include/ 
include

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  
statements.
It not looking in the right place for the header files. So in a  
desperate
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:

 >make
cc -c   
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/ 
include  
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/ 
include/modules/perl -g -pipe -pipe -fno-common -DPERL_DARWIN  
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os    
-DVERSION=\"\" -DXS_VERSION=\"\"   
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"    
apache_request.c
{standard input}:unknown:FATAL:can't create output file:  
apache_request.o
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...

Patrick


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 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