From: Ben Pfaff Date: Sat, 4 Oct 2008 04:00:55 +0000 (-0700) Subject: Add note to INSTALL explaining how to use libraries from /usr/local. X-Git-Tag: v0.6.1~7 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd43ef3ede38295240747ec306a44d7c0fb33a4a;p=pspp-builds.git Add note to INSTALL explaining how to use libraries from /usr/local. Several users have had trouble building PSPP with self-built GSL, etc. that were installed to /usr/local. Explain how to do it here to be more friendly to Unix novices. Thanks to Jim Orr for making me realize that this was important. --- diff --git a/INSTALL b/INSTALL index c07faa27..ea43342e 100644 --- a/INSTALL +++ b/INSTALL @@ -108,6 +108,19 @@ release. 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. + You may invoke `configure' with --help to see what options are + available. The most common of these are listed under "Optional + Features", below. + + If you installed some of the libraries that PSPP uses in a + non-standard location (on many systems, anywhere other than + /usr), you may need to provide some special flags to `configure' + to tell it where to find them. For example, on GNU/Linux, if you + installed some libraries in /usr/local, then you need to invoke + it with at least the following options: + + ./configure LDFLAGS='-L/usr/local/lib -Wl,-rpath,/usr/local/lib' CPPFLAGS='-I/usr/local/include' + Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.