I am trying to build emacs for Alpine Linux by following the instructions. After installing the relevant packages I run

configure --with-x-toolkit=lucid --with-mailutils --enable-gcc-warnings --with-modules --enable-link-time-optimization

Then I run make and I run into the following problem

make info/dir


awk: bad regex '@value{emacsname}': Invalid contents of {}

The problematic line is in make-info-dir:L41

gsub(/@value{emacsname}/, "Emacs")

Any guess as to why that happens? If I delete the line it seems to work.

1 Answer 1


Found it, for some reason emacs is not happy with the busybox awk. Installing gawk seems to resolve the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.