[mod_python] Building on solaris with gcc

Marc Boorshtein mboorshtein at gmail.com
Tue Jan 23 00:21:04 EST 2007


Hello,

I'm trying to build mod_python on solaris 8 with gcc.  I was able to
build mod_perl with gcc, so this should work and I'm sure I'm missing
something.  Configure succeeds, but make gives me the following
errors:

bash-2.03$ make
make[1]: Entering directory `/clocal/users/users/mlb/mod_python-3.2.10/src'
ar -x `gcc -print-libgcc-file-name` _eprintf.o
ar -x `gcc -print-libgcc-file-name` _floatdidf.o
ar -x `gcc -print-libgcc-file-name` _muldi3.o

Compiling for DSO.

/clocal/users/users/mlb/ihs-6.1/bin/apxs
-I/clocal/users/users/mlb/mod_python-3.2.10/src/include
-I/clocal/users/users/mlb/ihs-6.1/include
-I/global/site/vendor/cci/python/include/python2.5 -c mod_python.c
_apachemodule.c requestobject.c tableobject.c util.c serverobject.c
connobject.c filterobject.c hlist.c hlistobject.c -lgcc    -lm
/global/site/vendor/cci/python/lib/python2.5/config/libpython2.5.a
_eprintf.o _floatdidf.o _muldi3.o
/clocal/users/users/mlb/ihs-6.1/build/libtool --silent --mode=compile
cc -prefer-pic   -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-g -I/clocal/users/users/mlb/ihs-6.1/include
-I/clocal/users/users/mlb/ihs-6.1/include
-I/clocal/users/users/mlb/ihs-6.1/include
-I/clocal/users/users/mlb/mod_python-3.2.10/src/include
-I/clocal/users/users/mlb/ihs-6.1/include
-I/global/site/vendor/cci/python/include/python2.5  -c -o
mod_python.lo mod_python.c && touch mod_python.slo
/clocal/users/users/mlb/ihs-6.1/build/libtool: cc: not found
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory `/clocal/users/users/mlb/mod_python-3.2.10/src'
make: *** [do_dso] Error 2

I'm sure I've missed something.  I set CC=gcc.  Any help would be
greatly appreciated.

Thanks

Marc


More information about the Mod_python mailing list