[ v1.4svn-r7548 | v1.3.7 | v1.3.6 | v1.3.5 | v1.3.4 | v1.3.3 | v1.3.2 | v1.3.0 | v1.2.12 | v1.1.23 | v1.0.5 | Binaries | Building RPMs | Subversion ]
Source Code
Free binaries are available elsewhere - search Google
to find them.
Note:
We are no longer providing binaries for Mac OS X since CUPS 1.3.x is not
fully compatible with Mac OS X 10.4.x. You can compile and install
CUPS 1.3.x from source, however most of the GUI administration tools provided
in Mac OS X will no longer work.
The source distributions include an RPM spec file that can be
used to build RPM packages for your Linux distribution. The
rpmbuild command is used to build from the tar
files:
rpmbuild -ta cups-version-source.tar.gz
or:
rpmbuild -ta cups-version-source.tar.bz2
At a minimum, you'll need the gcc, libjpeg,
libjpeg-devel, libpng, libpng-devel,
libtiff, libtiff-devel, zlib, and
zlib-devel packages installed to compile CUPS with all
of the standard functionality. The krb5-devel,
krb5-libs, openldap, openldap,
openslp, and openslp-devel packages will allow
support for Kerberos (CUPS 1.3.x only), LDAP, and SLP,
respectively.
The spec file supports two options, --without php and
--without dbus, that control whether the PHP and DBUS
support is compiled into the packages. For example, if you are
compiling CUPS 1.2.4 or earlier on Red Hat Enterprise Linux, you
will need to provide the --without dbus option since
that distribution does not have a compatible version of the DBUS
libraries available:
rpmbuild -ta cups-version-source.tar.gz --without dbus
Similarly, if you don't have the php-devel package
installed, use the --without php option to omit the PHP
support from the generated RPMs.
The CUPS software is available via Subversion using the
following URL:
http://svn.easysw.com/public/cups/
The following command can be used to checkout the current CUPS
1.3.x source from Subversion:
svn co http://svn.easysw.com/public/cups/branches/branch-1.3/ cups-1.3.x
The following command can be used to checkout the current CUPS
1.4.x source from Subversion:
svn co http://svn.easysw.com/public/cups/trunk/ cups
After you check out the source, you will need to run the
autoconf command to create the configure script. You
can then follow the instructions in the INSTALL.txt
file.
|