FS#663 - Perl not compiled with useithreads support

Attached to Project: Arch Linux
Opened by Kevin Piche (kpiche) - Tuesday, 30 March 2004, 17:04 GMT
Last edited by Judd Vinet (judd) - Tuesday, 30 March 2004, 20:42 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Perl 5.8.3-1

Tried executing a script that uses threads and threads::share modules and received an error message about no thread support. Curious if this is an oversight or design decision.

"
This Perl hasn't been configured and built properly for the threads
module to work. (The 'useithreads' configuration option hasn't been used.)

Having threads support requires all of Perl and all of the XS modules in
the Perl installation to be rebuilt, it is not just a question of adding
the threads module. (In other words, threaded and non-threaded Perls
are binary incompatible.)

If you want to the use the threads module, please contact the people
who built your Perl.

Cannot continue, aborting.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.3/i686-linux/threads.pm line 28.
"
This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 13 April 2004, 04:14 GMT
Reason for closing:  Implemented
Comment by Kevin Piche (kpiche) - Tuesday, 30 March 2004, 18:22 GMT
I solved this problem by using abs to rebuild perl. I added the "-Dusethreads" flag to the Configure script invocation:

./Configure -des -Dprefix=/usr -Dinstallprefix=$startdir/pkg/usr \
-Dman1dir=/usr/man/man1 -Dman3dir=/usr/man/man3 -Doptimize="$CFLAGS" \
-Dusethreads
Comment by Judd Vinet (judd) - Tuesday, 13 April 2004, 04:13 GMT
The rebuilt version is now in testing.

Loading...