source: pst/printing/gs/espgs-inst.xml@ 64a25d5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 64a25d5 was 6a2a5bc, checked in by Igor Živković <igor@…>, 21 years ago

added gtk1 to espgs dependencies

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1082 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[a486991]1<sect2>
[ff074127]2<title>Installation of <application>Ghostscript</application></title>
[a486991]3
[ff074127]4<para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
5Ghostscript directory:</para>
[a486991]6
[ff074127]7<screen><userinput><command>tar xzvf ../Omni-0.9.0.tar.gz</command></userinput></screen>
8
[461626e]9<para>Otherwise you must add <command>--without-omni</command> switch to
10the configure script if you intend to install the shared
11library.</para>
12
[ff074127]13<para>Install <application>Ghostscript</application> by running the following commands:</para>
14
[461626e]15<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
[a486991]16make &amp;&amp;
[ff074127]17make install</command></userinput></screen>
18
[c5cc8b3]19<para>To install the shared library <filename>libgs.so</filename> you
[6a2a5bc]20will need <xref linkend="GTK"/>. Additionally, if you unpacked the
21<acronym>OMNI</acronym> drivers then you have to install <xref
22linkend="GLib"/> and create these symlinks:</para>
[c5cc8b3]23
24<screen><userinput><command>ln -s glib-1.2/glib.h /usr/include/glib.h &amp;&amp;
25ln -s glib-1.2/gmodule.h /usr/include/gmodule.h &amp;&amp;
26ln -s ../lib/glib/include/glibconfig.h /usr/include/glibconfig.h</command></userinput></screen>
27
28<para>Proceed with the following commands:</para>
[ff074127]29
[461626e]30<screen><userinput><command>patch -Np1 -i ../espgs-7.07.1rc2-gdevpng.patch &amp;&amp;
31make so &amp;&amp;
[ff074127]32make soinstall</command></userinput></screen>
[a486991]33
[c5cc8b3]34<para>Remove the previously created symlinks since they are not needed
35any longer:</para>
36
37<screen><userinput><command>rm /usr/include/g{lib,module,libconfig}.h</command></userinput></screen>
38
[ff074127]39<note><para>The shared library is only used in external programs like
40<xref linkend="gsview"/>.</para></note>
[a486991]41
[ff074127]42<para>To finish the installation, unpack all fonts you've loaded to
43<filename class="directory">/usr/share/ghostscript</filename>.</para>
[a486991]44
45</sect2>
Note: See TracBrowser for help on using the repository browser.