T
Tielman de Villiers
I want to compile a "portable perl" which will live in users' ~/usr
directory.
I tried to achieve this by:
../Configure -Dprefix=\$HOME/usr -des
and then
make install DESTDIR=/home/auser
By typing
/home/auser/usr/bin/perl -V
@INC displays what I want:
====
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Oct 25 2003 14:10:07
@INC:
/home/auser/usr/lib/perl5/5.8.1/i686-linux
/home/auser/usr/lib/perl5/5.8.1
$HOME/usr/lib/perl5/site_perl/5.8.1/i686-linux
$HOME/usr/lib/perl5/site_perl/5.8.1
$HOME/usr/lib/perl5/site_perl
====
BUT these "compiled in" @INC links do not work.
Is there a way around it?
(Without using "use lib" or /home/auser/usr/bin/perl
-I$HOME/usr/lib/perl5/site_perl)
directory.
I tried to achieve this by:
../Configure -Dprefix=\$HOME/usr -des
and then
make install DESTDIR=/home/auser
By typing
/home/auser/usr/bin/perl -V
@INC displays what I want:
====
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Oct 25 2003 14:10:07
@INC:
/home/auser/usr/lib/perl5/5.8.1/i686-linux
/home/auser/usr/lib/perl5/5.8.1
$HOME/usr/lib/perl5/site_perl/5.8.1/i686-linux
$HOME/usr/lib/perl5/site_perl/5.8.1
$HOME/usr/lib/perl5/site_perl
====
BUT these "compiled in" @INC links do not work.
Is there a way around it?
(Without using "use lib" or /home/auser/usr/bin/perl
-I$HOME/usr/lib/perl5/site_perl)