diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/gettext-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/lockingglibc.xml | 8 | ||||
-rw-r--r-- | chapter05/ncurses-inst.xml | 6 | ||||
-rw-r--r-- | chapter05/perl-inst.xml | 10 |
4 files changed, 14 insertions, 14 deletions
diff --git a/chapter05/gettext-inst.xml b/chapter05/gettext-inst.xml index c1dd70ace..660a77486 100644 --- a/chapter05/gettext-inst.xml +++ b/chapter05/gettext-inst.xml @@ -3,8 +3,8 @@ <sect2> <title>Installation of Gettext</title> -<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 && -make LDFLAGS="-s" && +<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 && +make LDFLAGS="-s" && make check make install</userinput></screen></para> diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml index 9b0658aff..dd9c61e2c 100644 --- a/chapter05/lockingglibc.xml +++ b/chapter05/lockingglibc.xml @@ -11,10 +11,10 @@ <para>You can remove the binutils-* directories now.</para> -<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs && -cp ${SPECFILE} ./XX && -sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} && -unset SPECFILE && +<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs && +cp ${SPECFILE} ./XX && +sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} && +unset SPECFILE && rm -f ./XX</userinput></screen></para> </sect2> diff --git a/chapter05/ncurses-inst.xml b/chapter05/ncurses-inst.xml index 5409398ae..2fcb18e7f 100644 --- a/chapter05/ncurses-inst.xml +++ b/chapter05/ncurses-inst.xml @@ -5,10 +5,10 @@ <para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch -./configure --prefix=/stage1 --with-shared --without-debug --without-ada && -make && +./configure --prefix=/stage1 --with-shared --without-debug --without-ada && +make && make install -chmod 755 /stage1/lib/*.5.3 && +chmod 755 /stage1/lib/*.5.3 && ln -s libncurses.a /stage1/lib/libcurses.a ln -sf /stage1/lib/libncurses.so.5 /stage1/lib/libcurses.so</userinput></screen></para> diff --git a/chapter05/perl-inst.xml b/chapter05/perl-inst.xml index a64f7019f..f44cdfde1 100644 --- a/chapter05/perl-inst.xml +++ b/chapter05/perl-inst.xml @@ -3,12 +3,12 @@ <title>Installation of Perl</title> <para><screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc.patch -./configure.gnu --prefix=/stage1 -Doptimize='-O2 -pipe' && +./configure.gnu --prefix=/stage1 -Doptimize='-O2 -pipe' && make perl -make utilities && -cp perl /stage1/bin/perl && -cp pod/pod2man /stage1/bin && -mkdir -p /stage1/lib/perl5/5.8.0 && +make utilities && +cp perl /stage1/bin/perl && +cp pod/pod2man /stage1/bin && +mkdir -p /stage1/lib/perl5/5.8.0 && cp -R lib/* /stage1/lib/perl5/5.8.0</userinput></screen></para> </sect2> |