Marc Tardif wrote:
I am trying to compile mod_perl-2.0.2 with httpd-2.0.55. These are the compilation options I used for mod_perl:
What OS and perl -V ?


  # perl Makefile.PL MP_APXS=/path/to/bin/apxs
Good

  Syntax error on line 235 of /path/to/etc/apache/httpd.conf:
  Cannot load /path/to/modules/mod_perl.so into server:
    /path/to/modules/mod_perl.so: undefined symbol: perl_get_cv
EWWW


Of course, line 235 of httpd.conf loads the mod_perl module:

  LoadModule perl_module        modules/mod_perl.so
Good

  # ldd /path/to/modules/mod_perl.so
libperl.so => /path/to/lib/perl5/5.6.1/i686-linux/CORE/libperl.so (0x002e8000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00e89000)
        libdl.so.2 => /lib/libdl.so.2 (0x00413000)
        libm.so.6 => /lib/i686/libm.so.6 (0x00888000)
        libc.so.6 => /lib/i686/libc.so.6 (0x00654000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00f68000)
        libutil.so.1 => /lib/libutil.so.1 (0x00111000)
        /lib/ld-linux.so.2 (0x00a1e000)
Oooh 5.6.1....
http://perl.apache.org/docs/2.0/user/install/install.html#Prerequisites

Make sure your mpm, perl threads, and apr threads are correct in a useable combination.


And then, when I run nm on libperl.so, I get the following symbol:

  # nm /path/to/lib/perl5/5.6.1/i686-linux/CORE/libperl.so \
    | grep -i perl_get_cv
  0001cbe4 T Perl_get_cv
In perl 5.6.2 source:
gerp -i perl_get_cv *
embed.pl:#  define  Perl_get_cv                 perl_get_cv

in mp2, this function is never called regardless of case.

EVERYTHING=1 argument when configuring mod_perl. I have tried adding this argument but to no avail. Can anyone propose another solution?
This is an mp1 Makefile.PL argument and will do nothing in mod_perl 2.


--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
       http://www.liquidation.com
       http://www.uksurplus.com
       http://www.govliquidation.com
       http://www.gowholesale.com

Reply via email to