Debian Codegraph @

INSTALL

raw
1 =========================
2 INSTALLATION INSTRUCTIONS
3 =========================
4
5 I. Install Source Package
6 =========================
7
8 To compile and install source package you will need:
9 - recent C++ compiler. We used gcc ver. 3.3.5 & 4.0.1
10 - installed CUPS *.h files (cups/cups.h, cups/raster.h)
11 - installed CUPS libraries (libcups, libcupsimage)
12
13 To compile sources run follow commands from the package directory:
14 ./configure
15 make
16
17 To install compiled binaries and data files use command (you have to have root privileges):
18 make install
19
20 II. Known Problems
21 ===================
22
23 1. Error message "CUPS modeldir <dir> is not existed..."
24
25 While running "configure" script tries to determine where CUPS is installed.
26 For that it uses 'cups-config' utility if existed or uses default values for the dirs.
27 If CUPS is installed into different directories you might see the above error message.
28 To avoid it pass proper directories to "configure" script using environment variables, e.g.
29 $ cups_datadir='/usr/local/share/cups' cups_serverbindir='/usr/local/lib/cups' ./configure
30
31 Default directories for CUPS are '/usr/share/cups' and '/usr/lib/cups'
32
33