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 Fri, 03 Dec 2004 15:16:09 GMT
Patrick Higgins wrote:
> Hi,
> 
> I am new to the list and am seeking help with installing libapreq-1.3
> under 10.3.6. I appologize in advance if this is not the right forum
> to ask this question.
> 
> I am attempting to set up Mason w/ mod-perl on OSX
> Panther. I am having trouble installing this last module. I
> am getting errors during the make. This is what I have tried:
> 
> ./configure --with-apache-includes=/usr/local/apache/include/
> make
> sudo make install
> 
> This seems to work ok. Then I attempted to install libapreq-1.3
> module by doing:
> 
> perl Makefile.PL  -apxs /usr/local/apache/apxs
> make
> 
> this is when it chokes:
> 
> 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
> In file included from apache_request.c:61:
> apache_request.h:5:19: httpd.h: No such file or directory
> apache_request.h:6:25: http_config.h: No such file or directory
> apache_request.h:7:23: http_core.h: No such file or directory
> apache_request.h:8:22: http_log.h: No such file or directory
> apache_request.h:9:23: http_main.h: No such file or directory
> apache_request.h:10:27: http_protocol.h: No such file or directory
> apache_request.h:11:25: util_script.h: No such file or directory
> In file included from apache_request.c:61:
> apache_request.h:38: error: parse error before "table"
> apache_request.h:38: warning: no semicolon at end of struct or union
> apache_request.h:47: error: parse error before '*' token

As you can see the build doesn't include -I/usr/local/apache/include

which was supposed to be added by:

/usr/local/apache/apxs -q INCLUDEDIR

> It appears to not be finding the httpd files. But I can see them in the  
> dir
> /usr/local/apache/include
> Not sure what to do... Kinda stuck. I'd appreciate any leads.


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