[lfs-support] Error at GlibC

Bruce Dubbs bruce.dubbs at gmail.com
Tue Aug 14 11:31:00 PDT 2012


Eleanore Boyd wrote:
> On 8/14/2012 11:12 AM, Mikie wrote:
>>
>> Hello all,
>>
>> When I did:
>>
>> make install
>>
>> ... at    5.7. Glibc-2.14.1
>>
>> I got an error:
>>
>> lfs at ubuntu:/mnt/lfs/sources/glibc-build$ make install
>>
>> LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
>>
>>         make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1
>> objdir=`pwd` install
>>
>> make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'
>>
>> mawk -f scripts/gen-sorted.awk \
>>
>>                -v subdirs='csu assert ctype locale intl catgets math
>> setjmp signal stdlib stdio-common libio malloc string wcsmbs time
>> dirent grp pwd posix io termios resource misc socket sysvipc gmon
>> gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss
>> localedata timezone rt conform debug libidn dlfcn elf' \
>>
>>                -v srcpfx='' \
>>
>>                nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs
>> sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend
>> stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend
>> string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend
>> nss/Depend localedata/Depend rt/Depend debug/Depend >
>> /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
>>
>> 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 ...
>>
>> make[1]: *** No rule to make target
>> `/mnt/lfs/sources/glibc-build/Versions.all', needed by
>> `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
>>
>> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
>>
>> make: *** [install] Error 2
>>
>> lfs at ubuntu:/mnt/lfs/sources/glibc-build$
>>
>>
>>
> First off, the book says to use gawk, not mawk. Check your host system
> requirements and configure your system as such. In the case of Ubuntu,
> you will need to uninstall mawk to insure that only gawk is being used,
> and remove packages that rely on mawk as well, as you will otherwise not
> need them.

That's a little overkill.  Just install gawk and reset the symlink 
/usr/bin/awk -> /usr/bin/gawk.

   -- Bruce




More information about the lfs-support mailing list