RE: ddd Configuration Error - Linux FC5

"Aref Taidi" <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <002701c79c50$4b4eca40$0500a8c0@AlienComputer>
Hello Andrew,
 
You were quite right I had to install it and now have managed to build
ddd and installed it. It was not necessary to issue the configure
command containing --with-motif-includes=/opt/lesstif-0.95.0/include
--with-motif-libraries=/opt/lesstif-0.95.0/lib
The configure ran on its own.
 
Now when I run ddd I am getting the following error message:
ddd: error while loading shared libraries: libXm.so.2: cannot open
shared object file: No such file or directory
 
Do you know what the problem is please?
 
Many thanks.
 
Aref
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf
Of Andrew Gaylard
Sent: 22 May 2007 08:07
To: Discussion list for DDD,the GNU graphical debugger front end
Subject: Re: ddd Configuration Error - Linux FC5
 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.