Thank you for reply. I checked for older libraries in my system, but didn't find any. I was thinking maybe Makefile.PL script doesn't recognise my libraries and assumes I have mod_perl 1.x and Apache 1.x?
Any more ideas? Regards, Renno On Wed, Jan 5, 2011 at 9:36 PM, Jose Fonseca <zefons...@gmail.com> wrote: > Hi, I am almost sure Apache/src.pm is no longer a part of mod_perl 2.0, it > was part of mod_perl 1.x - you probably have mixed libraries on your system. > > http://www.mail-archive.com/embperl@perl.apache.org/msg05223.html > > http://www.linuxquestions.org/questions/linux-server-73/cannot-find-apache-src-pm-492548/ > > Regards, > Ze > > > On Wed, Jan 5, 2011 at 5:12 PM, Renno Reinurm <rrein...@gmail.com> wrote: > >> >> >> Hi, >> >> >> >> I’m trying to build embperl for Redhat Enterprise Linux 6 64bit >> >> Apache version: Apache/2.2.15 (Unix) >> >> Perl version: 5.10 >> >> Linux: osvers=2.6.18-194.8.1.el5, archname=x86_64-linux-thread-multi >> >> mod_perl version: 2.0.4 >> >> >> >> Currently it fails building the Makefile: >> >> >> >> #perl Makefile.PL /usr/include/httpd >> >> Will use /usr/include/httpd for Apache Headers >> >> Enter path and file to start as httpd >> [/usr/include/httpd/httpd]/usr/sbin/httpd >> >> Apache Version Server version: Apache/2.2.15 (Unix) >> >> Library for mod_actions.c not found, please enter path to mod_actions.so >> []/usr/lib64/httpd/modules >> >> + Load dynamic module mod_actions.c >> >> (/usr/lib64/httpd/modules/mod_actions.so) >> >> + Load dynamic module mod_cgi.c >> >> (/usr/lib64/httpd/modules/mod_cgi.so) >> >> + Load dynamic module mod_alias.c >> >> (/usr/lib64/httpd/modules/mod_alias.so) >> >> + Load dynamic module mod_env.c >> >> (/usr/lib64/httpd/modules/mod_env.so) >> >> + Load dynamic module mod_perl.c >> >> (/usr/lib64/httpd/modules/mod_perl.so) >> >> + Load dynamic module mod_mime.c >> >> (/usr/lib64/httpd/modules/mod_mime.so) >> >> + Load dynamic module mod_dir.c >> >> (/usr/lib64/httpd/modules/mod_dir.so) >> >> + mod_perl was build with USE_DSO >> >> Can't locate Apache/src.pm in @INC (@INC contains: /usr/local/lib64/perl5 >> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl >> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at >> Makefile.PL line 1019, <STDIN> line 2. >> >> >> >> Does anyone know how to fix it? >> >> >> >> Regards, >> >> Renno Reinurm >> >> >