Bug 13861 - Error when installing GDB-7.4 on HPUX 11.31
Summary: Error when installing GDB-7.4 on HPUX 11.31
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: corefiles (show other bugs)
Version: 7.4
: P2 normal
Target Milestone: 7.5
Assignee: Jan Kratochvil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-16 21:07 UTC by muniz
Modified: 2012-03-19 16:29 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muniz 2012-03-16 21:07:58 UTC
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
Comment 1 Jan Kratochvil 2012-03-19 16:29:14 UTC
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.