Re: ddd Configuration Error - Linux FC5
"Andrew Gaylard" <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
On 5/21/07, Aref Taidi <[email protected]> wrote: > > Hello all, > > I am trying to build and install ddd version 3.3.11. > > Following the instructions on your website, I downloaded the source > distribution of LessTiff version 0.95. Using its automatic configuration > by running the configure file for LessTiff and then making it, it built > without error messages. > > Then I ran the configure file for ddd in ddd-3.3.11 directory where I > had un-tarred ddd-3.3.11.tar.tar. > > Running ./configure gives me the following error: > > configure: error: > The Motif include file 'Xm/Xm.h' could not be found. > Please use the configure options '--with-motif-includes=DIR' > and '--with-motif-libraries=DIR' to specify the Xm location. > See the files 'config.log' and 'ddd/config.log' > for further diagnostics. > > I found out where Xm/Xm.h and the library were so ran the following > command: > ./configure > --with-motif-icludes=/usr/src/lesstif-0.95.0/include/Motif-2.1/Xm > --with-motif-libraries=/usr/src/lesstif-0.95.0/lib/Xm-2.1/.libs/ > > but still got the same error message. I have attached the config.log - > no makefile is generated although there is an old Makefile.in in the > directory. > > Can anybody help? Hi Aref, It looks like you aren't installing LessTif. You need to do the whole "./configure; make; make install" process before trying to configure DDD. I usually do something like this: tar zxf lesstif-0.95.0.tar.gz cd lesstif-0.95.0 ./configure --prefix=/opt/lesstif-0.95.0/ make su make install ^D cd .. tar zxf ddd-3.3.11.tar.gz cd ddd-3.3.11 ./configure --with-motif-includes=/opt/lesstif-0.95.0/include --with-motif-libraries=/opt/lesstif-0.95.0/lib make make test make install This is all from memory, so I may have missed something or got something wrong. Andrew _______________________________________________ Ddd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ddd