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

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

Thread Previous
From:
H.Merijn Brand
Date:
April 26, 2007 23:59
Subject:
Re: [PATCH] Thread.xs doesn't need magic sig anymore
Message ID:
20070427085732.5396a910@pc09
On Thu, 26 Apr 2007 22:34:12 -0500, "Craig Berry" <craig.a.berry@gmail.com>
wrote:

> 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,

Which is an officially unsupported combination, and not hardwired disabled
because it is (sigh) still legal in 5.8.x

> 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

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


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