[mod_python] Solaris 10 Build system problems

Edd Barrett vext01 at gmail.com
Fri Aug 15 09:35:20 EDT 2008


Hi,

I have been asked to install mod_python on our solaris servers. I have
been unable up until now:

* CC=gcc seems to be ignored, I have had to symbolically link gcc to cc
  to get the compiler to invoke.

* Even then you get some warnings:
  cc: unrecognized option `-KPIC'
  cc: language ildoff not recognized
  cc: finfoobject.c: linker input file unused because linking not done

  Is it assuming sunstudio compiler?

* awk syntax errors are prodiced duting configure. The gawk
  implementation found on most linux systems is not the same as the rest
  of the UNIX world. If I install gawk, the errors go away, but this can
  probably be made to work using the systam awk.

* Even after resolving (temproarily) these issues I am faced with a
  failure:
  /opt/csw/apache2/share/build/libtool --silent --mode=link cc -o mod_python.la  -rpath /opt/csw/apache2/libexec -module -avoid-version    finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -L/usr/lib/python2.4/config -lm -lpython2.4 -lsocket -lnsl -ldl -lm _eprintf.o _floatdidf.o _muldi3.o

  *** Warning: Linking the shared library mod_python.la against the non-libtool
  *** objects  _eprintf.o _floatdidf.o _muldi3.o is not portable!
  ld: fatal: file .libs/finfoobject.o: open failed: No such file or directory
  apxs:Error: Command failed with rc=65536
  .
  gmake[1]: *** [mod_python.so] Error 1
  gmake[1]: Leaving directory `/opt/mod_python_wrk/mod_python-3.3.1/src'
  gmake: *** [do_dso] Error 2

Here is my environment setup:

# uname -a
SunOS xxx 5.11 snv_90 i86pc i386 i86pc

# /opt/csw/apache2/sbin/httpd -version
Server version: Apache/2.2.6 (Unix)
Server built:   Oct 23 2007 16:48:02

-- 

Best Regards
Edd

http://students.dec.bmth.ac.uk/ebarrett


More information about the Mod_python mailing list