-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
54 lines (34 loc) · 1.29 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Argus PEP client API
--------------------
0. Build Requirement
curl-devel package is required to build the Argus PEP client API.
1. First you have to bootstrap the autotools:
./autotools.sh
2. Then use configure (default prefix: /usr/local):
./configure
NOTE: for RHEL6/SL6 add the --with-libcurl-nss flag!
or if you want to install the lib and include in a different directory:
./configure --prefix=/usr [--libdir=/usr/lib64]
3. Build the library:
make
and install it:
make install
4. you are all done :)
The library libargus-pep and the header files are now installed.
To use it, simply include the library header in your code:
#include <argus/pep.h>
A pkg-config configuration file libargus-pep.pc is available in $libdir/pkgconfig.
You can use it in your autoconf configure.ac as descibed here:
http://www.openismus.com/documents/linux/using_libraries/using_libraries#cflagsandlibs
Example (configure.ac):
PKG_CHECK_MODULES(LIBARGUS_PEP,[libargus-pep >= 2],
[
AC_MSG_NOTICE([LIBARGUS_PEP_CFLAGS=$LIBARGUS_PEP_CFLAGS])
AC_MSG_NOTICE([LIBARGUS_PEP_LIBS=$LIBARGUS_PEP_LIBS])
],
[
AC_MSG_ERROR([Argus PEP client API (libargus-pep >= 2) not available. Check the PKG_CONFIG_PATH environment variable.])
]
)
--
$Id: INSTALL 2334 2011-06-09 14:50:24Z vtschopp $