mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-23 05:39:19 +01: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>
|
<sect2>
|
||||||
<title>Installation of Gettext</title>
|
<title>Installation of Gettext</title>
|
||||||
|
|
||||||
<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 &&
|
<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 &&
|
||||||
make LDFLAGS="-s" &&
|
make LDFLAGS="-s" &&
|
||||||
make check
|
make check
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@
|
|||||||
|
|
||||||
<para>You can remove the binutils-* directories now.</para>
|
<para>You can remove the binutils-* directories now.</para>
|
||||||
|
|
||||||
<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
||||||
cp ${SPECFILE} ./XX &&
|
cp ${SPECFILE} ./XX &&
|
||||||
sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
||||||
unset SPECFILE &&
|
unset SPECFILE &&
|
||||||
rm -f ./XX</userinput></screen></para>
|
rm -f ./XX</userinput></screen></para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
|
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
|
||||||
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch
|
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch
|
||||||
./configure --prefix=/stage1 --with-shared --without-debug --without-ada &&
|
./configure --prefix=/stage1 --with-shared --without-debug --without-ada &&
|
||||||
make &&
|
make &&
|
||||||
make install
|
make install
|
||||||
chmod 755 /stage1/lib/*.5.3 &&
|
chmod 755 /stage1/lib/*.5.3 &&
|
||||||
ln -s libncurses.a /stage1/lib/libcurses.a
|
ln -s libncurses.a /stage1/lib/libcurses.a
|
||||||
ln -sf /stage1/lib/libncurses.so.5 /stage1/lib/libcurses.so</userinput></screen></para>
|
ln -sf /stage1/lib/libncurses.so.5 /stage1/lib/libcurses.so</userinput></screen></para>
|
||||||
|
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<title>Installation of Perl</title>
|
<title>Installation of Perl</title>
|
||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc.patch
|
<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 perl
|
||||||
make utilities &&
|
make utilities &&
|
||||||
cp perl /stage1/bin/perl &&
|
cp perl /stage1/bin/perl &&
|
||||||
cp pod/pod2man /stage1/bin &&
|
cp pod/pod2man /stage1/bin &&
|
||||||
mkdir -p /stage1/lib/perl5/5.8.0 &&
|
mkdir -p /stage1/lib/perl5/5.8.0 &&
|
||||||
cp -R lib/* /stage1/lib/perl5/5.8.0</userinput></screen></para>
|
cp -R lib/* /stage1/lib/perl5/5.8.0</userinput></screen></para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
<para><screen><userinput>cd binutils-build
|
<para><screen><userinput>cd binutils-build
|
||||||
make -C ld INSTALL=/stage1/bin/install install-data-local
|
make -C ld INSTALL=/stage1/bin/install install-data-local
|
||||||
SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
||||||
cp ${SPECFILE} ./XX &&
|
cp ${SPECFILE} ./XX &&
|
||||||
sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
||||||
unset SPECFILE &&
|
unset SPECFILE &&
|
||||||
rm -f ./XX</userinput></screen></para>
|
rm -f ./XX</userinput></screen></para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
<para><screen><userinput>./configure --prefix=/usr
|
<para><screen><userinput>./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /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/{dir,dircolors,du,date,echo,false,head} /bin &&
|
||||||
mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /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/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin &&
|
||||||
mv /usr/bin/{touch,true,uname,vdir} /bin
|
mv /usr/bin/{touch,true,uname,vdir} /bin
|
||||||
mv /usr/bin/chroot /usr/sbin
|
mv /usr/bin/chroot /usr/sbin
|
||||||
ln -s test /bin/[
|
ln -s test /bin/[
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
<!ENTITY version "20030507">
|
<!ENTITY version "20030507">
|
||||||
<!ENTITY releasedate "May 7th, 2003">
|
<!ENTITY releasedate "May 7th, 2003">
|
||||||
|
<!ENTITY nbsp " ">
|
||||||
|
|
||||||
<!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