mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
Fix configure issues in a2ps
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7771 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
8980312724
commit
30d39a5bb3
@ -3,7 +3,7 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "19"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "22"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "02"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2009">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
|
@ -41,6 +41,15 @@
|
||||
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>February 22th, 2009</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[thomas] - Fix configure issues in a2ps.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>February 19th, 2009</para>
|
||||
<itemizedlist>
|
||||
|
@ -78,6 +78,8 @@
|
||||
|
||||
<bridgehead renderas="sect3">a2ps Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="gperf"/></para>
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended"><xref linkend="psutils"/>, and
|
||||
<xref linkend="cups"/> or <xref linkend="LPRng"/>
|
||||
@ -105,11 +107,23 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of a2ps</title>
|
||||
|
||||
<para>First run <command>autoconf</command> to recreate the
|
||||
<filename>configure</filename> script. This is required cause
|
||||
there is an issue in the mktime test which would cause the
|
||||
<filename>configure</filename> to hang for 60 seconds and than
|
||||
report that there is no working mktime function.</para>
|
||||
|
||||
<screen><userinput>autoconf</userinput></screen>
|
||||
|
||||
<para>Fix a bug in the handling of the version output of
|
||||
<command>gperf</command>:</para>
|
||||
|
||||
<screen><userinput>sed -i "s;GPERF --version |;& head -n 1 |;" configure</userinput></screen>
|
||||
|
||||
<para>Install <application>a2ps</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh &&
|
||||
sed -i "s|/usr/local/share|/usr/share|" configure &&
|
||||
<screen><userinput>sed -i "s;/usr/local/share;/usr/share;" configure &&
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/a2ps \
|
||||
--enable-shared \
|
||||
|
Loading…
Reference in New Issue
Block a user