mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
XML fixes and nbsp fix for lfscmd.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2542 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5b2a34dd5f
commit
243d49acd6
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
<para><screen><userinput>cd binutils-build
|
||||
make -C ld INSTALL=/stage1/bin/install install-data-local
|
||||
SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
||||
cp ${SPECFILE} ./XX &&
|
||||
sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
||||
unset SPECFILE &&
|
||||
SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
||||
cp ${SPECFILE} ./XX &&
|
||||
sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
||||
unset SPECFILE &&
|
||||
rm -f ./XX</userinput></screen></para>
|
||||
|
||||
</sect1>
|
||||
|
@ -6,10 +6,10 @@
|
||||
<para><screen><userinput>./configure --prefix=/usr
|
||||
make
|
||||
make install
|
||||
mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin &&
|
||||
mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin &&
|
||||
mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin &&
|
||||
mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin &&
|
||||
mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin &&
|
||||
mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin &&
|
||||
mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin &&
|
||||
mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin &&
|
||||
mv /usr/bin/{touch,true,uname,vdir} /bin
|
||||
mv /usr/bin/chroot /usr/sbin
|
||||
ln -s test /bin/[
|
||||
|
Loading…
Reference in New Issue
Block a user