File: INSTALL.txt

package info (click to toggle)
cupsddk 1.2.3-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,488 kB
  • ctags: 1,125
  • sloc: ansic: 7,074; cpp: 5,423; makefile: 526; xml: 227; sh: 153
file content (118 lines) | stat: -rw-r--r-- 3,540 bytes parent folder | download
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
INSTALL - CUPS DDK v1.2.3 - 2007-10-05
--------------------------------------

This file describes how to compile and install the CUPS Driver
Development Kit ("DDK") from source code. For more information
on the CUPS DDK see the file called "README.txt".  A complete
change log can be found in "CHANGES.txt".


BEFORE YOU BEGIN

You'll need ANSI-compliant C and C++ compilers, plus a make
program and Bourne (POSIX) shell.  The GNU compiler tools work
well - we've tested the current DDK code against GCC 3.x with
excellent results.

The makefiles used by the DDK should work with most versions of
make.  We use them successfully with GNU make as well as the
make programs shipped by SGI and Sun.  *BSD, HP-UX, and Tru64
users should use GNU make (gmake).

Finally, you MUST have the CUPS 1.2 or higher software installed
including all header files.  If you are using MacOS X, Apple does
not include the header files with the standard OS install or
developer tools - you will need to download the Darwin CUPS
sources and use the "installhdr" target to install the header
files manually.  Note that MacOS X 10.4.x and earlier come with
an older version of CUPS - you cannot build the DDK on a standard
10.2.x-10.4.x CUPS installation.


CONFIGURATION

The CUPS DDK uses GNU autoconf, so you will find the usual
"configure" script in the main CUPS DDK source directory.  Type
the following command to configure the CUPS DDK for your system
using the default options:

    ./configure ENTER

The default options will put the CUPS DDK software under the
"/usr" directory on your system.  Use the "--prefix" option to
install the CUPS DDK software in another location:

    ./configure --prefix=/some/directory ENTER

Once you have configured things, just type:

    make ENTER

or:

    gmake ENTER

to build the software.


INSTALLING THE SOFTWARE

Once you have built the software you need to install it before
using it.  The "install" target provides a quick way to install
the software on your local system:

    make install ENTER

or:

    gmake install ENTER

You can also build binary packages that can be installed on
other machines using the EPM list file "cupsddk.list".  The EPM
software can be found at:

    http://www.easysw.com/epm/


CREATING BINARY DISTRIBUTIONS WITH EPM

The top level makefile supports generation of many types of binary
distributions using EPM.  To build a binary distribution type:

    make <format> ENTER

or

    gmake <format> ENTER

The <format> target is one of the following:

    epm      - Builds a portable shell script and tar file based
	       distribution.
    deb      - Builds a Debian binary distribution.
    rpm      - Builds a RPM binary distribution.
    native   - Builds a "native" distribution (typically RPM on
	       Linux, otherwise whatever is found on the system)


REPORTING PROBLEMS

If you have problems, READ THE DOCUMENTATION FIRST!  If the
documentation does not solve your problems please post a message
to the "cups.ddk" forum at:

    http://www.cups.org/newsgroups.php

Include your operating system and version, compiler and version,
and any errors or problems you've run into.  If you are running
a version of Linux, be sure to provide the Linux distribution
you have, too.

Please note that the "cups.ddk" newsgroup is monitored by
volunteers, so your message may go unanswered for days or
weeks.  Commercial support for the DDK is available for a fee;
for more information, please visit the Easy Software Products
web site at:

    http://www.easysw.com/cups/