Mailing List Archive

svn commit: r921489 - /perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod
Author: theory
Date: Wed Mar 10 17:59:14 2010
New Revision: 921489

URL: http://svn.apache.org/viewvc?rev=921489&view=rev
Log:
Instructions for configuring Perl on 64 bit Linux.

Modified:
perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod
URL: http://svn.apache.org/viewvc/perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod?rev=921489&r1=921488&r2=921489&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod Wed Mar 10 17:59:14 2010
@@ -49,6 +49,28 @@ C<-Dusethreads>. Remember that threads-s
on some platforms it's unstable (e.g., FreeBSD), so don't enable it
unless you really need it.

+=item 64 bit Linux
+
+If while running C<make test> while building mod_perl 2 you get an error like
+this:
+
+ /usr/bin/ld: /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a(op.o): \
+ relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared \
+ object; recompile with -fPIC
+ /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad \
+ value
+
+You're likely on 64 bit Linux and will need to build Perl for that platform.
+You can do so by running Perl's C<Configure> with the C<$CFLAGS> environment
+variable and the C<-A> and C<ccflags> options. So if you normally build Perl
+with:
+
+ % ./Configure -des
+
+You would instead configure with:
+
+ % CFLAGS='-m64 -mtune=nocona' ./Configure -des -A ccflags=-fPIC
+
=item Threaded MPMs

Require at least Perl version 5.8.0 with ithreads support



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org