summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-15 08:38:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-15 08:38:15 +0000
commit010daec776637fee35fb44f218cc6d63cdbaabe5 (patch)
tree9fba570c3fc8d26392f6d0dd861830146b4d7c02
parente2b0ad84296bb0b50443b53e68c5fdc5ddc602e7 (diff)
downloadgnurl-010daec776637fee35fb44f218cc6d63cdbaabe5.tar.gz
gnurl-010daec776637fee35fb44f218cc6d63cdbaabe5.tar.bz2
gnurl-010daec776637fee35fb44f218cc6d63cdbaabe5.zip
Put more concentrated unix install help already at the top, with a note that
you might need to be root to use 'make install'.
-rw-r--r--docs/INSTALL57
1 files changed, 23 insertions, 34 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index 9b517943a..e662a003e 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -10,21 +10,32 @@ Curl has been compiled and built on numerous different operating systems. The
way to proceed is mainly divided in two different ways: the unix way or the
windows way.
-If you're using Windows (95, 98, NT) or OS/2, you should continue reading from
-the Win32 or OS/2 headers further down. All other systems should be capable of
-being installed as described below.
+If you're using Windows (95/98/NT/ME/2000 or whatever) or OS/2, you should
+continue reading from the Win32 or OS/2 headers further down. All other
+systems should be capable of being installed as described below.
UNIX
====
- The configure script *always* tries to find a working SSL library unless
- explicitly told not to. If you have OpenSSL installed in the default
- search path for your compiler/linker, you don't need to do anything
- special:
+ A normal unix installation is made in three or four steps (after you've
+ unpacked the source archive):
./configure
+ make
+ make test (optional)
+ make install
- If you have OpenSSL installed in /usr/local/ssl, you can run configure
+ You probably need to be root when doing the last command.
+
+ If you want to install curl in a different file hierarchy than /usr/local,
+ you need to specify that already when running configure:
+
+ ./configure --prefix=/path/to/curl/tree
+
+ The configure script always tries to find a working SSL library unless
+ explicitly told not to. If you have OpenSSL installed in the default search
+ path for your compiler/linker, you don't need to do anything special. If
+ you have OpenSSL installed in e.g /usr/local/ssl, you can run configure
like:
./configure --with-ssl
@@ -54,33 +65,11 @@ UNIX
env CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \
./configure
- If your SSL library was compiled with rsaref (usually for use in
- the United States), you may also need to set:
+ If your SSL library was compiled with rsaref (usually for use in the United
+ States), you may also need to set:
LIBS=-lRSAglue -lrsaref
- (from Doug Kaufman <dkaufman@rahul.net>)
-
- Without SSL support, just run:
-
- ./configure
-
- Then run:
-
- make
-
- Use the executable `curl` in src/ directory.
-
- To install curl on your system, run
-
- make install
-
- This will copy curl to /usr/local/bin/ (or $prefix/bin if you used the
- --prefix option to configure) and it copies the man pages, the lib and the
- include files to suitable places.
-
- To make sure everything runs as supposed, run the test suite:
-
- make test
+ (as suggested by Doug Kaufman)
KNOWN PROBLEMS
@@ -109,7 +98,7 @@ UNIX
they're executable and set to appear in the path *BEFORE* the actual (but
obsolete) autoconf and autoheader scripts.
- OPTIONS
+ MORE OPTIONS
Remember, to force configure to use the standard cc compiler if both
cc and gcc are present, run configure like