Installation of Ghostscript
If you want to use OMNI drivers extract the source archive in
Ghostscript directory:
tar xzvf ../Omni-0.9.0.tar.gz
Otherwise you must add --without-omni switch to
the configure script if you intend to install the shared
library.
Install Ghostscript by running the following commands:
./configure --prefix=/usr &&
make &&
make install
To install the shared library libgs.so you
have to build it first. If you unpacked the OMNI drivers then you
have to install and create these symlinks:
ln -s glib-1.2/glib.h /usr/include/glib.h &&
ln -s glib-1.2/gmodule.h /usr/include/gmodule.h &&
ln -s ../lib/glib/include/glibconfig.h /usr/include/glibconfig.h
Proceed with the following commands:
patch -Np1 -i ../espgs-7.07.1rc2-gdevpng.patch &&
make so &&
make soinstall
Remove the previously created symlinks since they are not needed
any longer:
rm /usr/include/g{lib,module,libconfig}.h
The shared library is only used in external programs like
.
To finish the installation, unpack all fonts you've loaded to
/usr/share/ghostscript.