I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-11-06 04:45:10-08 by mailtome
Updating threads and threads::shared module
I am trying to build 5.10.0 perl rpm. I also need to upgrade threads, and threads::shared module. So I replaced the threads folder under perl-5.10.0/ext/threads and perl-5.10.0/ext/threads/shared with the newer versions of threads and threads::shared. Also added the
if (grep { $_ eq 'PERL_CORE=1' } @ARGV) { # Core push(@conditional_params, 'MAN3PODS' => {}, 'NORECURS' => 1); }
to Makefile.PL After that I get an error
threads.xs: In function 'S_ithread_run': threads.xs:526: error: 'G_WANT' undeclared (first use in this function) threads.xs:526: error: (Each undeclared identifier is reported only once threads.xs:526: error: for each function it appears in.) threads.xs: In function 'XS_threads_join': threads.xs:1224: error: 'G_WANT' undeclared (first use in this function) threads.xs: In function 'XS_threads_wantarray': threads.xs:1561: error: 'G_WANT' undeclared (first use in this function) make: *** [threads.o] Error 1
So I added
'DEFINE' => '-DHAS_PPPORT_H'
to conditional_params. Everything built fine but some of the tests for threads, and threads::shared failed. Can some one help me building perl with updated core moudles?
Direct Responses: 11712 | Write a response
Posted on 2009-11-06 13:36:17-08 by jdhedden in response to 11708
Re: Updating threads and threads::shared module
First, try building Perl 5.10.1 - it has newer versions of everything in it. Second, can't core modules be updated later using CPAN? Finally, which tests are failing? Email me directly with detailed test outputs. Thanks.
Direct Responses: Write a response