mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Added sed's for gawk install to change datadir and libexecdir definitions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1715 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
116838838f
commit
1858558e82
@ -33,6 +33,11 @@
|
|||||||
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|
||||||
|
<listitem><para>March 16th, 2002 [gerard]: Chapter 05+06 - Gawk: Added
|
||||||
|
commands to sed the <filename>awklib/Makefile.in</filename> file to change
|
||||||
|
the <emphasis>datadir</emphasis> and <emphasis>libexecdir</emphasis>
|
||||||
|
definitions</para></listitem>
|
||||||
|
|
||||||
<listitem><para>March 15th, 2002 [gerard]: Chapter 01 - Mailing lists:
|
<listitem><para>March 15th, 2002 [gerard]: Chapter 01 - Mailing lists:
|
||||||
Added lfs-chat description</para></listitem>
|
Added lfs-chat description</para></listitem>
|
||||||
|
|
||||||
|
@ -7,7 +7,12 @@ following commands can be used in this case. Note that these commands
|
|||||||
can also be used for other glibc versions so if you aren't sure, then
|
can also be used for other glibc versions so if you aren't sure, then
|
||||||
use the first version.</para>
|
use the first version.</para>
|
||||||
|
|
||||||
<para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&
|
<para><screen><userinput>cd awklib &&
|
||||||
|
cp Makefile.in Makefile.in.backup &&
|
||||||
|
sed -e '/^datadir/s/awk/gawk/' \
|
||||||
|
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
|
||||||
|
cd .. &&
|
||||||
|
export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&
|
||||||
./configure --prefix=$LFS/usr --disable-nls &&
|
./configure --prefix=$LFS/usr --disable-nls &&
|
||||||
unset CPPFLAGS &&
|
unset CPPFLAGS &&
|
||||||
make LDFLAGS=-static &&
|
make LDFLAGS=-static &&
|
||||||
@ -16,7 +21,12 @@ make install</userinput></screen></para>
|
|||||||
<para>If you are using a newer glibc version (2.2.x), you can use the
|
<para>If you are using a newer glibc version (2.2.x), you can use the
|
||||||
following commands to install Gawk:</para>
|
following commands to install Gawk:</para>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &&
|
<para><screen><userinput>cd awklib &&
|
||||||
|
cp Makefile.in Makefile.in.backup &&
|
||||||
|
sed -e '/^datadir/s/awk/gawk/' \
|
||||||
|
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
|
||||||
|
cd .. &&
|
||||||
|
./configure --prefix=$LFS/usr --disable-nls &&
|
||||||
make LDFLAGS=-static &&
|
make LDFLAGS=-static &&
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
|
@ -3,7 +3,12 @@
|
|||||||
|
|
||||||
<para>Install Gawk by running the following commands:</para>
|
<para>Install Gawk by running the following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/usr &&
|
<para><screen><userinput>cd awklib &&
|
||||||
|
cp Makefile.in Makefile.in.backup &&
|
||||||
|
sed -e '/^datadir/s/awk/gawk/' \
|
||||||
|
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
|
||||||
|
cd .. &&
|
||||||
|
./configure --prefix=/usr &&
|
||||||
make &&
|
make &&
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<!ENTITY book SYSTEM "book/book.xml">
|
<!ENTITY book SYSTEM "book/book.xml">
|
||||||
|
|
||||||
<!ENTITY version "20020315">
|
<!ENTITY version "20020316">
|
||||||
<!ENTITY releasedate "March 15th, 2002">
|
<!ENTITY releasedate "March 16th, 2002">
|
||||||
|
|
||||||
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
||||||
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
||||||
|
Loading…
Reference in New Issue
Block a user