diff options
-rw-r--r-- | buildtools/debian/README | 55 | ||||
-rw-r--r-- | doc/INSTALL | 7 |
2 files changed, 56 insertions, 6 deletions
diff --git a/buildtools/debian/README b/buildtools/debian/README index 18ba488f..51983a78 100644 --- a/buildtools/debian/README +++ b/buildtools/debian/README @@ -20,17 +20,62 @@ To install Netpbm as a Debian package: 1) Follow the regular instructions to build and package Netpbm (configure, make, make package). - 2) $ BUILDTOOLS=netpbm-src/buildtools + 2) With the root of the built Netpbm build tree as your current + directory: - (netpbm-src is a Netpbm source tree). - - 3) $ $BUILDTOOLS/debian/mkdeb -buildtools=$BUILDTOOLS + $ make deb (This defaults to getting Netpbm from /tmp/netpbm, which is also where 'make package' defaults to putting it). - 4) $ dpkg --install netpbm-sfXXXX.deb + 3) $ dpkg --install netpbm-sfXXXX.deb (netpbm-sfXXXX.deb is the file created by 'makedeb', in the current directory). + +PREREQUSISITES +-------------- + +The following Debian packages are the known prerequisites for Netpbm +(and the package created by 'mkdeb' knows this). + + libc6 + libjpeg62 + libpng12-0 + libtiff4 + zlib1g + ghostscript + perl + perl-base + bash + +Note that many of these are needed only for a few parts of Netpbm, and it will +be pretty obvious what the problem is when you need the prerequisite package +and don't have it, so if you don't want to install a prerequisite, it would +probably be fine to force install Netpbm, ignoring the prerequisites. + + +CONFLICTS WITH DEBIAN'S NETPBM +------------------------------ + +Debian has several packages of Netpbm, all based on a slightly modified +Sourceforge Netpbm 9.25 from 2002 (don't be confused by Debian's numbering +system, which makes it look like it is Netpbm 10). If you want to install +Sourceforge Netpbm on your system, you will want first to remove any of these +you have installed: + + netpbm + netpbm-dev + libnetpbm9 + libnetpbm10 + +Sourceforge Netpbm should be backward compatible with all of those. Note that +'mkdeb' makes only one package. It contains the programs, the runtime +libraries, and the development files. + +We have not yet worked out what has to be done about the fact that the Debian +packaging system thinks the Debian Netpbm packages are prerequisites for +things. If you install Sourceforge Netpbm via the package created by mkdeb, +you should tell the Netpbm maintainer whatever you learn about that. + diff --git a/doc/INSTALL b/doc/INSTALL index eba1ba22..33bb4bc7 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -21,11 +21,16 @@ finally to install it into your system. If you have a Debian-like system, that uses Dpkg for package management, -it's better to create a Debian package file and install it like this: +it's better to create a Debian package file and install it as follows in +place of the 'installnetpbm' step above. make deb dpkg --install netpbm-sf-*.deb +More information on building and installing on Debian are in the file +buildtools/debian/README in the source tree. + + The 'configure' program is not GNU Autoconf -- it is a simple program specific to Netpbm that prompts you for information about your system. If your system is not typical enough, you'll have to do a little more |