[Zope] PyPerl Installation problem

AM list_subscriber@neurobs.com
Tue, 27 Aug 2002 00:03:58 -0700


I am trying to install pyperl on my RH7.2 box and it fails in the 
install process... The traceback:

[dsl-66-121-5-70 Python-Object]# perl Makefile.PL 
Picking up pyton include files from "/usr/include/python1.5"
Checking if your kit is complete...
Looks good
Writing Makefile for Python::Object

[dsl-66-121-5-70 Python-Object]# make install
cp lib/Python.pm blib/lib/Python.pm
cp Object.pm blib/lib/Python/Object.pm
cp lib/Python/Err.pm blib/lib/Python/Err.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Object.xs > Object.xsc && mv Object.xsc Object.c
gcc -c -I"/usr/include/python1.5" -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DMULTI_PERL Object.c
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


I have the right version of distutils.. Perl is 5.6.1
Any ideas as to how I can get around this...

TIA
AM

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================