[Zope] unable to comile pyperl-1.0.1

Dan Meszaros dm@petamem.com
Tue, 14 May 2002 11:59:47 +0200 (CEST)


Hi,

I'm trying to install Script(perl) class to zope, but unfortunatelly
have no luck compiling pyperl:

  pyperl-1.0.1/Python-Object$ make
  cc -c -I"/usr/include/python2.1" -fno-strict-aliasing
  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
  -pipe   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
  -I/usr/lib/perl5/5.6.1/i586-linux/CORE -DMULTI_PERL Object.c
  In file included from /usr/include/python2.1/Python.h:52,
                  from Object.xs:8:
  /usr/include/assert.h:90: warning: `assert' redefined
  /usr/lib/perl5/5.6.1/i586-linux/CORE/perl.h:2183: warning: this is the
  location of the previous definition
  In file included from Object.xs:10:
  ../lang_lock.h:67: parse error before `last_py_tstate'
  ../lang_lock.h:67: warning: data definition has no type or storage
  class
  make: *** [Object.o] Error 1

my config is
  perl 5.6.1
  python 2.1.1
  zope 2.5.1
  linux 2.4.16

does anyone else have this probem?

thanks
-dm