- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: perl package dependencies
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
Discussions
Discussions
Forums
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
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
тАО02-06-2007 06:41 AM
тАО02-06-2007 06:41 AM
perl package dependencies
I've got a perl package I want to install.
It has dependencies.
Download package b.tar.gz which requires a.tar.gz.
Make a directory called /xxx/xxx/xxx/Perl.
Put both tar.gz file in there.
Gunzip both.
Then, tar xvf both resultant .tar files.
I now have two directories - a & b.
I can now go into a, and run
"perl Makefile.PL" - it has no dependencies, not it makes me a "Makefile".
Now, I want to create a Makefile for b. I go into that directory, and run
"perl Makefile.PL". This completes with a warning that package "a" is not installed.
How can I tell the Makefile.PL that it can find the other library in a sibling (or other) directory so that the creation of the Makefile runs completely w/o warning?
Is there a better way to do this? Can I make a "package" of sorts of the code and its dependency?
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 06:59 AM
тАО02-06-2007 06:59 AM
Re: perl package dependencies
Here are some general guidelines for module installation:
http://www.cpan.org/modules/INSTALL.html
Note the reference to the 'use lib' pragma.
A nice installation method is to use the CPAN module:
# perl -MCPAN -e shell
I trust this helps.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 07:14 AM
тАО02-06-2007 07:14 AM
Re: perl package dependencies
Using CPAN from my desktop system is easy enough, but servers don't have internet access, and I'm pretty reluctant to open a hole through the firewalls - I'd rather just figure out how to make a package or structure that I can test on test servers and move to production after a sufficient testing round...
Thanks for the info!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 07:35 AM
тАО02-06-2007 07:35 AM
Re: perl package dependencies
# perl Makefile.PL PREFIX=/my/perl_directory
...allows you to install into *your* directory instead of the usual Perl repository on your server.
Perhaps that helps you.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 07:46 AM
тАО02-06-2007 07:46 AM
Re: perl package dependencies
Thanks again for all help, and always, much appreciated.
John