Fails on install of Perl module

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Hi there guys,

I need IPC::Open3. Really bad. When I search for it in WHM's "Perl-Installa-module", it finds it, and I click it. I attempts to install it, tells me that it comes with Perl 5.8.8(I have 5.8.7), then tells me that something went wrong during make.

I really need this module! How do I get WHM to successfully install it?

thanks,
json
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Here is the exact output when trying to install the module throughWHM. I was thinking that it might be handy in diagnosing the problem:

spawn /scripts/perlinstaller IPC::Open3
Method: Perl Expect
Testing connection speed...(this could take a while).....Done

Ping:9.957 Testing mirror speed and update status (www.mednor.net) using wget...(295990 bytes/s)...Done

Ping:29.633 Testing mirror speed and update status (www.perl.com) using wget...(94960 bytes/s)...Done

Three usable mirrors located

Mirror Check passed for www.mednor.net (/index.html)

commit: wrote '/usr/lib/perl5/5.8.7/CPAN/Config.pm'

CPAN: File::HomeDir loaded ok

CPAN: Storable loaded ok

Going to read /home/.cpan/Metadata

Database was generated on Fri, 01 Sep 2006 02:29:54 GMT

Running install for module IPC::Open3

Running make for N/NW/NWCLARK/perl-5.8.8.tar.gz



The most recent version "1.02" of the module "IPC::Open3"

comes with the current version of perl (5.8.8).

I'll build that only if you ask for something like

force install IPC::Open3

or

install N/NW/NWCLARK/perl-5.8.8.tar.gz

Running make install

Has no own directory

Make had some problems, won't install

perlmod--Install done
Any help you could provide would be greatly appreciated, as I'm in quite a bind without it.

thanks,
json
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Thank you very much for your reply, however, I downloaded 5.8.8, and it failed the make & install as well with the same final error as I got with attempting to install the module.

I just didn't know if something was configured incorrectly. I can't install a perl module, and I can't upgrade perl.

thanks,
json
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Hi there,

Is there a certain way, method or command to upgrade Perl to 5.8.8 for cpanel? I was amazed at the questions asked during the install, and don't have any clue what to answer for most of them.

Also, would the upgrade keep all of the previously installed modules?

Any help would be appreciated.

thanks,
json
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Hi there Andy,

I would be quite happy to stick with 5.8.7, but is there a way I can install the needed module? Regardless of whether I attempt to install via WHM or cli(through the command the cpanel FAQ suggests), I get the error noted in my second post.

I didn't mean to suggest that I want to upgrade perl, I just thought it might be the only way to get this module installed.

Thanks very much for taking the time to reply.

thanks,
json
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
schwim said:
Is there a certain way, method or command to upgrade Perl to 5.8.8 for cpanel?
The cPanel is still using v5.8.7 and if I were you I won't upgrade to v5.8.8. If you do, some of the modules will be replaced/overwrittne by the new version. After all, it is your call :)
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
I don't know how my reply ended up above yours, but I posted afterwords :)

thanks,
json
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
schwim said:
I would be quite happy to stick with 5.8.7, but is there a way I can install the needed module? Regardless of whether I attempt to install via WHM or cli(through the command the cpanel FAQ suggests), I get the error noted in my second post.
The message returned by the system is self-explanatory:

The most recent version "1.02" of the module "IPC::Open3"
comes with the current version of perl (5.8.8).
I'll build that only if you ask for something like
force install IPC::Open3


I am not sure if you want IPC::Open3 v1.02. If you do, then you can foce installing it:
/scripts/perlinstaller --force IPC::Open3
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Hi there,

I forced the install of IPC::Open3, which installed Perl 5.8.8, but although I restarted Apache, the client panels still show 5.8.7. Did I maybe neglect something? Do I need to completely reboot the server for the change to take effect?

thanks,
json