1054
|
1 Simple install procedure
|
|
2 ========================
|
|
3
|
|
4 % gzip -cd gtkyahoo-<version>.tar.gz | tar xvf - # unpack the sources
|
|
5 % cd gtkyahoo-<version> # change to the toplevel directory
|
|
6 % ./configure # run the `configure' script
|
|
7 % make # build GTKYahoo
|
|
8 [ Become root if necessary ]
|
|
9 % make install # install GTKYahoo
|
|
10 % gtkyahoo # run gtkyahoo once
|
|
11 % vi $HOME/.gtkyahoo/gtkyahoorc # update/create config file
|
|
12
|
|
13 NOTE - OpenBSD (and possibly other *BSD) users might need to use gmake
|
|
14 instead of make when compiling this software.
|
|
15
|
|
16 The Nitty-Gritty
|
|
17 ================
|
|
18
|
|
19 The 'configure' script can be given a number of options to enable
|
|
20 and disable various features. For a complete list, type:
|
|
21
|
|
22 ./configure --help
|
|
23
|
|
24 A few of the more important ones:
|
|
25
|
|
26 * --prefix=PREFIX install architecture-independent files in PREFIX
|
|
27 [ Defaults to /usr/local ]
|
|
28
|
|
29 Options can be given to the compiler and linker by setting
|
|
30 environment variables before running configure. A few of the more
|
|
31 important ones:
|
|
32
|
|
33 CC : The C compiler to use
|
|
34 CPPFLAGS : Flags for the C preprocesser such as -I and -D
|
|
35 CFLAGS : C compiler flags
|
|
36
|
|
37 The most important use of this is to set the
|
|
38 optimization/debugging flags. For instance, to compile with no
|
|
39 debugging information at all, run configure as:
|
|
40
|
|
41 CFLAGS=-O2 ./configure # Bourne compatible shells (sh/bash/zsh)
|
|
42
|
|
43 or,
|
|
44
|
|
45 setenv CFLAGS -O2 ; ./configure # csh and variants
|
|
46
|
|
47
|
|
48 Installation directories
|
|
49 ========================
|
|
50
|
|
51 The location of the installed files is determined by the --prefix
|
|
52 and --exec-prefix options given to configure. There are also more
|
|
53 detailed flags to control individual directories. However, the
|
|
54 use of these flags is not tested.
|
|
55
|
|
56
|
|
57 BSD build instructions
|
|
58 ======================
|
|
59
|
|
60 BSD users might need to use gmake instead of make when compiling this
|
|
61 software.
|
|
62
|
|
63
|
|
64 Debian build instructions
|
|
65 =========================
|
|
66
|
|
67 Requires fakeroot and debhelper packages installed.
|
|
68
|
|
69 % fakeroot
|
|
70 % debian/rules binary
|
|
71
|
|
72 This will create a gtkyahoo-<version>.deb file in the higher
|
|
73 directory, not <version> stands for the version number.
|
|
74
|
|
75 [become root]
|
|
76 % dpkg -i gtkyahoo-<version>.deb
|