I have perl 5.8.5 installation on hpux11 box. It was installed by my sys admin. but whenever i run some code which use threds it gives the fooloowing errors:-
$ /usr/local/bin/perl closure
closure line 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/local/lib/perl5/5.8.3/PA-RIS
+C2.0/threads.pm line 28.
Compilation failed in require at closure line 6.
BEGIN failed--compilation aborted at closure line 6.
My question is , how can i rebuild the perl with threading enabled. will i have to install everythng from the very beggining. Or is there some simple workaround. can someone of u outline the steps involved.
Rgds,
Neeraj.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.