Updated README, added libtool dependency and note about --prefix

This commit is contained in:
James Booth
2014-08-06 22:01:00 +01:00
parent ac886a156a
commit d893f4ace0

View File

@@ -32,6 +32,15 @@ The `examples` directory contains some examples of how to
use the library; these may be helpful in addition to the use the library; these may be helpful in addition to the
API documentation API documentation
To install on your system, as root (or using sudo):
make install
Note, the default install path is `/usr/local/`, to specify
another path use the `--prefix` option during configure, e.g.:
./configure --prefix=/usr
## Requirements ## Requirements
libstrophe requires: libstrophe requires:
@@ -40,6 +49,7 @@ libstrophe requires:
switch switch
- libresolv on UNIX systems - make sure you include -lresolv - libresolv on UNIX systems - make sure you include -lresolv
if you are compiling by hand. if you are compiling by hand.
- libtool
In addition, if you wish to run the unit tests, you will need the In addition, if you wish to run the unit tests, you will need the
check package. check package.