Installation |
PDF manual "png2pdf.pdf" available |
Prerequisitions
The following libraries are recommended/required to install png2pdf:
- zlib (required)
http://www.gzip.org/zlib - bzip2 (recommended)
http://sources.redhat.com/bzip2 - libpng (required)
http://www.libpng.org - dklibs 1.11.2 or above (required)
http://sourceforge.net/projects/dklibs
Some systems have separated packages: one for binaries and shared libraries and an additional one (mostly called "xxx developer support") containing C header files and other material needed to compile programs using the library.
Download
The software can be obtained via http://sourceforge.net/projects/png2pdf
Building and installing the software
Make sure to have CFLAGS and LDFLAGS set properly. For dklibs
these variables must point to the include/lib subdirectory of the
directory where the dklibs were installed to, not to
the dklibs source/build directory.
After unpacking the source archive run
./configure make make installThe usual options are recognized by the configure script.
Windows installation
Building the libraries and the programs using the libraries
on Windows systems from source requires manual changes in makefiles.
Good skills in using the development tools and a significant amount of
time is needed to do that.
So it is recommended to use the setup program in dklibs-win32-*-setup.exe from
http://sourceforge.net/projects/dklibs.
This program installs dklibs, dktools, bmeps, png2pdf, yanolc and genau.
There are two different setup programs:
- A small executable dklibs_win32-*-user-setup.exe to install software for users (binaries and documentation) and
- a larger executable dklibs-win32-*-dev-setup.exe to install the software for developers (binaries, documentation, libraries, used libraries and sources).