On Tuesday 26 August 2008 7:14:35 am you wrote: > I had something that sounds the same. Setting CCFLAGS didnt > work, but > > sh ./Configure -de -Accflags='-fPIC' (etc) > > did give a libperl that worked on AMD x86_64. With 5.10 though. >
OK, I tried this: sh ./Configure -de -Accflags='-fPIC' -Dprefix=/usr/local \ -Dloclibpth="/usr/lib64" one peculiarity of my make, gnu make 3.81, is I have to edit the makefile to comment out all the lines like: av$(OBJ_EXT): <command-line> or it won't work. So make works, make test works, but gives various warnings like: makefile:612: target `lib/auto/Encode/Byte/Byte.a' given more than once in the same rule. makefile:612: target `lib/auto/Encode/CN/CN.a' given more than once in the same rule. After installing, if I try and run a CGI script with /usr/local/bin/perl, from the command line, I get: Attempt to free unreferenced scalar: SV 0xda2bf0 at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Template.pm line 916. Weak references are not implemented in the version of perl at /usr/local/lib/perl5/site_perl/5.8.8/CGI/FormBuilder.pm line 15 This script ran yesterday with the Perl 5.8.8 I had build all the modules with. Trying to run perl -MCPAN also seg faults. What gives? -fPIC seems to make the interpreter useless, but I can't build mod_perl without it. Dan