FINKEL, PAUL D, ATTSI
finkel at att.com
Wed Oct 8 08:51:00 EDT 2008
Thanks I am conferring on this matter with a colleague -----Original Message----- From: Graham Dumpleton [mailto:graham.dumpleton at gmail.com] Sent: Tuesday, October 07, 2008 8:18 PM To: FINKEL, PAUL D, ATTSI Cc: mod_python at modpython.org Subject: Re: [mod_python] Compling error: 2008/10/8 FINKEL, PAUL D, ATTSI <finkel at att.com>: > > Hello - attempting to compile mod_python on Solaris 10 and get this > series of errors at the end of the make: > > ********************************************************************** > ** > ***************** > > ld: fatal: relocations remain against allocatable but non-writable > sections > collect2: ld returned 1 exit status > apxs:Error: Command failed with rc=65536 . > *** Error code 1 > make: Fatal error: Command failed for target `mod_python.so' > Current working directory /users/ghochberg/pkgs/mod_python-3.3.1/src > *** Error code 1 > make: Fatal error: Command failed for target `do_dso' > > ********************************************************************** > ** > ***************** > > I've tried a number of things including installing the GNU binutils > tools and modifying PATH to find these files. I get the same results. > > The configure command line: > > ./configure --with-shared --with-python=/usr/local/bin/python2.5 > --prefix=$PkgDir --with-apxs=/usr/local/apache2/bin/apxs Add -mimpure-text to existing options in LDFLAGS in src/Makefile after having run configure. Different Apache module, but mentioned in mod_wsgi documentation at: http://code.google.com/p/modwsgi/wiki/InstallationOnSolaris Graham
|