glfs/pst/printing/espgs/espgs-inst.xml
Igor Živković f641c377b5 fixed omni drivers version reported by Jester
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2048 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-04-22 22:03:32 +00:00

38 lines
1.4 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.1.tar.gz</command></userinput></screen>
<para>Otherwise you must add <option>--without-omni</option> 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 --without-gimp-print &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
<para>To install the shared library <filename>libgs.so</filename> you
will need <xref linkend="GTK"/>. Additionally, if you unpacked the
<acronym>OMNI</acronym> drivers then you also have to apply the glib
patch:</para>
<screen><userinput><command>patch -Np1 -i ../espgs-7.07.1-glib.patch</command></userinput></screen>
<para>Proceed with the following commands:</para>
<screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &amp;&amp;
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 downloaded to
<filename class="directory">/usr/share/ghostscript</filename>.</para>
</sect2>