Solved

Question in Installing Perl Modules in Oracle Linux

Posted on 2013-06-21
2
901 Views
Last Modified: 2013-07-01
Hi , I installed the following modules on a server

Net::MySQL
Text::CSV_XS
Spreadsheet::WriteExcel
Spreadsheet::ParseExcel
Excel::Writer::XLSX

For all dependencies to be met, below is the complete list of modules installed.
Archive-Zip-1.30
Bit-Vector-7.2
Carp-Clan-6.04
Compress-Raw-Zlib-2.060
Crypt-RC4-2.02
Date-Calc-6.3
Date-Manip-6.39
Digest-Perl-MD5-1.8
Digest-SHA1-2.13
Excel-Writer-XLSX-0.66
ExtUtils-MakeMaker-6.64
IO-1.25
IO-stringy-2.110
Net-MySQL-0.11
OLE-Storage_Lite-0.19
Parse-RecDescent-1.967009
Spreadsheet-ParseExcel-0.59
Spreadsheet-WriteExcel-2.38
Storable-2.39
Test-Exception-0.31
Test-Inter-1.05
Text-CSV_XS-0.97



I used the following commands

cd /home/my_user_ID/temp



cd Net-MySQL-0.11
perl Makefile.PL
make
cd ..

cd Excel-Writer-XLSX-0.66  
perl Makefile.PL
make
cd ..

cd Spreadsheet-ParseExcel-0.59
perl Makefile.PL
make
cd ..


cd Spreadsheet-WriteExcel-2.38

perl Makefile.PL
make
cd ..

cd Text-CSV_XS-0.97

perl Makefile.PL
make
cd ..







But the user wrote back to me :

For the first time I was testing the Perl Modules. Unfortunately, I'm getting errors:

Can't locate Spreadsheet/WriteExcel.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/bin/text2xls.pl line 11.
BEGIN failed--compilation aborted at /usr/local/bin/text2xls.pl line 11.

any help would be appreciated
0
Comment
Question by:c_hockland
2 Comments
 
LVL 28

Accepted Solution

by:
Jan Springer earned 500 total points
ID: 39266851
They probably got installed in a different location than the default.

I prefer to use cpan since it will put them in the default location and will include any dependencies.

You can either copy the directories/files or install again via cpan.
0
 

Author Comment

by:c_hockland
ID: 39267060
the issue is that i cannot use CPAN and the servers dont have internet access so i cannot do yum install or yum update

I think what i need to do is try to install one by one the dependencies.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now