Hi all, I am using stable LFS7.0 book, and doing the build step by step. Every thing goes well before 6.9.1. Installation of Glibc. But within 6.9.1. Installation of Glibc, I encountered two errors which are both about the "command substitution". After I encountered these two errors, I suspect I missed something import point, So I did it again from a fresh begin, but the two errors occured again. The first time I am using debian 5 ,and second try is using ubuntu 11.10. Any body have some comments? Thanks!
the first is: root:/sources/glibc-2.14.1# DL=$(readelf -l /bin/sh | sed -n 's@ .*interpret.*/tools\(.*\)]$@\1@p') bash: command substitution: line 39: syntax error near unexpected token `)' bash: command substitution: line 39: `readelf -l /bin/sh | sed -n 's@ .*interpret.*/tools\(.*\)]$@\1@p')' and the second happened when issuing "make" for glibc: ./scripts/mkinstalldirs /sources/glibc-build/linkobj mkdir /sources/glibc-build/linkobj (cd /sources/glibc-build/linkobj; \ /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar x ../libc_pic.a; \ rm $(/tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//'); \ /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar x ../sunrpc/librpc_compat_pic.a; \ /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar cr libc_pic.a *.os; \ rm *.os) /bin/sh: command substitution: line 3: syntax error near unexpected token `)' /bin/sh: command substitution: line 3: `/tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//')' make[1]: *** [/sources/glibc-build/linkobj/libc_pic.a] Error 1 make[1]: Leaving directory `/sources/glibc-2.14.1' make: *** [all] Error 2
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page