?
Solved

Question in Installing Perl Modules in Oracle Linux

Posted on 2013-06-21
2
Medium Priority
?
1,058 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 29

Accepted Solution

by:
Jan Springer earned 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month16 days, 3 hours left to enroll

850 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