-INSTALL - CUPS v2.0rc1 - 2014-09-02
+INSTALL - CUPS v2.2rc1 - 2016-08-08
-----------------------------------
This file describes how to compile and install CUPS from source code. For more
make does not support "include".
Besides these tools you'll want ZLIB library for compression support, the
- CDSA, GNU TLS, or OpenSSL libraries for encryption support, and either MIT
- (1.6.3 or higher) or Heimdal Kerberos for Kerberos support. CUPS will
- compile and run without these, however you'll miss out on many of the
- features provided by CUPS.
+ GNU TLS library for encryption support on platforms other than iOS, macOS,
+ or Windows, and either MIT (1.6.3 or higher) or Heimdal Kerberos for
+ Kerberos support. CUPS will compile and run without these, however you'll
+ miss out on many of the features provided by CUPS.
Also, please note that CUPS does not include print filters to support PDF
or raster printing. You *must* download GPL Ghostscript and/or the Open
Printing CUPS filters package separately to print on operating systems
- other than OS X.
-
-
-COMPILING THE SUBVERSION REPOSITORY CODE
-
- The CUPS Subversion repository doesn't hold a copy of the pre-built
- configure script. You'll need to run the GNU autoconf software (2.60 or
- higher) to create it:
-
- autoconf
+ other than macOS.
CONFIGURATION
and diagnose a variety of common problems - use the "--enable-unit-tests"
configure option to run them at build time.
+ On macOS, use the "--with-archflags" option to build with the correct set of
+ architectures:
+
+ ./configure --with-archflags="-arch i386 -arch x86_64" ...
+
+ Note: Current versions of macOS DO NOT allow installation to
+ /usr with the default system integrity settings. In addition,
+ we do not recommend replacing the CUPS supplied with macOS
+ because not all versions of CUPS are compatible with every
+ macOS release, and because software updates will replace parts
+ of your local installation potentially rendering your system
+ unusable.
+
Once you have configured things, just type:
make ENTER
gmake install ENTER
+ Use the BUILDROOT variable to install to an alternate root directory:
+
+ make BUILDROOT=/some/other/root/directory install ENTER
+
You can also build binary packages that can be installed on other machines
using the RPM spec file ("packaging/cups.spec") or EPM list file
("packaging/cups.list"). The latter also supports building of binary RPMs,