Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Installing modules to a private module directory

by tinita (Parson)
on Apr 22, 2008 at 08:15 UTC ( #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.
  • Comment on Re^3: Installing modules to a private module directory

Replies are listed 'Best First'.
Re^4: Installing modules to a private module directory
by jdporter (Canon) 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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2021-12-05 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?