You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Corey Holzer <ba...@hotmail.com> on 2002/03/05 03:55:12 UTC

Problem installing Apache::Request

I got this email address from the README file in libapreq-1.0.tar.gz and I 
desperately need help to fix a problem that I am having when I try to 
install Apache::Request.

I have sucessfully installed all the mod_perl components, but, every time I 
try to install Apache::Request I get the following error:

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

And the Module will not install.  Any help that you may provide would be 
greatly appreciated.  If you are not the correct person to contact can you 
let me know who I would need to speak with to get this resolved.  Thanks.


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


Re: Problem installing Apache::Request

Posted by Stas Bekman <st...@stason.org>.
Corey Holzer wrote:
> 
> I got this email address from the README file in libapreq-1.0.tar.gz and 
> I desperately need help to fix a problem that I am having when I try to 
> install Apache::Request.
> 
> I have sucessfully installed all the mod_perl components, but, every 
> time I try to install Apache::Request I get the following error:
> 
> 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: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
> 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

Reading docs usually helps:

% more INSTALL

----------
To install the Perl and C libraries, simply run:

  perl Makefile.PL && make install

The libapreq.a and header files will be installed in the Perl
architecture dependent library.  See the Apache::libapreq module for
routines that can be called by your application Makefile to find the
include and linker arguments.

To build libapreq without the Makefile.PL, run:

  ./configure [--with-apache-includes=DIR] && make
----------

so did you try:
./configure --with-apache-includes=/wherever/your/apache/include/dir is
make

I apologize if you did read the doc ;). In that case you should have 
told us what have you done and not just post the errors without any context.

> And the Module will not install.  Any help that you may provide would be 
> greatly appreciated.  If you are not the correct person to contact can 
> you let me know who I would need to speak with to get this resolved.  
> Thanks.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/