Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I install Perl modules without 'make' ? 1

Status
Not open for further replies.

Hemo

Programmer
Apr 9, 2003
190
US
System has no online access to CPAN, and has no developer kit installed so no 'make'.

Anyone have any tried and tested ideas on installing a Perl module in a case like this?

(SCO OpenServer 5.0.6) {no comments about the OS, please.}
 
Excellent!

I was hoping there was a way of doing this. I was reading about the 'use lib' and was still wondering how to get the module 'installed', not realizing some modules coud just be copied.

Unfortunately, the module in question (Config::Simple) seems to not work if just copying the Simple.pm file over.

I found 2 workarounds:

1-Install GNU Make on the machine from the Skunkware CD. (remeber, this is on SCO OpenServer with no development kit). Then I can install Perl modules the 'real' way, using 'make'.

However, client is dubious about any 'development' tools on server, so 'make' might not be best solution...

2-I have system with devel, so can install Config::Simple with 'make', then package the installed Simple.pm and dependancies. Extracting this package into a 'private' modules directory and then adding "use lib '/path/to/installed/module';" seems to be working great!

Client likes 2nd solution better since there are no 'development' utilities on the system.

Thanks for the link. ishnid!
 
Good that you found a workaround.

Of course, if you ever decide that option 1 would entail less work, you could always describe 'make' as an "essential administrative tool", rather than a "development utility" ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top