Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Perl modules without 'make install'

Perl modules without 'make install'
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2002
Status: Offline
Reply With Quote
Mar 4, 2004, 12:46 PM
 
Hello.

I have a small problem with a Mac at work. I need to use several Perl modules on this computer but I don't have root access to install the modules. So I can do: 'perl Makefile.PL', 'make', 'make test', but not 'make install'.
Is there anyway to compile the modules and store them in my home directory (say at ~/perlMods/) and then tell my perl scripts where they are? I thought I could do something like this but it doesn't seem to work:

#!/usr/bin/perl -w

use BioModule; ## let's say this is the name of the module I want to use which is located in ~/perlMods/BioModule



Does anyone have any idea how to do this? (Is my question even remotely clear?)

Thanks.
PowerBook G4 800Mhz
1GB RAM
60GB 7200rpm Hard Drive
Running Tiger
     
JNI
Forum Regular
Join Date: Oct 2002
Location: Left Coast
Status: Offline
Reply With Quote
Mar 4, 2004, 04:39 PM
 
Originally posted by GATTACA:
Hello.

I have a small problem with a Mac at work. I need to use several Perl modules on this computer but I don't have root access to install the modules. So I can do: 'perl Makefile.PL', 'make', 'make test', but not 'make install'.
Is there anyway to compile the modules and store them in my home directory (say at ~/perlMods/) and then tell my perl scripts where they are? I thought I could do something like this but it doesn't seem to work:

#!/usr/bin/perl -w

use BioModule; ## let's say this is the name of the module I want to use which is located in ~/perlMods/BioModule

Does anyone have any idea how to do this? (Is my question even remotely clear?)

Thanks.
see http://www.rcbowen.com/imho/perl/modules.html
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 09:01 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2