Re: Can't install Apache::Request on Linux

2001-11-13 Thread Joe Schaefer

Jonathan Bennett [EMAIL PROTECTED] writes:

 Request.xs:40 mod_perl.h: No such file or directory
 
 just after attempting to compile Request.c

libapreq expects to find it using Apache::src-new-inc :

  % perl -MApache::src -wle 'print grep {s/^-I//; -f $_ . /mod_perl.h}
 split / /, Apache::src-new-inc'
  /usr/lib/perl5/site_perl/.../auto/Apache/include/modules/perl

 mod_perl.h is present in
 /usr/local/apache/src/modules/perl/
 
 Where do I need to stick the option to make the makefile include the 
 correct paths?
 

You might try tinkering with the INC and LIB settings in 
Request/Makefile.PL.


-- 
Joe Schaefer




Can't install Apache::Request on Linux

2001-11-12 Thread Jonathan Bennett

I suspect all this is is a path problem, but I'm not sure where to stuff 
the appropriate line

With:

Linux 2.2.17 on x86
Apache 1.3.19
Perl 5.6.1
mod_perl 1.26

I can't install Apache::Request using either CPAN.pm or manually. Both give 
the error:

Request.xs:40 mod_perl.h: No such file or directory

just after attempting to compile Request.c

mod_perl.h is present in
/usr/local/apache/src/modules/perl/

Where do I need to stick the option to make the makefile include the 
correct paths?

Thanks in advance.