[Zope-Perl] pyperl

Aaron Hunt hunt@zedxinc.com
Fri, 7 Dec 2001 12:47:21 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_00F9_01C17F1D.4FE0DB80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When I try the compile pyperl1.0 on my linux machine I get the following =
error

mkdir blib
mkdir blib/lib
mkdir blib/lib/Python
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Python
mkdir blib/arch/auto/Python/Object
mkdir blib/lib/auto
mkdir blib/lib/auto/Python
mkdir blib/lib/auto/Python/Object
mkdir blib/man3
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.0/i386-linux -I/usr/lib/perl5/5.6.0 =
/usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap =
/usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Object.xs > =
Object.xsc && mv Object.xsc Object.c
gcc -c -I"/usr/include/python1.5" -fno-strict-aliasing -O2 -march=3Di386 =
-mcpu=3Di686     -DVERSION=3D\"1.00\" -DXS_VERSION=3D\"1.00\" -fPIC =
-I/usr/lib/perl5/5.6.0/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

Thank you for any help

Aaron Hunt

AgFleet Manager
www.agfleet.com
814-357-8494

------=_NextPart_000_00F9_01C17F1D.4FE0DB80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When I try the compile pyperl1.0 on my =
linux=20
machine I get the following error</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>mkdir blib<BR>mkdir blib/lib<BR>mkdir=20
blib/lib/Python<BR>mkdir blib/arch<BR>mkdir blib/arch/auto<BR>mkdir=20
blib/arch/auto/Python<BR>mkdir blib/arch/auto/Python/Object<BR>mkdir=20
blib/lib/auto<BR>mkdir blib/lib/auto/Python<BR>mkdir=20
blib/lib/auto/Python/Object<BR>mkdir blib/man3<BR>cp lib/Python.pm=20
blib/lib/Python.pm<BR>cp Object.pm blib/lib/Python/Object.pm<BR>cp=20
lib/Python/Err.pm blib/lib/Python/Err.pm<BR>/usr/bin/perl=20
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0=20
/usr/lib/perl5/5.6.0/ExtUtils/xsubpp&nbsp; -typemap=20
/usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Object.xs &gt; =
Object.xsc=20
&amp;&amp; mv Object.xsc Object.c<BR>gcc -c -I"/usr/include/python1.5"=20
-fno-strict-aliasing -O2 -march=3Di386 =
-mcpu=3Di686&nbsp;&nbsp;&nbsp;&nbsp;=20
-DVERSION=3D\"1.00\" -DXS_VERSION=3D\"1.00\" -fPIC=20
-I/usr/lib/perl5/5.6.0/i386-linux/CORE -DMULTI_PERL Object.c<BR>In file =
included=20
from Object.xs:10:<BR>../lang_lock.h:67: parse error before=20
`last_py_tstate'<BR>../lang_lock.h:67: warning: data definition has no =
type or=20
storage class<BR>make: *** [Object.o] Error 1<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for any help</DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Aaron Hunt</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>AgFleet Manager<BR><A=20
href=3D"http://www.agfleet.com">www.agfleet.com</A><BR>814-357-8494</FONT=
></DIV></BODY></HTML>

------=_NextPart_000_00F9_01C17F1D.4FE0DB80--