Whenever I try to compile DDD version 3.3.1 using the make command (GNU Make version 3.79) I get an error saying:
/bin/sh ./libtool --mode=link c++ -DNDEBUG -O2 -g -W -Wall -mminimal-toc -trigraphs -o stringify stringify.o
c++ -DNDEBUG -O2 -g -W -Wall -mminimal-toc -trigraphs -o stringify stringify.o
+ cc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -g -c -g ./ctest.c -o ctest.o
cpp-precomp: could not open '/usr/X11R6/include'
make[2]: *** [ctest.o] Error 1
make[1]: *** [ctest.o] Error 2
make: *** [all-recursive] Error 1
./configure works fine. I got the same (or at least a very similar) error when I first tried to install lesstif 0.93.14, and it was determined that it was a problem with the version of libtool used. They posted version 0.93.15 using libtool version 1.4.2, and it fixed the problem. Might this problem have the same cause/solution? If so, how can I obtain/make a version of DDD using libtool 1.4.2? If not, what can I do to get DDD to compile correctly? Thanks for any help that can be provided.
My config:
DDD version 3.3.1
LesTif V 0.93.15
GNU Make version 3.79
C++ (and cc) version gcc-932.1, based on gcc version 2.95.2 19991024
Darwin Kernel Version 1.4 (powerpc-apple-darwin1.4)
Xfree86 version 4.1