Hi Perl folks, I'm trying to build mod_perl 1.31 / Apache 1.41 on CentOS 6.2, and I'm getting badly stuck.
I started with the instructions here: http://perl.apache.org/docs/1.0/guide/getwet.html perl Makefile.PL APACHE_SRC=../apache_1.3.41/src \ APACHE_PREFIX=/www/perl/htdocs DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 Will configure via APACI cp apaci/Makefile.libdir ../apache_1.3.41/src/modules/perl/Makefile.libdir cp apaci/Makefile.tmpl ../apache_1.3.41/src/modules/perl/Makefile.tmpl cp apaci/README ../apache_1.3.41/src/modules/perl/README cp apaci/apxs_cflags ../apache_1.3.41/src/modules/perl/apxs_cflags cp apaci/configure ../apache_1.3.41/src/modules/perl/configure cp apaci/find_source ../apache_1.3.41/src/modules/perl/find_source cp apaci/libperl.module ../apache_1.3.41/src/modules/perl/libperl.module cp apaci/load_modules.pl ../apache_1.3.41/src/modules/perl/load_modules.pl cp apaci/mod_perl.config.sh ../apache_1.3.41/src/modules/perl/ mod_perl.config.sh cp apaci/mod_perl.exp ../apache_1.3.41/src/modules/perl/mod_perl.exp cp apaci/perl_config ../apache_1.3.41/src/modules/perl/perl_config PerlDispatchHandler.........enabled PerlChildInitHandler........enabled PerlChildExitHandler........enabled PerlPostReadRequestHandler..enabled PerlTransHandler............enabled PerlHeaderParserHandler.....enabled PerlAccessHandler...........enabled PerlAuthenHandler...........enabled PerlAuthzHandler............enabled PerlTypeHandler.............enabled PerlFixupHandler............enabled PerlHandler.................enabled PerlLogHandler..............enabled PerlInitHandler.............enabled PerlCleanupHandler..........enabled PerlRestartHandler..........enabled PerlStackedHandlers.........enabled PerlMethodHandlers..........enabled PerlDirectiveHandlers.......enabled PerlTableApi................enabled PerlLogApi..................enabled PerlUriApi..................enabled PerlUtilApi.................enabled PerlFileApi.................enabled PerlConnectionApi...........enabled PerlServerApi...............enabled PerlSections................enabled PerlSSI.....................enabled Will run tests as User: 'nobody' Group: 'root' (cd ../apache_1.3.41 && CC="gcc" CFLAGS=" -D_REENTRANT -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure --activate-module=src/modules/perl/libperl.a --disable-rule=EXPAT --prefix=/www/perl/htdocs) Configuring for Apache, Version 1.3.41 + using installation path layout: Apache (config.layout) + activated perl module (modules/perl/libperl.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C pre-processor to gcc -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + adding selected modules o perl_module uses ConfigStart/End + mod_perl build type: OBJ + setting up mod_perl build environment + id: mod_perl/1.31 + id: Perl/v5.10.1 (linux) [/usr/bin/perl] Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/src/mod_perl-1.31/lib/Apache/ExtUtils.pm line 26. BEGIN failed--compilation aborted at ./modules/perl/perl_config line 6. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/src/mod_perl-1.31/lib /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .). BEGIN failed--compilation aborted. + adjusting Apache build environment + enabling Perl support for SSI (mod_include) + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/modules/standard Creating Makefile in src/modules/perl Checking CGI.pm VERSION..........ok Checking for LWP::UserAgent......ok Checking for HTML::HeadParser....ok Writing Makefile for Apache Writing Makefile for Apache::Connection Writing Makefile for Apache::Constants Writing Makefile for Apache::File Writing Makefile for Apache::Leak Writing Makefile for Apache::Log Writing Makefile for Apache::ModuleConfig Writing Makefile for Apache::PerlRunXS Writing Makefile for Apache::Server Writing Makefile for Apache::Symbol Writing Makefile for Apache::Table Writing Makefile for Apache::URI Writing Makefile for Apache::Util Writing Makefile for mod_perl Aha! I think, I'll just launch CPAN.pm and install ExtUtils::Embed. cpan[1]> install ExtUtils::Embed Reading '/root/.cpan/Metadata' Database was generated on Mon, 14 May 2012 20:23:03 GMT Running install for module 'ExtUtils::Embed' The most recent version "1.30" of the module "ExtUtils::Embed" is part of the perl-5.15.4 distribution. To install that, you need to run force install ExtUtils::Embed --or-- install F/FL/FLORA/perl-5.15.4.tar.gz Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: FLORA/perl-5.15.4.tar.gz : make NO isa perl Huh? I need to install Perl 5.15? That seems really odd. I'm currently running Perl v5.10.1. Help? What's going wrong? Thanks, Chris