[Zope-Perl] Installation problem?

Prakash Janakiraman prakash@neomeocorp.com
Thu, 26 Apr 2001 13:13:59 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_003A_01C0CE52.C1409850
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all - I've been trying to install the pyperl package on a linux =
system using the following configuration:

Redhat linux 6.2, kernel version 2.2.18
gcc version 2.95.2, glibc 2.1.3-15
perl 5.6.1 built for i686-linux-thread-multi
python 2.0
pyperl-1.0.1

I keep getting an error when trying to use the Python package from perl. =
 The simple script is as follows:

#! /usr/local/bin/perl

use Python;

Python::eval("1+1");

----
and the error I get is:

Can't load =
'/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/auto/Python=
/Object/Object.so' for module Python::Object: =
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/auto/Python/=
Object/Object.so: undefined symbol: PyExc_ArithmeticError at =
/usr/local/lib/perl5/5.6.1/i686-linux-thread-multi/DynaLoader.pm line =
206.
 at =
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/Python.pm =
line 3
Compilation failed in require at =
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/Python.pm =
line 3.
Compilation failed in require at python.pl line 3.
BEGIN failed--compilation aborted at python.pl line 3.


Could this be related to compile flag or glibc version mismatch?  =
Anybody seen this before or have ideas on how to solve it?  Thanks in =
advance... can't wait to start using this package!

--prakash

------=_NextPart_000_003A_01C0CE52.C1409850
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all - I've been trying to install =
the pyperl=20
package on a linux system using the following =
configuration:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Redhat linux 6.2, kernel version=20
2.2.18</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gcc version 2.95.2,=20
glibc&nbsp;2.1.3-15</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>perl 5.6.1 built for=20
i686-linux-thread-multi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>python 2.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>pyperl-1.0.1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I keep getting an error when trying to =
use the=20
Python package from perl.&nbsp; The simple script is as =
follows:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#! /usr/local/bin/perl</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>use Python;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Python::eval("1+1");</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>----</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and the error I get is:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can't load=20
'/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/auto/Python=
/Object/Object.so'=20
for module Python::Object:=20
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/auto/Python/=
Object/Object.so:=20
undefined symbol: PyExc_ArithmeticError at=20
/usr/local/lib/perl5/5.6.1/i686-linux-thread-multi/DynaLoader.pm line=20
206.<BR>&nbsp;at=20
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/Python.pm =
line=20
3<BR>Compilation failed in require at=20
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi/Python.pm =
line=20
3.<BR>Compilation failed in require at python.pl line 3.<BR>BEGIN=20
failed--compilation aborted at python.pl line 3.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could this be related to compile flag =
or glibc=20
version mismatch?&nbsp; Anybody seen this before or have ideas on how to =
solve=20
it?&nbsp; Thanks in advance... can't wait to start using this=20
package!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--prakash</FONT></DIV></BODY></HTML>

------=_NextPart_000_003A_01C0CE52.C1409850--