httpdapy compile help

Robert Bill rbill at ns.datasprings.com
Fri Mar 24 21:41:12 CET 2000


Thank you in advance for anyone who can help.

In trying to use httpdapy I have been unable to get it to compile properly.

Platform linux 2.1.12 i686 (redhat 6.1)
python 1.5.2

The error is ...
<ERROR>
  gcc  -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci`  
  -rdynamic \
    	-o httpd buildmark.o modules.o modules/standard/libstandard.a
	modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a
	regex/libregex.a lib/expat-lite/libexpat.a  -lm -lcrypt -lndbm -ldl
  modules/extra/libextra.a(mod_python.o): In function `make_pblockobject':
  mod_python.o(.text+0x1c): undefined reference to `PyErr_NoMemory'

  <snip>---all other python types here- removed for brevity --</snip>

  mod_python.o(.text+0x2c96): undefined reference to `PyEval_ReleaseLock'
  mod_python.o(.text+0x2cd6): undefined reference to `PyString_Type'
  modules/extra/libextra.a(mod_python.o)(.rodata+0x798): undefined reference to
  `PyType_Type'
  modules/extra/libextra.a(mod_python.o)(.rodata+0x80c): undefined reference to
  `PyType_Type'
  modules/extra/libextra.a(mod_python.o)(.rodata+0x880): undefined reference to
  `PyType_Type'
  collect2: ld returned 1 exit status
  make[2]: *** [target_static] Error 1
  make[2]: Leaving directory `/usr/src/apache_1.3.12/src'
  make[1]: *** [build-std] Error 2
  make[1]: Leaving directory `/usr/src/apache_1.3.12'
  make: *** [build] Error 2
</ERROR>

Any ideas??

Thank you.

Robert




More information about the Python-list mailing list