On 09/28/2009 11:35 AM, Jim Michmerhuizen wrote: > Hi maillist members -- > > I'm having trouble building the first-pass glibc-2.10.1 according to the > instructions in section 5.7.1 of the 6.5 LFS book. > > [1] the Make aborts with this message: > mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed > (bad class -- [], [^] or [) > /[^ > mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ] > mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", > subd ...
William's suggestion to install Gawk is correct, however more generally you need to check the "Host System Requirements" page and make sure you have everything listed there - Gawk is just one > > [2] environment notes: > > [2.1] The platform is ubuntu 8.10 on an AMDx86-64. I'm somewhat > familiar with LFS, having completed two systems in the past five years > or so. > > [2.2] the build partition is on a local server, nfs-mounted to my > workstation's /net/ottawa/sdb/10, which in turn is softlinked into a > user account dedicated to the build: /home/lfsdev/wrk/. I keep separate > subtrees for 'src' and 'bld'. > > [2.3] the build-partition tree: > lfs...@holland:~/wrk/lfs$ du -h --max-depth=2 > 299M ./bld/gcc > 612K ./bld/glibc > 300M ./bld > 59M ./tools/bin > 2.4M ./tools/lib > 860K ./tools/x86_64-lfs-linux-gnu > 2.2M ./tools/info > 4.0K ./tools/share > 4.1M ./tools/include > 39M ./tools/libexec > 1.3M ./tools/man > 108M ./tools > 138M ./src/binutils-2.19.1 > 567M ./src/gcc-4.4.1 > 398M ./src/linux-2.6.30.2 > 121M ./src/glibc-2.10.1 > 112M ./src/binutils-build > 1.7G ./src > 2.1G . > Besides the Host System Requirements, it appears you missed a note on page 5.3, that says to delete the source and build dirs after each installation. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
