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

2010-03-10 Thread David E. Wheeler
On Feb 25, 2010, at 3:30 PM, Fred Moyer wrote: > On Thu, Feb 25, 2010 at 3:11 PM, David E. Wheeler > wrote: >> On Feb 25, 2010, at 3:03 PM, Fred Moyer wrote: >> >>> Absolute - maybe in the INSTALL file? You have commit access right? >> >> Only to documentation IIRC. I got it just about the ti

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

2010-02-25 Thread Fred Moyer
On Thu, Feb 25, 2010 at 3:11 PM, David E. Wheeler wrote: > On Feb 25, 2010, at 3:03 PM, Fred Moyer wrote: > >> Absolute - maybe in the INSTALL file?  You have commit access right? > > Only to documentation IIRC. I got it just about the time I stopped writing > docs. ;-) I'd suggest either of the

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

2010-02-25 Thread David E. Wheeler
On Feb 25, 2010, at 3:03 PM, Fred Moyer wrote: > Absolute - maybe in the INSTALL file? You have commit access right? Only to documentation IIRC. I got it just about the time I stopped writing docs. ;-) Best, David

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

2010-02-25 Thread Fred Moyer
On Thu, Feb 25, 2010 at 1:55 PM, David E. Wheeler wrote: > 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

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

2010-02-25 Thread David E. Wheeler
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 rebuildin

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

2010-02-24 Thread David E. Wheeler
On Feb 24, 2010, at 10:19 AM, Serge Ivanchenko wrote: > Try this: > > 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. Best, David

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

2010-02-24 Thread David E. Wheeler
On Feb 24, 2010, at 12:07 AM, Fred Moyer wrote: > Haven't tried with 5.10.1, but here's my 5.8.8/2.0.4/2.2.8 settings: > > perl -V | grep -i fpic >cc='cc', ccflags ='-fPIC -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', >cppflags='-fPIC -I/usr/include/gdbm' >cccdlfl

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

2010-02-24 Thread Fred Moyer
On Tue, Feb 23, 2010 at 10:53 PM, David E. Wheeler wrote: > Fellow mod_perlers, > > I found myself getting this error with mod_perl 2 on 64 bit CentOS this > evening: > > bash-3.2# make test > cd "src/modules/perl" && make > make[1]: Entering directory `/home/dwheeler/mod_perl-2.0.4/src/modules/p

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

2010-02-23 Thread David E . Wheeler
Fellow mod_perlers, I found myself getting this error with mod_perl 2 on 64 bit CentOS this evening: bash-3.2# make test cd "src/modules/perl" && make make[1]: Entering directory `/home/dwheeler/mod_perl-2.0.4/src/modules/perl' rm -f mod_perl.so cc -shared -O2 -L/usr/local/lib -fstack-protector \