On Sun, 9 Feb 2003, Brian De Pradine wrote:

> Hello,
>
> Has anyone successfully built perl 5.8.0 with threading turned on? I

I do not think that anyone has reported success with threading on
this list.  I do not know if anyone else has succeeded and simply
failed to mention it here.

> would be very interested in the configure options that were used. I am
> trying to build perl with threading and dynamic linking, but I get
> errors with the compile of perly.c and op.c with threading turned on.
>
> I ran configure like this:
> sh Configure -Dusethreads -Dusedl -Ddlext=so -Ddlsrc=dl_dllload.xs -des

If I were you I would try only one non default option at a time (by the
way I am fairly certain that -Dusedl will already imply both -Ddlext=so
and -Ddlsrc=dl_dllload.xs if the uname parsing in hints/os390.sh is still
correct.  On the other hand it does not hurt to explicitly request them
either).  I would suggest trying a build with:

   sh Configure -Dusethreads

then run:

   make > make.out 2>&1

and if you'd like to send the make.out to me off list (unfortunately I
cannot promise to be able to fix it).

If there is trouble with the generated perly.c it could indicate at least
two different source of error: 1) perhaps your yacc parser template file
has not been copied from /samples into /etc (since you seem to know enough
about other Configrue issues I doubt this is your problem) 2) there is a
problem with the handling of perly.c that might be fixable with the sed
expression in Makefile.SH.


> I set 'export _C89_CCMODE=1' in my .profile before running. Also the
> user that I was running as was not a superuser.

Is that the setting that invokes "traditional" CC?

Peter Prymmer


Reply via email to