perl Makefile.PL LIB=~/perl INSTALLDIRS='perl'
instead. You tend to get a nicer path to deal with in your code. Also, instead of adding 'use lib' to your scripts, I like to set my PERL5LIB env var to specify these paths. Of course, we're talking Perl. So, you usually have more than one way to choose from. Also, I think you will get errors when it tries to install the man pages. you can fix that by setting INSTALLMAN1DIR and INSTALLMAN3DIR.
Ronald J Kimball wrote:
On Thu, Jun 05, 2003 at 10:02:06AM -0700, Antonio Garcia wrote:
I am intalling DBI on a Sun workstation. Since I don't have root access, I
simply put DBI.pm in ~/perl, and then add it to @INC at runtime via
Did you actually install the module, or did you just copy DBI.pm into ~/perl? DBI has to be installed properly to work, because it includes C code that must be compiled.
You can easily install DBI anywhere you like, by running e.g.:
perl Makefile.PL PREFIX=~/perl
Ronald
