It's my first time working with gdb and when tried to install version 7.4 to investigate some apps coredump files on our environment got the following error when running "make": checking whether wcwidth is declared without a macro... yes checking for makeinfo... /tmp/gdb-7.4/gdb-7.4/missing makeinfo --split-size=5000000 configure: error: makeinfo is required for compilation *** Error exit code 1 Stop. *** Error exit code 1 There are several errors on config.log file, but I couldn't find the log file for make: # grep -i error config.log "conftest.c", line 14: error #2020: identifier "choke" is undefined 1 error detected in the compilation of "conftest.c". Fatal error. | /* Override any GCC internal prototype to avoid an error. "conftest.c", line 10: error #2005-D: could not open source file "ppl_c.h" "conftest.c", line 16: error #2020: identifier "choke" is undefined 2 errors detected in the compilation of "conftest.c". stage2_werror_flag='' Pls let me know if any additional information is required to have this issue sorted out and installation completed. Thx in advance, Muniz
This was a 7.3->7.4 regression by me, sorry. But if you install makeinfo - which it asks you for - it will work. It has been fixed on the trunk: [patch+7.4] Fix 7.4 build regression by me requiring makeinfo (PR build/13638) http://sourceware.org/ml/gdb-patches/2012-02/msg00152.html You can also try any one of: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-7.4.0.20120319.tar.bz2 ftp://sourceware.org/pub/gdb/snapshots/current/gdb-7.4.50.20120319.tar.bz2 http://www.gnu.org/software/gdb/current/ It should be fixed in 7.5 or if 7.4.1 gets released.