Debian Codegraph @

docs/README.TXT

raw
1 For documentation, browse index.html.
2
3 Quick install guide:
4
5 If the sources have been fetched from git, run bootstrap.sh [options].
6
7 From a released source, use:
8 1. Type './configure'
9 2. Type 'make install'
10
11 Generic configuration instructions are in the file INSTALL.
12
13 The following 3rd-party libraries will be used by gd if found by configure.
14 While gd will compile and install even without these, we suggest that at
15 least zlib and libpng are installed, and recommend that freetype and jpeg
16 are installed as well:
17
18 1. zlib, available from http://www.gzip.org/zlib/
19 Data compression library
20
21 2. libpng, available from http://www.libpng.org/pub/png/
22 Portable Network Graphics library; requires zlib
23
24 3. FreeType 2.x, available from http://www.freetype.org/
25 Free, high-quality, and portable font engine
26
27 4. JPEG library, available from http://www.ijg.org/
28 Portable JPEG compression/decompression library
29 jpeg-turbo is our recommended choise. version 2.x is required. It may build with earlier version however we do not support it (in case quality or other bugs could be seen).
30 LibJpeg 6.2 required. It may compile with earlier version but we do not support it.
31
32 5. XPM, available from http://koala.ilog.fr/lehors/xpm.html
33 X Pixmap library
34
35 If any of these libraries are installed, but not detected by configure,
36 you can use the following command line options:
37
38 --with-png=DIR
39
40 Without the DIR argument, configure will check for png header files and
41 libraries in a default location. To switch off png support, use
42 --without-png, or --with-png=no.
43
44 If the DIR argument is specified, configure tries to find the png header
45 files in DIR/include, and the libraries in DIR/lib. To accommodate
46 OpenBSD ports, DIR/include/libpng is also checked if necessary.
47
48 --with-freetype=DIR
49
50 Dto. for freetype 2.x library. The search path for include files is
51 DIR/include/freetype2.
52
53 --with-jpeg=DIR
54
55 Dto. for jpeg library.
56
57 --with-xpm=DIR
58
59 Dto. for xpm library.
60
61 --with-tiff=DIR
62
63 Dto. for TIFF library.