![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Display Modes | Rate This Thread |
|
|