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

Reply via email to