[Zope] pyperl install failure

Kerekes Lajos lkerekes@xperts.hu
Wed, 05 Sep 2001 19:27:09 +0200


Hi!

I use Zope 2.3.3 under Red Hat Linux 7.0

I'd like to use perl scripts under Zope, and I want to
install the pyperl 1.0.1. I followed the instructions,
(cd Python-Object, perl MakeFile.pl), and when
I got this error at "make install":

gcc -c -I"/usr/include/python1.5" -fno-strict-aliasing -O2 -march=i386
-mcpu=i686     -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC
-I/usr/lib/perl5/5.6.0/i386-linux/CORE -DMULTI_PERL Object.c
In file included from Object.xs:11:
../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

Does anybody know what is the problem, what shall I do?

I installed Distutils 1.0.2 before pyperl install.

   Thanks:

         Lajos Kerekes