mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 17:17:20 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1074 af4574ff-66df-0310-9fd7-8a98e5e911e0
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<sect2>
|
|
<title>Installation of <application>Ghostscript</application></title>
|
|
|
|
<para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
|
|
Ghostscript directory:</para>
|
|
|
|
<screen><userinput><command>tar xzvf ../Omni-0.9.0.tar.gz</command></userinput></screen>
|
|
|
|
<para>Otherwise you must add <command>--without-omni</command> switch to
|
|
the configure script if you intend to install the shared
|
|
library.</para>
|
|
|
|
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
<para>To install the shared library <filename>libgs.so</filename>, run
|
|
the following commands additionally:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../espgs-7.07.1rc2-gdevpng.patch &&
|
|
make so &&
|
|
make soinstall</command></userinput></screen>
|
|
|
|
<note><para>The shared library is only used in external programs like
|
|
<xref linkend="gsview"/>.</para></note>
|
|
|
|
<para>To finish the installation, unpack all fonts you've loaded to
|
|
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
|
|
|
</sect2>
|