~ubuntu-branches/ubuntu/vivid/pidgin-otr/vivid-proposed

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Thibaut VARENE
  • Date: 2007-05-08 17:21:54 UTC
  • Revision ID: james.westby@ubuntu.com-20070508172154-rl73hykhkfbbvhzm
Tags: upstream-3.0.0+cvs20070508
ImportĀ upstreamĀ versionĀ 3.0.0+cvs20070508

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
REQUIREMENTS
 
2
 
 
3
To compile the OTR plugin for gaim, 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
 - libotr 1.99.0     [http://www.cypherpunks.ca/otr/]
 
7
 - glib 2.4          [http://www.gtk.org/download/]
 
8
 - gtk+ 2.4          [http://www.gtk.org/download/]
 
9
 - gaim 1.x          [http://gaim.sourceforge.net/downloads.php]
 
10
 
 
11
If you install these with a package manager, you'll probably need the
 
12
-dev or -devel versions of the packages.
 
13
 
 
14
COMPILING (non-Win32)
 
15
 
 
16
If you're got a CVS copy, you will need to regenerate the configure
 
17
script using:
 
18
 
 
19
    autoreconf -s -i
 
20
 
 
21
[If you installed libotr.m4 somewhere that autoreconf can't find it,
 
22
you can try putting "ACLOCAL_FLAGS= -I /path/to/share/aclocal" at the
 
23
top of Makefile.am.]
 
24
 
 
25
Once you have the configure script (which comes with the source
 
26
deistribution), run it with any options that may be necessary for your
 
27
system.  Some examples:
 
28
 
 
29
Linux:
 
30
    ./configure --prefix=/usr --mandir=/usr/share/man
 
31
 
 
32
NETBSD:
 
33
    CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-R/usr/pkg/lib -L/usr/pkg/lib" \
 
34
        ./configure --prefix=/usr/pkg
 
35
 
 
36
Once the configure script writes a Makefile, you should be able to just
 
37
run "make".
 
38
 
 
39
COMPILING (Win32)
 
40
 
 
41
Use the provided Makefile.mingw:
 
42
 
 
43
    make -f Makefile.mingw
 
44
 
 
45
INSTALLATION
 
46
 
 
47
You should be able to simply do "make install".  If you want to install
 
48
somewhere other than / (this is useful for package creators), use
 
49
something like "make DESTDIR=/path/to/install/to install".