I'm still trying to figure out how to build mod_perl on an AMD x86_64 system. It's running gcc 4.1.1 on Red Hat 4.1.1-52. Perl 5.8.8 + Apache + mod_perl is already installed, but I wanted to try and build everything with 5.10 because I've read that the RedHat Perl binaries are sometimes very slow, and I want to check out some of the Perl 5.10 features on a new server.
I'm building Perl with these options: Configure -de -Dprefix=/usr/local -Accflags="-fPIC" Perl builds, tests, and seems to run fine. When I make mod_perl, I get this error: /usr/bin/ld: /usr/local/lib/perl5/5.10.0/x86_64-linux/CORE/libperl.a(gv.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.10.0/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value collect2: ld returned 1 exit status If I'm building Perl explicity with -fPIC, why does mod_perl think I'm not? I suppose I can live with 5.8.8, but there should be a way to build this. Dan