Hi, I'm having trouble installing mod_perl-2.0.7 and for the life of me I can't get it to work. I have had no problems installing other modules.
>From the source directory /usr/local/src, unpack the mod_perl-2.0.7 source, enter the directory and run the following perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs then "make" then "make test", which is where I am getting the error below. Some kind of syntax error. Please help. /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-2.0.7/t -f /usr/local/src/mod_perl-2.0.7/t/conf/httpd.conf -D APACHE2 using Apache/2.2.22 (prefork MPM) waiting 120 seconds for server to start: .[Mon Sep 10 20:16:25 2012] [warn] module apreq_module is already loaded, skipping *httpd: Syntax error on line 22 of /usr/local/src/mod_perl-2.0.7/t/conf/httpd.conf: Cannot load /usr/local/src/mod_perl-2.0.7/src/modules/perl/mod_perl.so into server: dlopen(/usr/local/src/mod_perl-2.0.7/src/modules/perl/mod_perl.so, 10): Symbol not found: _modperl_handler_name\n Referenced from: /usr/local/src/mod_perl-2.0.7/src/modules/perl/mod_perl.so\n Expected in: dynamic lookup\n* ......................................................................................................................... waiting 120 seconds for server to start: not ok [ error] giving up after 121 secs. If you think that your system is slow or overloaded try again with a longer timeout value. by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT to a high value (e.g. 420) and repeat the last command. [ error] server failed to start! (t/logs/error_log wasn't created, start the server in the debug mode) +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ make: *** [run_tests] Error 1 Below is the bug report -------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** mod_perl version 2.000007 *** using /usr/local/src/mod_perl-2.0.7/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_APXS => /usr/local/apache2/bin/apxs MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** /usr/local/apache2/bin/httpd -V Server version: Apache/2.2.22 (Unix) Server built: Sep 10 2012 19:15:49 Server's Module Magic Number: 20051115:30 Server loaded: APR 1.4.2, APR-Util 1.3.10 Compiled using: APR 1.4.2, APR-Util 1.3.10 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" *** /usr/bin/otool -L /usr/local/apache2/bin/httpd /usr/local/apache2/bin/httpd: /usr/lib/libaprutil-1.0.dylib (compatibility version 4.0.0, current version 4.10.0) /usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libpq.5.dylib (compatibility version 5.0.0, current version 5.3.0) /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current version 9.6.0) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP (compatibility version 1.0.0, current version 2.2.0) /usr/lib/libapr-1.0.dylib (compatibility version 5.0.0, current version 5.2.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0) *** (apr|apu)-config linking info -L/usr/lib -laprutil-1 -lldap -llber -llber -lexpat -liconv -L/usr/lib -lpq -lsqlite3 -lldap -llber -llber -L/usr/lib -lapr-1 -lpthread *** /usr/local/bin/perl -V Summary of my perl5 (revision 5 version 16 subversion 1) configuration: Platform: osname=darwin, osvers=11.4.0, archname=darwin-2level uname='darwin faiths-macbook-pro.local 11.4.0 darwin kernel version 11.4.0: mon apr 9 19:32:15 pdt 2012; root:xnu-1699.26.8~1release_x86_64 x86_64 ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under darwin Compiled at Sep 10 2012 19:53:28 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/local/lib/perl5/site_perl/5.16.1/darwin-2level /usr/local/lib/perl5/site_perl/5.16.1 /usr/local/lib/perl5/5.16.1/darwin-2level /usr/local/lib/perl5/5.16.1 . *** Packages of interest status: Apache2 : - Apache2::Request : 2.12 CGI : 3.59 ExtUtils::MakeMaker: 6.63_02 LWP : 6.04 mod_perl : - mod_perl2 : 2.000007 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was generated by /usr/local/bin/mp2bug on Mon Sep 10 12:35:34 2012 GMT. -------------8<---------- End Bug Report --------------8<----------