[Zope] Re: Zope digest, Vol 1 #341 - 58 msgs

Chris Baron chris@ninedots.com
Wed, 04 Aug 1999 01:06:26 -0700


Hi All,

I'm trying to build Zope 2b1 on a BSDI 3.1 system.  I get linker errors
when I try to build using the w_pcgi.py and wo_pcgi.py scripts (same
error).  It's obviously not finding something but I can't tell what it is
looking for.

TIA,

Chris Baron

Here is the output:



bash# python wo_pcgi.pyc

------------------------------------------------------------------------------
Compiling python modules

------------------------------------------------------------------------------
Building extension modules

------------------------------------------------
Compiling extensions in lib/python
cp /usr/local/lib/python1.5/config/Makefile.pre.in .
make -f Makefile.pre.in boot PYTHON=/usr/local/bin/python
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`/usr/local/bin/python -c "import sys; print sys.version[:3]"`;
installdir=`/usr/local/bin/python -c "import sys; print sye
sed -n  -e '1s/.*/1i\\/p'  -e '2s%.*%# Generated automatically from
Makefile.pre.in by sedscript.%p'  -e '/^VERSION=/s/^VERSION=[  t
echo "/^#@SET_CCC@/d" >>sedscript
echo "/^installdir=/s%=.*%=     /usr/local%" >>sedscript
echo "/^exec_installdir=/s%=.*%=/usr/local%" >>sedscript
echo "/^srcdir=/s%=.*%=         .%" >>sedscript
echo "/^VPATH=/s%=.*%=          .%" >>sedscript
echo "/^LINKPATH=/s%=.*%=       %" >>sedscript
echo "/^BASELIB=/s%=.*%=        %" >>sedscript
echo "/^BASESETUP=/s%=.*%=      %" >>sedscript
sed -f sedscript ./Makefile.pre.in >Makefile.pre
/usr/local/lib/python1.5/config/makesetup  -m Makefile.pre -c
/usr/local/lib/python1.5/config/config.c.in Setup -n  /usr/local/lib/p
make -f Makefile do-it-again
/usr/local/lib/python1.5/config/makesetup  -m Makefile.pre -c
/usr/local/lib/python1.5/config/config.c.in Setup -n  /usr/local/lib/p
make
gcc -D_HAVE_BSDI   -I../Components/ExtensionClass -g -O2
-I/usr/local/include/python1.5 -I/usr/local/include/python1.5 -DHAVE_CONFIc
ld  ExtensionClass.o  -o ExtensionClass.so
../Components/ExtensionClass/ExtensionClass.h:433: Undefined symbol
_PyImport_ImportModule referenced from text segment
../Components/ExtensionClass/ExtensionClass.h:435: Undefined symbol
_PyObject_GetAttrString referenced from text segment
../Components/ExtensionClass/ExtensionClass.h:437: Undefined symbol
_PyCObject_AsVoidPtr referenced from text segment
./../Components/ExtensionClass/ExtensionClass.c:125: Undefined symbol
_PyString_FromString referenced from text segment

... lots and lots of these removed...

*** Error code 1

Stop.
Traceback (innermost last):
  File "/usr/local/Zope/Zope-2.0.0b1-src/wo_pcgi.py", line 115, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "/usr/local/Zope/Zope-2.0.0b1-src/wo_pcgi.py", line 104, in main
    import build_extensions
  File "/usr/local/Zope/Zope-2.0.0b1-src/inst/build_extensions.py", line
96, in ?
    make('lib','python')
  File "/usr/local/Zope/Zope-2.0.0b1-src/inst/do.py", line 130, in make
    do('make')
  File "/usr/local/Zope/Zope-2.0.0b1-src/inst/do.py", line 99, in do
    if i and picky: raise SystemError, i
SystemError: 256