Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Installing modules to a private module directory

by tinita (Parson)
on Apr 22, 2008 at 08:15 UTC ( [id://682110]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Installing modules to a private module directory
in thread Installing modules to a private module directory

Did you actually try this?
otherwise i wouldn't ask.
maybe i just don't get it, but it has always worked for me to install my modules with setting PREFIX and LIB. i just asked for an example. show me a module where it doesn't work. that's all i asked for. i would be really interested because i use the PREFIX/LIB method for my cgipan script and i would like to correct it if it has got a mistake.
in your blog you gave the reason why it doesn't work to set PREFIX. but you didn't say that using PREFIX and LIB together fails.

Replies are listed 'Best First'.
Re^4: Installing modules to a private module directory
by jdporter (Paladin) on Apr 22, 2008 at 13:17 UTC

    You might try DBI. That seems to be at least one example case, based on the context given in his blog.

      You might try DBI.
      it works here on my machine:
      $ perl Makefile.PL PREFIX=/tmp/foo LIB=/tmp/foo/lib $ make $ make install $ perl -wle' use lib "/tmp/foo/lib"; use DBI; print $INC{"DBI.pm"}' /tmp/foo/lib/i486-linux-gnu-thread-multi/DBI.pm

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://682110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found