Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I tried to use Thread.pm file (as use Thread statement), but failed during the compilation: This Perl has neither ithreads nor 5005threads at /usr/local/lib/perl5/5.8.0/Thread.pm line 335 BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.0/Thread.pm line 335. Compilation failed in require at /users/emilyo/scripts/new_scripts/top/top.pl line 7. BEGIN failed--compilation aborted at /users/emilyo/scripts/new_scripts/top/top.pl line 7. I'm using version 5.8, and it seems very strange.

Replies are listed 'Best First'.
Re: Multi threading
by Happy-the-monk (Canon) on Mar 29, 2004 at 14:06 UTC

    When perl itself is compiled, there is this decision to make: with or without threads.

    Whoever compiled your perl chose not to have threads.

    You should consider compiling your own perl or get a precompiled perl.

    Cheers, Sören

Re: Multi threading
by pbeckingham (Parson) on Mar 29, 2004 at 14:06 UTC

    Your Perl has been compiled without threads.