mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 03:37:18 +08:00
5e9b2ef996
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2174 af4574ff-66df-0310-9fd7-8a98e5e911e0
25 lines
884 B
XML
25 lines
884 B
XML
<sect2>
|
|
<title>Installation of <application>Ghostscript</application></title>
|
|
|
|
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
<para>To install the shared library <filename>libgs.so</filename> you
|
|
will need <xref linkend="GTK"/>.</para>
|
|
|
|
<para>Proceed with the following commands:</para>
|
|
|
|
<screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' 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 downloaded to
|
|
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
|
|
|
</sect2>
|