File: INSTALL

package info (click to toggle)
pidgin-otr 4.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,408 kB
  • ctags: 565
  • sloc: sh: 11,542; ansic: 5,487; makefile: 35
file content (61 lines) | stat: -rw-r--r-- 2,007 bytes parent folder | download | duplicates (2)
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
55
56
57
58
59
60
61
REQUIREMENTS

To compile the OTR plugin for pidgin, 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/]
 - libotr 4.0.0      [https://otr.cypherpunks.ca/]
 - glib 2.6          [http://www.gtk.org/download/]
 - gtk+ 2.6          [http://www.gtk.org/download/]
 - pidgin 2.x        [http://pidgin.im/]

You'll also need the usual autotools, such as automake-1.9, autoreconf,
libtool, intltool, etc.

If you install these with a package manager, you'll probably need the
-dev or -devel versions of the packages.

COMPILING (non-Win32)

If you're got a CVS copy, you will need to regenerate the configure
script using:

    intltoolize --force --copy
    autoreconf -s -i

[If you installed libotr.m4 somewhere that autoreconf can't find it,
you can try putting "ACLOCAL_FLAGS= -I /path/to/share/aclocal" at the
top of Makefile.am.]

Once you have the configure script (which comes with the source
deistribution), run it with any options that may be necessary for your
system.  Some examples:

Linux:
    ./configure --prefix=/usr --mandir=/usr/share/man

NETBSD:
    CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-R/usr/pkg/lib -L/usr/pkg/lib" \
	./configure --prefix=/usr/pkg

Once the configure script writes a Makefile, you should be able to just
run "make".

If you want a plugin that has libgcrypt linked statically, use
"make -f Makefile.static".  Makefile.static assumes libotr.a and libgcrypt.a
are available in /usr/lib.  If they're somewhere else, use something like
"LIBOTRDIR=/usr/local/lib make -f Makefile.static".

COMPILING (Win32)

Use the provided Makefile.mingw:

    make -f Makefile.mingw

See INSTALL.mingw for a script to try to do everything for you,
including all of the dependencies.

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".