10.0
10.1
11.0
11.1
11.2
11.3
12.0
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/inkscape-core-mods
ken/tuningfonts
krejzi/svn
lazarus
lxqt
nosym
perl-modules
plabs/python-mods
qt5new
renodr/vulkan-addition
systemd-11177
systemd-13485
trunk
upgradedb
v5_1
v5_1-pre1
xry111/intltool
xry111/soup3
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 488388be was 488388be, checked in by Tushar Teredesai <tushar@…>, 20 years ago |
Fixed Bug 644 - espgs and libpng
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1899 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | <sect2>
|
---|
2 | <title>Installation of <application>Ghostscript</application></title>
|
---|
3 |
|
---|
4 | <para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
|
---|
5 | Ghostscript directory:</para>
|
---|
6 |
|
---|
7 | <screen><userinput><command>tar xzvf ../Omni-0.9.0.tar.gz</command></userinput></screen>
|
---|
8 |
|
---|
9 | <para>Otherwise you must add <option>--without-omni</option> switch to
|
---|
10 | the configure script if you intend to install the shared
|
---|
11 | library.</para>
|
---|
12 |
|
---|
13 | <para>Install <application>Ghostscript</application> by running the following commands:</para>
|
---|
14 |
|
---|
15 | <screen><userinput><command>./configure --prefix=/usr --without-gimp-print &&
|
---|
16 | make &&
|
---|
17 | make install</command></userinput></screen>
|
---|
18 |
|
---|
19 | <para>To install the shared library <filename>libgs.so</filename> you
|
---|
20 | will need <xref linkend="GTK"/>. Additionally, if you unpacked the
|
---|
21 | <acronym>OMNI</acronym> drivers then you also have to apply the glib
|
---|
22 | patch:</para>
|
---|
23 |
|
---|
24 | <screen><userinput><command>patch -Np1 -i ../espgs-7.07.1-glib.patch</command></userinput></screen>
|
---|
25 |
|
---|
26 | <para>Proceed with the following commands:</para>
|
---|
27 |
|
---|
28 | <screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &&
|
---|
29 | make soinstall</command></userinput></screen>
|
---|
30 |
|
---|
31 | <note><para>The shared library is only used in external programs like
|
---|
32 | <xref linkend="gsview"/>.</para></note>
|
---|
33 |
|
---|
34 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
35 | <filename class="directory">/usr/share/ghostscript</filename>.</para>
|
---|
36 |
|
---|
37 | </sect2>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.