diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-15 02:57:08 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-15 02:57:08 +0000 |
commit | b83c0eaa789c1e1527712ef4c3c985dde6539c3a (patch) | |
tree | 1d9da4e0d93624e886b42e699519739dcf6c0d7f /jpl/install-jpl | |
parent | 30944b6df13d14ca352a3fdf86275e7fe6eb44b5 (diff) | |
download | perl-b83c0eaa789c1e1527712ef4c3c985dde6539c3a.tar.gz |
update to JPL snapshot v09141999, with minor tweaks (from Brian
Jepson <bjepson@home.com>)
p4raw-id: //depot/perl@4159
Diffstat (limited to 'jpl/install-jpl')
-rwxr-xr-x | jpl/install-jpl | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/jpl/install-jpl b/jpl/install-jpl index c1ef0b4e12..f19e226e48 100755 --- a/jpl/install-jpl +++ b/jpl/install-jpl @@ -116,9 +116,9 @@ print "\nInstalling JNI module\n"; system <<'END' and die "Couldn't install JNI\n"; set -x cd JNI -perl Makefile.PL +perl Makefile.PL -e make clean -perl Makefile.PL +perl Makefile.PL -e make echo 'Attempting to install JNI as root' su root -c "make install" @@ -187,14 +187,8 @@ archname=`$JPLPERL -MConfig -e 'print $Config{archname}'` CLASSPATH=".:$JPL_HOME/lib${CLASSPATH:+:$CLASSPATH}" export CLASSPATH -ldlibpthname=`$JPLPERL -MConfig -e 'print $Config{ldlibpthname}'` -case "$ldlibpthname" in -'') ldlibpthname=LD_LIBRARY_PATH ;; -esac -eval "ldlibpth=\$$ldlibpthname" - -$ldlibpthname=".:$JPL_HOME/lib/$archname:$archlib/CORE$ldlibpth" -export $ldlibpthname +LD_LIBRARY_PATH=".:$JPL_HOME/lib/$archname:$archlib/CORE${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" +export LD_LIBRARY_PATH PERL5LIB="$JPL_HOME/perl${PERL5LIB:+:$PERL5LIB}" export PERL5LIB @@ -211,13 +205,13 @@ case "$1" in \$ENV{JPL_HOME} = '$JPL_HOME'; \$ENV{JPLPERL} = '$JPLPERL'; \$ENV{CLASSPATH} = '$CLASSPATH'; -\$ENV{$ldlibpthname} = '$ldlibpth'; +\$ENV{LD_LIBRARY_PATH} = '$LD_LIBRARY_PATH'; \$ENV{PERL5LIB} = '$PERL5LIB'; END ;; -sh) cat <<END - PATH='$PATH';export PATH;JAVA_HOME='$JAVA_HOME';export JAVA_HOME;JPL_HOME='$JPL_HOME';export JPL_HOME;JPLPERL='$JPLPERL';export JPLPERL;CLASSPATH='$CLASSPATH';export CLASSPATH;$ldlibpthname='$ldlibpth';export $ldlibpthname;PERL5LIB='$PERL5LIB';export PERL5LIB + PATH='$PATH';export PATH;JAVA_HOME='$JAVA_HOME';export JAVA_HOME;JPL_HOME='$JPL_HOME';export JPL_HOME;JPLPERL='$JPLPERL';export JPLPERL;CLASSPATH='$CLASSPATH';export CLASSPATH;LD_LIBRARY_PATH='$LD_LIBRARY_PATH';export LD_LIBRARY_PATH;PERL5LIB='$PERL5LIB';export PERL5LIB END ;; -csh) @@ -227,7 +221,7 @@ setenv JAVA_HOME '$JAVA_HOME'; setenv JPL_HOME '$JPL_HOME'; setenv JPLPERL '$JPLPERL'; setenv CLASSPATH '$CLASSPATH'; -setenv $ldlibpthname '$ldlibpth'; +setenv LD_LIBRARY_PATH '$LD_LIBRARY_PATH'; setenv PERL5LIB '$PERL5LIB'; END ;; |