1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Put more concentrated unix install help already at the top, with a note that

you might need to be root to use 'make install'.
This commit is contained in:
Daniel Stenberg 2001-03-15 08:38:15 +00:00
parent e2b0ad8429
commit 010daec776

View File

@ -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 way to proceed is mainly divided in two different ways: the unix way or the
windows way. windows way.
If you're using Windows (95, 98, NT) or OS/2, you should continue reading from If you're using Windows (95/98/NT/ME/2000 or whatever) or OS/2, you should
the Win32 or OS/2 headers further down. All other systems should be capable of continue reading from the Win32 or OS/2 headers further down. All other
being installed as described below. systems should be capable of being installed as described below.
UNIX UNIX
==== ====
The configure script *always* tries to find a working SSL library unless A normal unix installation is made in three or four steps (after you've
explicitly told not to. If you have OpenSSL installed in the default unpacked the source archive):
search path for your compiler/linker, you don't need to do anything
special:
./configure ./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: like:
./configure --with-ssl ./configure --with-ssl
@ -54,33 +65,11 @@ UNIX
env CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \ env CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \
./configure ./configure
If your SSL library was compiled with rsaref (usually for use in If your SSL library was compiled with rsaref (usually for use in the United
the United States), you may also need to set: States), you may also need to set:
LIBS=-lRSAglue -lrsaref LIBS=-lRSAglue -lrsaref
(from Doug Kaufman <dkaufman@rahul.net>) (as suggested by Doug Kaufman)
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
KNOWN PROBLEMS KNOWN PROBLEMS
@ -109,7 +98,7 @@ UNIX
they're executable and set to appear in the path *BEFORE* the actual (but they're executable and set to appear in the path *BEFORE* the actual (but
obsolete) autoconf and autoheader scripts. obsolete) autoconf and autoheader scripts.
OPTIONS MORE OPTIONS
Remember, to force configure to use the standard cc compiler if both Remember, to force configure to use the standard cc compiler if both
cc and gcc are present, run configure like cc and gcc are present, run configure like