diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2021-04-09 07:19:03 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2021-04-09 07:19:03 -0300 |
commit | 0e752a6e215aee21dc73da097c3225495d54a5b6 (patch) | |
tree | b81be02cbf2f06aebf322ac4a5d014b44176bba5 /libotr/libotr-4.1.1/INSTALL | |
parent | 7754076c715285173311a1b6811ce377950e18a6 (diff) |
Add libotr/etc sources
Diffstat (limited to 'libotr/libotr-4.1.1/INSTALL')
-rw-r--r-- | libotr/libotr-4.1.1/INSTALL | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libotr/libotr-4.1.1/INSTALL b/libotr/libotr-4.1.1/INSTALL new file mode 100644 index 0000000..4226b2f --- /dev/null +++ b/libotr/libotr-4.1.1/INSTALL @@ -0,0 +1,45 @@ +REQUIREMENTS + +To compile the OTR library and toolkit, you'll need at least: + - libgpg-error 1.0 [ftp://ftp.gnupg.org/gcrypt/libgpg-error/] + - libgcrypt 1.2.0 [ftp://ftp.gnupg.org/gcrypt/libgcrypt/] + +If you install these with a package manager, you'll probably need the +-dev or -devel versions of the packages. + +On Fedora, these packages are: + libgpg-error-devel libgcrypt-devel + +On Debian (testing or unstable), they are: + libgpg-error-dev libgcrypt11-dev + +COMPILING + +If you're got a CVS copy, you will need to regenerate the configure +script using: + + ./bootstrap + +Once you have the configure script (which comes with the source +deistribution), run it with the "--with-pic" option, as well as any +other options that may be necessary for your system. Some examples: + +Linux: + ./configure --with-pic --prefix=/usr --mandir=/usr/share/man + +NETBSD: + CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-R/usr/pkg/lib -L/usr/pkg/lib" \ + ./configure --with-pic --prefix=/usr/pkg + +mingw cross-compiler from Debian Linux: + ./configure --with-pic --host=i586-mingw32msvc \ + --prefix=/usr/i586-mingw32msvc + +Once the configure script writes a Makefile, you should be able to just +run "make". + +INSTALLATION + +You should be able to simply do "make install". If you want to install +somewhere other than / (this is useful for package creators), use +something like "make DESTDIR=/path/to/install/to install". |