[Zope-Perl] installing pyperl and Python::Object
Gisle Aas
gisle@ActiveState.com
15 Dec 2001 18:36:52 -0800
Jeff Anderson <captvanhalen@yahoo.com> writes:
> erg, I couldn't get Python::Object to install,
> and I have no idea where to start ....
>
> here is the error:
> [root@host]# make install gcc -c
> -I"/usr/include/python2.1" -fno-strict-aliasing
> -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.00\"
> -DXS_VERSION=\"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
>
> any pointers would be appreciated,
You need to build perl with the -Dusethreads option.
Regards,
Gisle