Recently I’ve been using GDB to debug an application and wanted to use DDD for a better experience (no I’m not interested in using Eclipse).  I ran into some dependency issues on a pretty basic RedHat 5.4 box and I wanted to share them with you.

Simply using yum to install ddd didn’t work for me.  I had a bit of work to do.

wget http://ftp.gnu.org/gnu/ddd/ddd-3.3.10.tar.gz
tar zxvf ddd-3.3.10.tar.gz

cd ddd-3.3.10
./configure

So here’s where I ran into dependency issues, but Yum did help install the requisite libs.

yum install libtermcap-devel
yum install libXt-devel
yum install openmotif-devel

./configure –enable-builtin-app-defaults
make
make install

Good to go!