[mod_python] mod_python make fails on solaris 10.

Suryanarayana Murthy murthy.jayanthi at gmail.com
Wed Feb 28 08:46:22 EST 2007


I have Apache 2.0.58 installed on my solaris server.

I downloaded mod_python 3.3.1 and executed configure with the following

./configure –with-apxs=/usr/apache2/bin/apxs
–with-python=/usr/sfw/bin/python2.3 –with-flex

configure scripts executes succesfully.

Later... when i run make I get the following error messages

bash-3.00# make

Compiling for DSO.

/usr/apache2/bin/apxs -I/export/home/binaries/mod_python-3.3.1/src/include
-I/usr/apache2/include -I/usr/sfw/include/python2.3 -c mod_python.c
_apachemodule.c requestobject.c tableobject.c util.c  serverobject.c
connobject.c filterobject.c hlist.c  hlistobject.c
finfoobject.c-L/usr/sfw/lib/python2.3/config     -z ignore -lm  -
lpython2.3   -lresolv -lsocket -lnsl -lrt -ldl    -lm _eprintf.o
_floatdidf.o _muldi3.o

/var/apache2/build/libtool --silent --mode=compile /opt/SUNWspro/bin/cc
-prefer-pic -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff
-I/usr/apache2/include  -I/usr/apache2/include   -I/usr/apache2/include
-I/export/home/binaries/mod_python-3.3.1/src/include -I/usr/apache2/include
-I/usr/sfw/include/python2.3  -c -o mod_python.lo mod_python.c && touch

/var/apache2/build/libtool: line 1279: /opt/SUNWspro/bin/cc: No such file or

apxs:Error: Command failed with rc=65536


*** Error code 1

make: Fatal error: Command failed for target `mod_python.so'

Current working directory /export/home/binaries/mod_python-3.3.1/src

*** Error code 1

The following command caused the error:

cd src && make

make: Fatal error: Command failed for target `do_dso'

gcc is installed in /usr/sfw/bin and I have passed that information in the
CC environment flags

I Request help in getting this issues resolved.

Thanks 'n Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070228/449c3be6/attachment.html

More information about the Mod_python mailing list