UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: info@upwork.link

Rebuild Perl on a cPanel Server

without comments

Every now and again perl will become broken or corrupt either because of something we’ve done or, like most things, out of nowhere with now warning. Run the following:

cd /usr/local/src
wget http://layer1.cpanel.net/perl588installer.tar.gz
tar -vzxf perl588installer.tar.gz
cd perl588installer

As addition:

[/usr/local/src/perl588installer]# grep 'my $flags' install
my $flags = '-Duseithreads';


[/usr/local/src/perl588installer]# perl -V | egrep thread
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define


To answer your question regarding the difference between -Dusethreads and -Duseithreads—there is no -Duseithreads. According to the INSTALL doc:
“By default, Configure selects ithreads if -Dusethreads is specified”.
As for the next question, you didn’t compile it with threads because you used -Duseithreads when you should have used -Dusethreads.

Written by spectre

April 16th, 2014 at 3:09 pm

Posted in Perl

Leave a Reply