[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems installing DDD
From: |
Andrew Gaylard |
Subject: |
Re: problems installing DDD |
Date: |
Sun, 13 Feb 2005 15:22:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 |
dm9 wrote:
Hi there,
I am having problems installing DDD. I have downloaded ddd 3.3.10 and also
lesstif 0.94. I first
did a configure and then make on lesstif and that was fine. I then cd to ddd
3.3.10 folder and
did a configure but am getting the following error,
The Motif library '-lXm' 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 tried putting in the --with-motif...... commands but to no avail. I am not
sure what to put in
for DIR. I tried the following but I keep getting the same error,
./configure
--with-motif-includes=/usr/local/src/lesstif-0.94.0/include/Motif-2.1/Xm
--with-motif-libraries=/usr/local/src/lesstif-0.94.0/lib
I would really appreciate it if someone could help me out with this,
Thanks,
Denis.
Denis,
You should not be pointing DDD's configure at the sources for LessTif.
You need to ./configure; make; make install for LessTif first, then
for DDD.
So you might do the following:
cd lesstif-0.94.0
./configure --prefix=/opt/lesstif-0.94
make
make install
cd ../ddd-3.3.10
./configure --prefix=/opt/ddd-3.3.10 \
--with-motif-includes=/opt/lesstif-0.94/include
--with-motif-libraries=/opt/lesstif-0.94/lib
make
make install
I've just tried this, and it worked perfectly.
When ddd's configure runs, you should see a line similar to the
following:
...
checking for Motif... libraries /opt/lesstif-0.94.0/lib, headers
/opt/lesstif-0.94.0/include
That shows *exactly* what's going on.
Cheers,
Andrew.