mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
no cd necessary
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
53b4ec1e01
commit
f88a4aebfb
@ -7,11 +7,10 @@ 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>cd awklib &&
|
<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup &&
|
||||||
cp Makefile.in Makefile.in.backup &&
|
|
||||||
sed -e '/^datadir/s/awk/gawk/' \
|
sed -e '/^datadir/s/awk/gawk/' \
|
||||||
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
|
-e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
|
||||||
cd .. &&
|
> awklib/Makefile.in &&
|
||||||
export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&
|
export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&
|
||||||
./configure --prefix=$LFS/usr --disable-nls \
|
./configure --prefix=$LFS/usr --disable-nls \
|
||||||
--libexecdir=$LFS/usr/bin &&
|
--libexecdir=$LFS/usr/bin &&
|
||||||
@ -22,11 +21,10 @@ 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>cd awklib &&
|
<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup &&
|
||||||
cp Makefile.in Makefile.in.backup &&
|
|
||||||
sed -e '/^datadir/s/awk/gawk/' \
|
sed -e '/^datadir/s/awk/gawk/' \
|
||||||
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
|
-e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
|
||||||
cd .. &&
|
> awklib/Makefile.in &&
|
||||||
./configure --prefix=$LFS/usr --disable-nls \
|
./configure --prefix=$LFS/usr --disable-nls \
|
||||||
--libexecdir=$LFS/usr/bin &&
|
--libexecdir=$LFS/usr/bin &&
|
||||||
make LDFLAGS=-static &&
|
make LDFLAGS=-static &&
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
|
|
||||||
<para>Install Gawk by running the following commands:</para>
|
<para>Install Gawk by running the following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cd awklib &&
|
<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup &&
|
||||||
cp Makefile.in Makefile.in.backup &&
|
|
||||||
sed -e '/^datadir/s/awk/gawk/' \
|
sed -e '/^datadir/s/awk/gawk/' \
|
||||||
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
|
-e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
|
||||||
cd .. &&
|
> awklib/Makefile.in &&
|
||||||
./configure --prefix=/usr --libexecdir=/usr/bin &&
|
./configure --prefix=/usr --libexecdir=/usr/bin &&
|
||||||
make &&
|
make &&
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
Loading…
Reference in New Issue
Block a user