2003-02-21 00:19:36 +08:00
|
|
|
<sect2>
|
2003-09-10 09:16:47 +08:00
|
|
|
<title>Installation of <application>Ghostscript</application></title>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
|
|
|
|
Ghostscript directory:</para>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<screen><userinput><command>tar xzvf ../Omni-0.9.0.tar.gz</command></userinput></screen>
|
|
|
|
|
2003-10-01 08:45:19 +08:00
|
|
|
<para>Otherwise you must add <option>--without-omni</option> switch to
|
2003-09-15 04:33:08 +08:00
|
|
|
the configure script if you intend to install the shared
|
|
|
|
library.</para>
|
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
|
|
|
|
2004-01-06 07:18:25 +08:00
|
|
|
<screen><userinput><command>./configure --prefix=/usr --without-gimp-print &&
|
2003-02-21 00:19:36 +08:00
|
|
|
make &&
|
2003-09-10 09:16:47 +08:00
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
2003-09-15 23:59:34 +08:00
|
|
|
<para>To install the shared library <filename>libgs.so</filename> you
|
2003-09-16 04:55:42 +08:00
|
|
|
will need <xref linkend="GTK"/>. Additionally, if you unpacked the
|
2004-02-05 19:09:34 +08:00
|
|
|
<acronym>OMNI</acronym> drivers then you also have to apply the glib
|
|
|
|
patch:</para>
|
2003-09-15 23:59:34 +08:00
|
|
|
|
2004-02-05 19:09:34 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../espgs-7.07.1-glib.patch</command></userinput></screen>
|
2003-09-15 23:59:34 +08:00
|
|
|
|
|
|
|
<para>Proceed with the following commands:</para>
|
2003-09-10 09:16:47 +08:00
|
|
|
|
2004-03-16 23:28:02 +08:00
|
|
|
<screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &&
|
2003-09-10 09:16:47 +08:00
|
|
|
make soinstall</command></userinput></screen>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<note><para>The shared library is only used in external programs like
|
|
|
|
<xref linkend="gsview"/>.</para></note>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-12-21 08:33:22 +08:00
|
|
|
<para>To finish the installation, unpack all fonts you've downloaded to
|
2003-09-10 09:16:47 +08:00
|
|
|
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
|
|
|
</sect2>
|