[Zope-Perl] Issues installing pyperl 1.0.1 on Linux 7.1

sowens sowens@mirapoint.com
Fri, 7 Dec 2001 15:00:12 -0800


I have upgraded to Activestate Perl 5.6.1 and Python 2.2, Redhat 7.1 but I
cannot install pyperl. Note: Per README.txt, I did not patch Perl or Python
that should have patches included, and  I did not install Distutils because
it's included in Python 2.2.

Here is my session:

[Python-Object]# perl Makefile.PL
Picking up pyton include files from
"/usr/local/ActivePython-2.2/include/python2.2"
Checking if your kit is complete...
Looks good
Writing Makefile for Python::Object
[Python-Object]# make install
gcc -c -I"/usr/local/ActivePython-2.2/include/python2.2" -DUSE_REENTRANT_API
 -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -I/usr/local/in
clude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.00\" -D
XS_VERSION=\"1.00\" -fpic -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t
hread-multi/CORE  Object.c
In file included from
/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE/patchlevel.
h:3,
                 from
/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE/perl.h:3540
,
                 from Object.xs:5:
/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE/BuildInfo.h
:19:33: warning: nothing can be pasted after this token
/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE/BuildInfo.h
:19:53: warning: nothing can be pasted after this token
In file included from
/usr/local/ActivePython-2.2/include/python2.2/Python.h:58,
                 from Object.xs:8:
/usr/include/assert.h:44:16: warning: "assert" redefined
/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE/perl.h:2187
:1: warning: this is the location of the previous definition
In file included from
/usr/local/ActivePython-2.2/include/python2.2/Python.h:60,
                 from Object.xs:8:
/usr/local/ActivePython-2.2/include/python2.2/pyport.h:382:2: #error
"LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
make: *** [Object.o] Error 1