I did a checkout of main from SVN on 20 June 2008 on Red Hat Enterprise Linux Client 5 (Tikanga) and the build process failed using runbuild.sh. The first point of failure shown in the log is copied below.
Link /dcs/pg07/adrianh/workspace/ingres_main/build/bin/iyacc
/dcs/pg07/adrianh/workspace/ingres_main/build/lib/libcompat.a(louniq.o): In function `LOuniq':
louniq.c:(.text+0x17f): warning: the use of mktemp' is dangerous, better use mkstemp'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `PC'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `tgetent'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `UP'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `tgoto'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `tgetnum'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `BC'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
cc -rdynamic -o /dcs/pg07/adrianh/workspace/ingres_main/build/bin/iyacc /dcs/pg07/adrianh/workspace/ingres_main/src/front/tools/yacc/y1.o /dcs/pg07/adrianh/workspace/ingres_main/tools/lib/libyacc.a /dcs/pg07/adrianh/workspace/ingres_main/build/lib/libcompat.a -L/dcs/pg07/adrianh/workspace/ingres_main/build/lib -lpthread -lrt -lm -lc -lcrypt -ldl -lgcc_s -lreadline
...failed
The full log file is attached.