develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [PATCH] Thread.xs doesn't need magic sig anymore

Thread Previous | Thread Next
From:
Craig Berry
Date:
April 26, 2007 20:34
Subject:
Re: [PATCH] Thread.xs doesn't need magic sig anymore
Message ID:
c9ab31fc0704262034m4c3753n845ce3d44383f442@mail.gmail.com
On 4/26/07, Rafael Garcia-Suarez <rgarciasuarez@gmail.com> wrote:
> On 26/04/07, Jerry D. Hedden <jdhedden@cpan.org> wrote:
> > Shouldn't the entirety of ext/Thread be removed?
>
> Could be. I don't know. I'm really not familiar with the old threading module...

I don't know either, but it seems the only way to get it to build is
to configure with both -Dusethreads and -Uuseithreads, or I should say
that was the way to get it to build as doing so now fails like so (on
Mac OS X, similarly on VMS):

        Making Thread (dynamic)
Writing Makefile for Thread
cp Thread/Signal.pm ../../lib/Thread/Signal.pm
cp Thread/Specific.pm ../../lib/Thread/Specific.pm
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp
-typemap ../../lib/ExtUtils/typemap  Thread.xs > Thread.xsc && mv
Thread.xsc Thread.c
Error: 'Thread' not in typemap in Thread.xs, line 74
Error: 'Thread' not in typemap in Thread.xs, line 84
Error: 'Thread' not in typemap in Thread.xs, line 89
Error: 'Thread' not in typemap in Thread.xs, line 90
Error: 'Thread' not in typemap in Thread.xs, line 96
Error: 'Thread' not in typemap in Thread.xs, line 101
Error: 'Thread' not in typemap in Thread.xs, line 115
make[1]: *** [Thread.c] Error 1
make: *** [lib/auto/Thread/Thread.bundle] Error 2

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About