Gregory (Grisha) Trubetskoy
grisha at modpython.org
Thu Jan 9 09:43:09 EST 2003
I think this is because your Python is too old. According to this: http://www.modpython.org/live/mod_python-3.0.1/doc-html/inst-prerequisites.html it has to be 2.2.1 or later. Grisha On Thu, 9 Jan 2003, Connie Baggs wrote: > Hi > Ive just compiled and installed apache 2.0.43 (apache2) and have > previously installed python 2.1.1 I am now trying to install the > mod_python module. The ./configure goes fine with the command > #./configure √with-apxs=/usr/local/apache2/bin/apxs > -with-python=/usr/freeware/bin/python2 > > However when I issue the make command it fails with the following error > > > /usr/local/apache2/build/libtool --silent --mode=compile gcc > -DAP_HAVE_DESIGNATED_INITIALIZER -D_POSIX_THREAD_SAFE_FUNCTIONS -g -O2 > -I/usr/local/apache2/include > -I/install/httpd-2.0.43/modules/mod_python-3.0.1/src/include > -I/usr/local/apache2/include -I/usr/freeware/include/python2.1 -c -o > mod_python.lo mod_python.c && touch mod_python.slo > In file included from > /install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/mod_python.h: > 115, > from mod_python.c:67: > /install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/util.h:76: > parse error before '*' token > /install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/util.h:76: > parse error before '*' token > /install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/util.h:76: > warning: data definition has no type or storage class > apxs:Error: Command failed with rc=65536 > . > *** Error code 1 (bu21) > *** Error code 1 (bu21) > > > > Any ideas on what is wrong? > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|