Archive for Ubuntu

Compiling glibc 2.4 on Ubuntu 5.06

A default install of Ubuntu 5.06 might come up with these errors when compiling glibc 2.4:

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 …

It turns out that mawk, the AWK interpreter that comes installed on Ubuntu by default, isn’t supported by glibc. To fix this, open up Synaptic (System, Administration, Synaptic Package Manager) and install the gawk package in the Interpreted Computer Languages section. Afterwards, you’ll need to reconfigure glibc before compiling it again so it knows to use gawk instead of mawk. As a side note, make sure you always use the latest release version of packages; trying to compile glibc 2.3.6 won’t work on Ubuntu 5.06.

Comments