Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

David E. Wheeler

2010-02-25

Replies: Find Java Web Hosting

Author LoginPost Reply
On Feb 24, 2010, at 11:31 AM, David E. Wheeler wrote:

>> export CFLAGS='-m64 -mtune=nocona'; export LDFLAGS='-L/usr/lib64'
>> ./Configure -des -A ccflags=-fPIC -Dprefix=/opt/perl
>> -Dinstallprefix=/opt/perl
>
> Is that for Perl or for mod_perl? Looks like Perl.

seems to have worked by rebuilding Perl with:

  CFLAGS='-m64 -mtune=nocona' ./Configure -des -A ccflags=-fPIC

Should this perhaps be documented somewhere?

I did get a couple of test failures though:

t/hooks/authen_basic.t ..................
1..4
# Running under perl version 5.010001 for linux
# Current time local: Thu Feb 25 16:50:03 2010
# Current time GMT:  Thu Feb 25 21:50:03 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
not ok 4
# Failed test 4 in t/hooks/authen_basic.t at line 26
Failed 1/4 subtests
...
t/hooks/authz.t .........................
1..4
# Running under perl version 5.010001 for linux
# Current time local: Thu Feb 25 16:50:04 2010
# Current time GMT:  Thu Feb 25 21:50:04 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
not ok 4
# Failed test 4 in t/hooks/authz.t at line 19
Failed 1/4 subtests

Error log attached.

Thanks,

David


Attachment: error_log.gz (zipped)


©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.