The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
perl DBI/DBD Module -in cygwin jambesh Shell Programming and Scripting 3 10-20-2007 01:38 PM
Can I use a Perl Module without installing it? jjinno Shell Programming and Scripting 1 08-29-2007 01:55 PM
Help needed in Perl LWP module dayanandra Shell Programming and Scripting 1 10-05-2006 09:47 AM
perl module installation problems... experts advice needed,... sekar sundaram Shell Programming and Scripting 4 12-11-2005 08:24 PM
Replace Perl Module name in all Perl scripts rahulrathod Shell Programming and Scripting 2 12-02-2005 01:00 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-03-2007
sabyasm sabyasm is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 27
help with perl module installation

Hi,

I am trying to install perl modules in HPUX under my account. I do not have the root permission.

The module name I am trying to install is Spreadsheet-WriteExcel. I have downloaded the tar.gz file from CPAN and extracted the same under my home directory.

When I try do 'perl Makefile.PL' it shows the following warning :

/home/mukher2/perl_modules/Spreadsheet-WriteExcel-2.17> perl Makefile.PL
Warning: prerequisite Parse::RecDescent failed to load: Can't locate Parse/RecDescent.pm in @INC (@INC contains: /opt/perl/
lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/s
ite_perl/5.6.1 /opt/perl/lib/site_perl .) at (eval 5) line 3.
Writing Makefile for Spreadsheet::WriteExcel
/home/mukher2/perl_modules/Spreadsheet-WriteExcel-2.17>


when I try the next step to do a 'make' I am getting :

/home/mukher2/perl_modules/Spreadsheet-WriteExcel-2.17> make
cp bin/chartex blib/script/chartex
/usr/bin/perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/lib/5.6.1 -MExtUtils::MakeMaker -e "MY->fi
xin(shift)" blib/script/chartex
Manifying blib/man3/Spreadsheet::WriteExcel::BIFFwriter.3
Manifying blib/man3/Spreadsheet::WriteExcel.3
Manifying blib/man3/Spreadsheet::WriteExcel::Formula.3
Manifying blib/man3/Spreadsheet::WriteExcel::Worksheet.3
Manifying blib/man3/Spreadsheet::WriteExcel::Utility.3
Manifying blib/man1/chartex.1
Manifying blib/man3/Spreadsheet::WriteExcel::Format.3
Manifying blib/man3/Spreadsheet::WriteExcel::OLEwriter.3
Manifying blib/man3/Spreadsheet::WriteExcel::Big.3
Manifying blib/man3/Spreadsheet::WriteExcel::Workbook.3
Manifying blib/man3/Spreadsheet::WriteExcel::WorkbookBig.3
Manifying blib/man3/Spreadsheet::WriteExcel::Chart.3
/home/mukher2/perl_modules/Spreadsheet-WriteExcel-2.17>



while I try to test it by 'make test' it's showing :

/home/mukher2/perl_modules/Spreadsheet-WriteExcel-2.17> make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/li
b/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00_IEEE_double....ok
t/01_add_worksheet..Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/01_add_worksheet.t line 16.
BEGIN failed--compilation aborted at t/01_add_worksheet.t line 16.
t/01_add_worksheet..dubious
Test returned status 2 (wstat 512, 0x200)
t/02_merge_formats..Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/02_merge_formats.t line 18.
BEGIN failed--compilation aborted at t/02_merge_formats.t line 18.
t/02_merge_formats..dubious
Test returned status 2 (wstat 512, 0x200)
t/11_date_time......Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/11_date_time.t line 15.
BEGIN failed--compilation aborted at t/11_date_time.t line 15.
t/11_date_time......dubious
Test returned status 2 (wstat 512, 0x200)
t/12_date_only......Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/12_date_only.t line 15.
BEGIN failed--compilation aborted at t/12_date_only.t line 15.
t/12_date_only......dubious
Test returned status 2 (wstat 512, 0x200)
t/13_date_seconds...Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/13_date_seconds.t line 15.
BEGIN failed--compilation aborted at t/13_date_seconds.t line 15.
t/13_date_seconds...dubious
Test returned status 2 (wstat 512, 0x200)
t/21_escher.........Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/21_escher.t line 17.
BEGIN failed--compilation aborted at t/21_escher.t line 17.
t/21_escher.........dubious
Test returned status 2 (wstat 512, 0x200)
t/22_mso_drawing_group.Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-
thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /o
pt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/sit
e_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /o
pt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5
.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_p
erl/5.6.1 /opt/perl/lib/site_perl .) at t/22_mso_drawing_group.t line 16.
BEGIN failed--compilation aborted at t/22_mso_drawing_group.t line 16.
t/22_mso_drawing_group.dubious
Test returned status 2 (wstat 512, 0x200)
t/23_note...........Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/23_note.t line 17.
BEGIN failed--compilation aborted at t/23_note.t line 17.
t/23_note...........dubious
Test returned status 2 (wstat 512, 0x200)
t/24_txo............Can't locate Test/More.pm in @INC (@INC contains: blib/arch blib/lib /opt/perl/lib/5.6.1/PA-RISC1.1-thr
ead-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/
perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_p
erl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/
perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl . /opt/perl/lib/5.6.
1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl
/5.6.1 /opt/perl/lib/site_perl .) at t/24_txo.t line 17.
BEGIN failed--compilation aborted at t/24_txo.t line 17.
t/24_txo............dubious
Test returned status 2 (wstat 512, 0x200)
Failed Test Status Wstat Total Fail Failed List of Failed
---------------------------------------------------------------------------------------------------------------------------
t/01_add_worksheet.t 2 512 ?? ?? % ??
t/02_merge_formats.t 2 512 ?? ?? % ??
t/11_date_time.t 2 512 ?? ?? % ??
t/12_date_only.t 2 512 ?? ?? % ??
t/13_date_seconds.t 2 512 ?? ?? % ??
t/21_escher.t 2 512 ?? ?? % ??
t/22_mso_drawing_group.t 2 512 ?? ?? % ??
t/23_note.t 2 512 ?? ?? % ??
t/24_txo.t 2 512 ?? ?? % ??
Failed 9/10 test scripts, 10.00% okay. 0/2 subtests failed, 100.00% okay.
*** Error exit code 2

Stop.
/home/mukher2/perl_modules/Spreadsheet-WriteExcel-2.17>



when I try to use the perl module in a perl code - its showing :

/home/mukher2> perl testpl.pl
syntax error at testpl.pl line 11, near "use Spreadsheet::WriteExcel"
Execution of testpl.pl aborted due to compilation errors.
/home/mukher2>

Any advise please ?
 

Bookmarks

Tags
perl, perl shift, shift, shift perl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0