- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Some perl module help required
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 01:07 AM
01-16-2006 01:07 AM
I have two boxes - both with the same version of perl (4.0.1.8). A user who is currently using a ParseExcel which he wants available on the other machine. I've found the directory on the current machine and have copied it across to the other. I've also included the OLE::Storage_Lite directory as this is a requirement. On the other machine, when I run the first part of the install (perl MakeFile.pl) I get the following error:
#perl Makefile.PL
syntax error in file Makefile.PL at line 1, next 2 tokens "use ExtUtils"
Execution of Makefile.PL aborted due to compilation errors.
This also happens on the original machine? Any help much appreciated.
Thanks,
Tony
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 01:29 AM
01-16-2006 01:29 AM
Re: Some perl module help required
Perl 4?!? You *really* need to upgrade to a current version.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 01:41 AM
01-16-2006 01:41 AM
Re: Some perl module help required
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 03:02 AM
01-16-2006 03:02 AM
Re: Some perl module help required
As indicated in the error message, a module needs to be added with "ExtUtils".
Depending on the requirement, one has to download the required modules which are not delivered in the statandard HP-UX perl version. One can download them from
http://www.cpan.org
Have you used these modules as
use ExtUtils::MakeMaker;
use Spreadsheet::ParseExcel;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 03:19 AM
01-16-2006 03:19 AM
Re: Some perl module help required
perl4 is old, as already noted by others. Usually `old' is a relative word, and you can get away with it, but in this case you can't. perl4 does not support dynamic loading and/or modules as we know them in perl5, so you will not be able to use either OLE::Storage, or ParseExcel in perl4, how hard you try. It is a different architecture.
If you install binary perl distributions from my site, they include both these modules already.
My HP ITRC site pages can be found at (please use LA as primary choice):
USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 03:24 AM
01-16-2006 03:24 AM
Re: Some perl module help required
My apologies - I've checked their script and they are indeed not using the default perl install but v5.6.1 instead!
Does that help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 03:40 AM
01-16-2006 03:40 AM
SolutionBe sure *YOU* have perl5.6.1 in you $PATH *before* /usr/contrib/bin, which is perl4 default location
FWIW the ParseExcel (.xls) files are architecture and perl version independant and can be read everywhere.
# perl Makefile.PL
# make
# make test
# make install
or, if you have used CPAN before
# perl -MCPAN -e'install Spreadsheet::ParseExcel'
that should auto-resolve the dependancies.
If you ask me, ParseExcel is a *great* (yes, realy great) module, but the interface is far from easy. I have tried to simplify that in my module Spreadsheet::Read, which uses Spreadsheet::ParseExcel in the background. (and supports CSV and OpenOffice documents too if you installed Text::CSV_XS and/or Spreadsheet::ReadSXC)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 07:19 PM
01-16-2006 07:19 PM
Re: Some perl module help required
I got to the make test section which failed to see IO:Scalar in one of its arrays @INC? I went for your MCPAN option and it seems to have done the trick - the only difference being that its installed the module in the default /opt location as opposed to the user space (to be expected I suppose).
I'll await the users reponse but it sounds fixed to me!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 07:20 PM
01-16-2006 07:20 PM
Re: Some perl module help required
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:14 PM
01-16-2006 08:14 PM
Re: Some perl module help required
# perl -MOLE::Storage_Lite -le'print $OLE::Storage_Lite::VERSION'
0.14
#
Don't forget about the points.
Enjoy, Have FUN ! H.Merijn