thanks for your input. it works now.
On Fri, 2 Aug 2002, drieux wrote: > Date: Fri, 2 Aug 2002 13:29:46 -0700 > From: drieux <[EMAIL PROTECTED]> > To: begin begin <[EMAIL PROTECTED]> > Subject: Re: module installation cant find dependencies > > > On Friday, August 2, 2002, at 11:27 , RaymondMoran wrote: > > > So now I've set the PERL5LIB and the PERLLIB variable. I include the -I > > variable: > > > > perl -I"~/lib/perl5" Makefile.PL LIB=~/lib/perl5 PREFIX=~/lib/perl5 > > Warning: prerequisite MIME::Base64 failed to load: Can't locate > > MIME/Base64.pm in @INC (@INC contains: > > /usr/pkg/lib/perl5/5.6.1/alpha-netbsd /usr/pkg/lib/perl5/5.6.1 > > /usr/pkg/lib/perl5/site_perl/5.6.1/alpha-netbsd > > /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl .) at > > (eval 4) line 3. > > > > my home directory's still not in there. > > > Assuming that your PERL5LIB were set like: > > gax: 81:] setenv PERL5LIB ~/lib/perl5 > gax: 82:] perl *.PL > Writing Makefile for URI > gax: 83:] > > on a linux like machine - it appears that the double quotes > are preventing shell expansion.... hence the process would be > > gax: 89:] !78 > perl -I ~/lib/perl5 Makefile.PL LIB=~/lib/perl5 PREFIX=~/lib/perl5 > Writing Makefile for URI > gax: 90:] > > sorry about that... > > what you will find useful would be something like: > > ### #!/usr/bin/perl -w > ### use strict; > ### # > ### #/home/drieux/bin/PerlInstall - you know to install stuff locally > ### # > ### > ### use lib "$ENV{HOME}/lib/perl"; > ### > ### $ENV{PERL5LIB} = ($ENV{PERL5LIB}) ? "$ENV{HOME}/lib/perl:$ENV{PERL5LIB} > " > ### : "$ENV{HOME}/lib/perl"; > ### > ### my $prefix = $ENV{HOME}; > ### my $lib = "$prefix/lib/perl"; > ### > ### > ### my $man = "$prefix/man"; > ### my $cmdArgs = "PREFIX=$prefix LIB=$lib "; > ### $cmdArgs .= " INSTALLMAN3DIR=$man/man3 INSTALLMAN1DIR=$man/man1"; > ### > ### my $cmd = "perl Makefile.PL $cmdArgs"; > ### > ### system("make clean"); > ### > ### system($cmd); > ### #system("make test"); > ### #system("make install"); > ### > > this way I have it stuffed in my home 'bin' directory - for > places when I am working with 'local only' install into my > home directory vice into the canonical CPAN space.... > > As you will notice this process of not installing into > where your perl will natively find it has problems..... > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]