-
Notifications
You must be signed in to change notification settings - Fork 14
/
INSTALL
33 lines (23 loc) · 1.13 KB
/
INSTALL
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
=========================
INSTALLATION INSTRUCTIONS
=========================
I. Install Source Package
=========================
To compile and install source package you will need:
- recent C++ compiler. We used gcc ver. 3.3.5 & 4.0.1
- installed CUPS *.h files (cups/cups.h, cups/raster.h)
- installed CUPS libraries (libcups, libcupsimage)
To compile sources run follow commands from the package directory:
./configure
make
To install compiled binaries and data files use command (you have to have root privileges):
make install
II. Known Problems
===================
1. Error message "CUPS modeldir <dir> is not existed..."
While running "configure" script tries to determine where CUPS is installed.
For that it uses 'cups-config' utility if existed or uses default values for the dirs.
If CUPS is installed into different directories you might see the above error message.
To avoid it pass proper directories to "configure" script using environment variables, e.g.
$ cups_datadir='/usr/local/share/cups' cups_serverbindir='/usr/local/lib/cups' ./configure
Default directories for CUPS are '/usr/share/cups' and '/usr/lib/cups'