Solved

Question in Installing Perl Modules in Oracle Linux

Posted on 2013-06-21
2
917 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Apache application gives "Forbidden" message 5 57
Rate limit for DNS queries 7 75
android secure ftp 3 38
Bash script - Exit out of choice loop 2 31
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
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é.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

832 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