summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2004-11-05 05:36:57 -0500
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-11-05 14:16:27 +0000
commit4bbc15861f6f8e7faecf7eec9412d0ea2c95d102 (patch)
tree0fccdbcd7b6adc1e146e0ff084658c21d855a38b /INSTALL
parent80b2a6875ff4c6d50022d6618abf6aa340ea38d3 (diff)
downloadperl-4bbc15861f6f8e7faecf7eec9412d0ea2c95d102.tar.gz
Re: Buidling stable.tar.gz on Unix as non-root [PATCH]
Message-ID: <Pine.SOL.4.58.0411051035020.15217@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@23475
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL32
1 files changed, 26 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index b529ce9210..69b446adfb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1677,13 +1677,33 @@ to
then propagate your changes with B<sh Configure -S> and rebuild
with B<make depend; make>.
-=item Missing functions
+=item Missing functions and Undefined symbols
-If you have missing routines, you probably need to add some library or
-other, or you need to undefine some feature that Configure thought was
-there but is defective or incomplete. Look through config.h for
-likely suspects. If Configure guessed wrong on a number of functions,
-you might have the L<"nm extraction"> problem discussed above.
+If the build of miniperl fails with a long list of missing functions or
+undefined symbols, check the libs variable in the config.sh file. It
+should look something like
+
+ libs='-lsocket -lnsl -ldl -lm -lc'
+
+The exact libraries will vary from system to system, but you typically
+need to include at least the math library -lm. Normally, Configure
+will suggest the correct defaults. If the libs variable is empty, you
+need to start all over again. Run
+
+ make distclean
+
+and start from the very beginning. This time, unless you are sure of
+what you are doing, accept the default list of libraries suggested by
+Configure.
+
+If the libs variable looks correct, you might have the
+L<"nm extraction"> problem discussed above.
+
+If you stil have missing routines or undefined symbols, you probably
+need to add some library or other, or you need to undefine some feature
+that Configure thought was there but is defective or incomplete. If
+you used a hint file, see if it has any relevant advice. You can also
+look through through config.h for likely suspects.
=item toke.c