Debian Codegraph @

INSTALL

raw
1 REQUIREMENTS
2
3 To compile the OTR library and toolkit, you'll need at least:
4 - libgpg-error 1.0 [ftp://ftp.gnupg.org/gcrypt/libgpg-error/]
5 - libgcrypt 1.2.0 [ftp://ftp.gnupg.org/gcrypt/libgcrypt/]
6
7 If you install these with a package manager, you'll probably need the
8 -dev or -devel versions of the packages.
9
10 On Fedora, these packages are:
11 libgpg-error-devel libgcrypt-devel
12
13 On Debian (testing or unstable), they are:
14 libgpg-error-dev libgcrypt11-dev
15
16 COMPILING
17
18 If you're got a CVS copy, you will need to regenerate the configure
19 script using:
20
21 ./bootstrap
22
23 Once you have the configure script (which comes with the source
24 deistribution), run it with the "--with-pic" option, as well as any
25 other options that may be necessary for your system. Some examples:
26
27 Linux:
28 ./configure --with-pic --prefix=/usr --mandir=/usr/share/man
29
30 NETBSD:
31 CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-R/usr/pkg/lib -L/usr/pkg/lib" \
32 ./configure --with-pic --prefix=/usr/pkg
33
34 mingw cross-compiler from Debian Linux:
35 ./configure --with-pic --host=i586-mingw32msvc \
36 --prefix=/usr/i586-mingw32msvc
37
38 Once the configure script writes a Makefile, you should be able to just
39 run "make".
40
41 INSTALLATION
42
43 You should be able to simply do "make install". If you want to install
44 somewhere other than / (this is useful for package creators), use
45 something like "make DESTDIR=/path/to/install/to install".