The usual GNU build incantation should be used:
tar -xpvzf gawk-4.1.0.tar.gz
cd gawk-4.1.0
./configure && make && make check
Bug reports should be sent to address@hidden
Enjoy!
Arnold Robbins (on behalf of all the gawk developers)
address@hidden
For the sake of the exercise, I followed the above steps and ended up with:
(...)
gcc -g -O2 -DNDEBUG -o gawk array.o awkgram.o builtin.o cint_array.o
command.o debug.o dfa.o eval.o ext.o field.o floatcomp.o gawkapi.o
gawkmisc.o getopt.o getopt1.o int_array.o io.o main.o mpfr.o msg.o
node.o profile.o random.o re.o regex.o replace.o str_array.o symbol.o
version.o -lreadline -lm -lm
Undefined symbols for architecture x86_64:
"_history_list", referenced from:
_serialize in debug.o
_do_save in debug.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [gawk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2