You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Harry Zhu <ha...@GreatLodge.COM> on 2002/07/16 19:27:32 UTC

problem compiling modperl2.0

I am trying to create a test environment for modperl2.0/apache2/perl5.8
under RedHat7.3.
As root, I did the first step, download using the cvs to get the
modperl-2.0, httpd-2.0 and apr, apr-util (placed in httpd-2.0/srclib).
"make && make install" is fine.
I using rsync to get the Perl, and the 'make's are fine and linked to
/root/bleedperl/bin/perl. The install LWP under the new perl is also fine.
Now come to the modperl2.0:
root> /root/bleedperl/bin/perl Makefile.PL MP_AP_PREFIX=/root/httpd-2.0
Reading Makefile.PL args from @ARGV
   MP_AP_PREFIX = /root/httpd-2.0
Configuring Apache/2.0.40-dev mod_perl/1.99_05-dev Perl/v5.8.0
And a bunch of the following
!!! Unable to open /root/httpd-2.0/include/apr.h: No such file or directory


Please help!

Harry Zhu
GreatLodge.com




Re: problem compiling modperl2.0

Posted by Stas Bekman <st...@stason.org>.
Harry Zhu wrote:
> I am trying to create a test environment for modperl2.0/apache2/perl5.8
> under RedHat7.3.
> As root, I did the first step, download using the cvs to get the
> modperl-2.0, httpd-2.0 and apr, apr-util (placed in httpd-2.0/srclib).
> "make && make install" is fine.
> I using rsync to get the Perl, and the 'make's are fine and linked to
> /root/bleedperl/bin/perl. The install LWP under the new perl is also fine.
> Now come to the modperl2.0:
> root> /root/bleedperl/bin/perl Makefile.PL MP_AP_PREFIX=/root/httpd-2.0
> Reading Makefile.PL args from @ARGV
>    MP_AP_PREFIX = /root/httpd-2.0
> Configuring Apache/2.0.40-dev mod_perl/1.99_05-dev Perl/v5.8.0
> And a bunch of the following
> !!! Unable to open /root/httpd-2.0/include/apr.h: No such file or directory

Have you configured httpd-2.0 already? do that first before moving onto 
modperl


__________________________________________________________________
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