diff options
Diffstat (limited to 'linden/indra/libotr/libotr-3.2.0/INSTALL')
-rwxr-xr-x | linden/indra/libotr/libotr-3.2.0/INSTALL | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/linden/indra/libotr/libotr-3.2.0/INSTALL b/linden/indra/libotr/libotr-3.2.0/INSTALL new file mode 100755 index 0000000..9a7a433 --- /dev/null +++ b/linden/indra/libotr/libotr-3.2.0/INSTALL | |||
@@ -0,0 +1,45 @@ | |||
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 | autoreconf -s -i | ||
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 --build=`./config.guess` --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". | ||