[Zope-Perl] Problem builing pyperl

Schut, Koos (Koos) kschut@avaya.com
Mon, 20 Nov 2000 10:27:59 +0100


Hi all,

I am in the process of building pyperl-1.0.beta3

I am using:
perl-5.6.0 build 620
gcc-2.95.2
distutils-1.0.1
Python::Object-0.12 (came with pyperl)

So far I have some doubts. In order to make the Perl::Objects module, I had
to edit the perl.h include file. The "perl_key" type is defined in perl.h
inside some nested #ifdefs. In my perl.h it ends-up as undefined, so I added
"#typedef void * perl_key ;" outside of the #ifdefs.....

Now I could compile and install the complete pyperl-package.

I ran "python test.py" and I get:

apply.py ............ skipped
basic.py Segmentation Fault - core dumped
............Traceback (innermost last):
  File "test.py", line 58, in ?
  File "test.py", line 43, in test_ok
NameError: expect_next   

Two questions arise:
1- is my perl-installation incorrect?

or

2- what does the result of "python rest.py" mean?

Any ideas?

Cheers,
Koos.