|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
<html>
|
|
Packit |
7838c8 |
<head>
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
|
|
Packit |
7838c8 |
<title>Building the TIFF Software Distribution</title>
|
|
Packit |
7838c8 |
</head>
|
|
Packit |
7838c8 |
<body bgcolor="white">
|
|
Packit |
7838c8 |
<font face="Arial, Helvetica, Sans">
|
|
Packit |
7838c8 |
"images/cramps.gif" width="159" height="203" align="left" border=
|
|
Packit |
7838c8 |
"1" hspace="6"> Building the Software Distribution</font>
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
Building on all systems with CMake.
|
|
Packit |
7838c8 |
Building on a UNIX system with Autoconf.
|
|
Packit |
7838c8 |
Building on an MS-DOS or Windows system with nmake.
|
|
Packit |
7838c8 |
Building on a VMS system.
|
|
Packit |
7838c8 |
Building the Software on Other
|
|
Packit |
7838c8 |
Systems.
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
This chapter contains step-by-step instructions on how to configure
|
|
Packit |
7838c8 |
and build the TIFF software distribution. The software is most
|
|
Packit |
7838c8 |
easily built on a UNIX system, but with a little bit of work it can
|
|
Packit |
7838c8 |
easily be built and used on other non-UNIX platforms.
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
Building on all systems with CMake CMake may be used to
|
|
Packit |
7838c8 |
generate build files for most common build systems and IDEs, and
|
|
Packit |
7838c8 |
supports all UNIX-like systems as well as Windows. See
|
|
Packit |
7838c8 |
the CMake website for further
|
|
Packit |
7838c8 |
details. To build the software on you need to first run
|
|
Packit |
7838c8 |
<tt>cmake</tt> to configure the build and generate the system-specific
|
|
Packit |
7838c8 |
build files. This reads the top-level <tt>CMakeLists.txt</tt> file,
|
|
Packit |
7838c8 |
which probes the target system for necessary tools and functions,
|
|
Packit |
7838c8 |
checks any options you specified to configure the build, and then
|
|
Packit |
7838c8 |
outputs build files configured for your system. If using <tt>Unix
|
|
Packit |
7838c8 |
Makefiles</tt>, once configuration is done, you simply
|
|
Packit |
7838c8 |
run <tt>make</tt> (or <tt>gmake</tt>) to build the software and
|
|
Packit |
7838c8 |
then <tt>make install</tt> to do the installation. For other build
|
|
Packit |
7838c8 |
systems, you do the equivalent steps with the tool for that system.
|
|
Packit |
7838c8 |
For example, on any UNIX system:
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
|
|
Packit |
7838c8 |
% cd ./tiff-4.0.5
|
|
Packit |
7838c8 |
% cmake
|
|
Packit |
7838c8 |
...lots of messages...
|
|
Packit |
7838c8 |
% make
|
|
Packit |
7838c8 |
...lots of messages...
|
|
Packit |
7838c8 |
% make test
|
|
Packit |
7838c8 |
...lots of messages...
|
|
Packit |
7838c8 |
# make install
|