[Zope] unable to compile pyperl-1.0.1

Dan Meszaros dm@petamem.com
Tue, 14 May 2002 15:14:24 +0200 (CEST)


finally found the solution. anyone interested take a look at
http://www.my-zope.org/HowtosRating/20020109162149

regards
-dm

On Tue, 14 May 2002, Dan Meszaros wrote:

> Hi,
>
> I'm trying to install Script(perl) class to zope, but unfortunatelly
> have no luck compiling pyperl:
>
>   pyperl-1.0.1/Python-Object$ make
>   cc -c -I"/usr/include/python2.1" -fno-strict-aliasing
>   -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>   -pipe   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
>   -I/usr/lib/perl5/5.6.1/i586-linux/CORE -DMULTI_PERL Object.c
>   In file included from /usr/include/python2.1/Python.h:52,
>                   from Object.xs:8:
>   /usr/include/assert.h:90: warning: `assert' redefined
>   /usr/lib/perl5/5.6.1/i586-linux/CORE/perl.h:2183: warning: this is the
>   location of the previous definition
>   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
>
> my config is
>   perl 5.6.1
>   python 2.1.1
>   zope 2.5.1
>   linux 2.4.16
>
> does anyone else have this probem?
>
> thanks
> -dm
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>