summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-10-27 05:40:41 -0500
committerGurusamy Sarathy <gsar@cpan.org>1998-10-28 21:39:56 +0000
commitd6c1b5d37fe90dfde927a85ace3fe459e0a0b850 (patch)
tree1b917bdd90c6141d4c1bb75cd49e9aa838f0cfd3 /INSTALL
parentd4ede91ce64eb3ddd64daea7c7434c33963c2e15 (diff)
downloadperl-d6c1b5d37fe90dfde927a85ace3fe459e0a0b850.tar.gz
Re: Problems with: Creating an installable tar archive
Message-Id: <Pine.SUN.3.96.981027103726.28498E-100000@newton.phys> p4raw-id: //depot/perl@2114
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL17
1 files changed, 10 insertions, 7 deletions
diff --git a/INSTALL b/INSTALL
index 47ba0c0106..fe47668600 100644
--- a/INSTALL
+++ b/INSTALL
@@ -489,23 +489,26 @@ that problem.
If you need to install perl on many identical systems, it is
convenient to compile it once and create an archive that can be
-installed on multiple systems. Here's one way to do that:
+installed on multiple systems. Suppose, for example, that you want to
+create an archive that can be installed in /opt/perl.
+Here's one way to do that:
# Set up config.over to install perl into a different directory,
# e.g. /tmp/perl5 (see previous part).
- sh Configure -des
+ sh Configure -Dprefix=/opt/perl -des
make
make test
- make install
+ make install # This will install everything into /tmp/perl5.
cd /tmp/perl5
- # Edit $archlib/Config.pm to change all the
+ # Edit $archlib/Config.pm and $archlib/.packlist to change all the
# install* variables back to reflect where everything will
- # really be installed.
- # Edit any of the scripts in $scriptdir to have the correct
+ # really be installed. (That is, change /tmp/perl5 to /opt/perl
+ # everywhere in those files.)
+ # Check the scripts in $scriptdir to make sure they have the correct
# #!/wherever/perl line.
tar cvf ../perl5-archive.tar .
# Then, on each machine where you want to install perl,
- cd /usr/local # Or wherever you specified as $prefix
+ cd /opt/perl # Or wherever you specified as $prefix
tar xvf perl5-archive.tar
=head2 Site-wide Policy settings