[mod_python] build error on solais

Daniel Rubin dlrubin at yahoo.com
Wed Aug 6 09:12:10 EST 2003


Trying to build mod_python 3.0.3 on solaris 2.8. My
configure command is: ./configure
--with-apxs=/home/rubin/opt/apache/bin/apxs
--prefix=/home/rubin
and that runs fine. Then when I make, I get this error
during the build:

/home/rubin/opt/apache/build/libtool --silent
--mode=compile gcc -prefer-pic 
-DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2
-pthreads -I/home/rubin/opt/apache/include 
-I/home/rubin/opt/apache/include  
-I/home/rubin/opt/apache/include 
-I/home/rubin/src/mod_python-3.0.3/src/include
-I/home/rubin/opt/apache/include
-I/home/rubin/include/python2.3  -c -o
requestobject.lo requestobject.c && touch
requestobject.slo
In file included from
/home/rubin/include/python2.3/Python.h:8,
                 from
/home/rubin/src/mod_python-3.0.3/src/include/mod_python.h:92,
                 from requestobject.c:64:
/home/rubin/include/python2.3/pyconfig.h:822:1:
warning: "_FILE_OFFSET_BITS" redefined
In file included from
/home/rubin/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/include/sys/types.h:28,
                 from
/home/rubin/opt/apache/include/apr.h:149,
                 from
/home/rubin/opt/apache/include/ap_config.h:58,
                 from
/home/rubin/opt/apache/include/httpd.h:72,
                 from
/home/rubin/src/mod_python-3.0.3/src/include/mod_python.h:71,
                 from requestobject.c:64:
/usr/include/sys/feature_tests.h:96:1: warning: this
is the location of the previous definition
requestobject.c: In function `getreq_recmbr_off':
requestobject.c:1055: `LONG_LONG' undeclared (first
use in this function)
requestobject.c:1055: (Each undeclared identifier is
reported only once
requestobject.c:1055: for each function it appears
in.)
requestobject.c:1056: parse error before "l"
requestobject.c:1057: `l' undeclared (first use in
this function)
requestobject.c: At top level:
requestobject.c:1270: warning: initialization from
incompatible pointer type
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory
`/home/rubin/src/mod_python-3.0.3/src'
make: *** [do_dso] Error 2


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the Mod_python mailing list