Added a sed command to the Zip instructions to fix an installation problem, suggested by Matthew Burgess

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3559 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-03-18 17:34:38 +00:00
parent 53adac308f
commit 5e97b516e9
3 changed files with 13 additions and 4 deletions

View File

@ -5,7 +5,7 @@
<!ENTITY releasedate "March &day;th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "cvs"> <!-- cvs|[release #] -->
<!ENTITY lfs-version "6.0"> <!-- version|stable|testing|unstable] -->
<!ENTITY lfs-version "development"> <!-- version|stable|testing|unstable|development] -->
<!ENTITY last-commit "$Date$"> <!-- Automatic update -->
<!ENTITY maintainer-fullname "Bruce Dubbs">

View File

@ -51,18 +51,23 @@ url="&zip-download-ftp;"/></para></listitem>
<para>Install <application>Zip</application> by running the following
commands:</para>
<screen><userinput><command>make prefix=/usr -f unix/Makefile generic_gcc</command></userinput></screen>
<screen><userinput><command>sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
unix/Makefile &amp;&amp;
make prefix=/usr -f unix/Makefile generic_gcc</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make prefix=/usr -f unix/Makefile install &amp;&amp;
install -v -m644 man/zip.1 /usr/share/man/man1</command></userinput></screen>
<screen><userinput role='root'><command>make prefix=/usr -f unix/Makefile install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>sed -i -e ... unix/Makefile</command>: The
<filename>Makefile</filename> has a bug which causes the installation to fail.
This command fixes the problem.</para>
<para><command>make prefix=/usr -f unix/Makefile generic_gcc</command>: This
command overrides the <varname>prefix</varname> variable that is set to
<filename class='directory'>/usr/local</filename> in the

View File

@ -22,6 +22,10 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>March 18th, 2005 [randy]: Added a sed command to the Zip
instructions to fix an installation problem, suggested by Matthew
Burgess.</para></listitem>
<listitem><para>March 17th, 2005 [bdubbs]: Released Version
6.0-pre1.</para></listitem>