You are not logged in.
Pages: 1
Im trying to run a perl script that uses multiple threads and I get the following error:
"This perl not built to support threads"
Is there a way to install or recompile perl with threading support?
Offline
I'm absolutely not a Perl programmer. I think this will help:
ERRORS
- This Perl not built to support threads
The particular copy of Perl that you're trying to use was not built using the useithreads configuration option.
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 (i.e., threaded and non-threaded Perls are binary incompatible.)
Cite source: http://perldoc.perl.org/threads.html
Add given option to existing perl receipts and recook (rtfm for how to cook).
Offline
Would technically be easier just to compile perl from scratch with the required options. It's really the only way to get everything working properly - or so says my perl mad developer friend...
Offline
thank you guys, i solved the problem installing Active Perl, apparently this version is compiled with threads.
Offline
Pages: 1
[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]