in reply to Re^2: Perl version 5.8.6
in thread Perl version 5.8.6

Hello

When I try to use threads, I get the following error even after installing the new 5.8.6:

This Perl hasn't been configured and built properly for the threads module to work. (The 'useithreads' configuration option hasn't been u +sed.) 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 addi +ng 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.0/cygwin-multi +-64int/threads.pm line 28.

So if 5.008 is the new perl version, why am I not able to run a threads module?

Thank you.

Replies are listed 'Best First'.
Re^4: Perl version 5.8.6
by Koosemose (Pilgrim) on Dec 06, 2004 at 18:06 UTC

    You're going to need to either download a prebuilt that was compiled with threads enabled, or build it from source and enable threads

    Just Another Perl Alchemist
      Where can I find a prebuilt that was compiled with threads enabled?

      During installation, I did enable threads, but it did not seem to work. I also tried to manually install threads in CPAN, but it gave an error during make install:

      Cannot forceunlink /usr/lib/perl5/5.8.0/cygwin-multi-64int/auto/Digest +/MD5/MD5.dll: Permission denied at /usr/lib/perl5/5.8.0/File/Find.pm +line 873 make: *** [pure_perl_install] Error 255 /usr/bin/make install -- NOT OK
      Thank you.

        The error line indicates that whatever Perl you are using is Perl 5.8.0.

        CPAN does not have any binary Perl version for download. You need to compile Perl for your platform, and for Windows, jZeds post Free MSVC tools + Activestate to compile CPAN Modules is a great introduction on what you will need.