Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

X for dummies, or, how to build DDD...



On Sat, 3 Mar 2001, Ken Gosier wrote:
>Question on building DDD, gnu's Data Display Debugger,
>which I downloaded this morning:
>
>I run the configure script, and it fails with the following
>error:
>...
>checking for X11/Xaw/Form.h... yes
>checking for X11/Xaw/Panner.h... yes
>checking for X11/Xaw/Porthole.h... yes
>checking for X11/Xmu/Editres.h... yes
>configure: 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.
>configure: error: ./configure failed for ddd
>
>
>I tried the commands:
>
>find / -name "libXm.a" -print
>find / -name "*Xm*" -print
>
>The first brought back nothing, the second brought back
>lots of different stuff, the closest to libXm.a being:
>
>/usr/X11R6/lib/libXmu.so.6
>/usr/X11R6/lib/libXmu.so.6.0
>/usr/X11R6/lib/libXmu.a
>/usr/X11R6/lib/libXmu.so


You have to install LessTif (or Motif) before installing
DDD; c.f. http://www.gnu.org/software/ddd/#Building

When I installed it, the library was put in /usr/local/lib:

    $ ls /usr/local/lib/libXm*
    libXm.la@  libXm.so@  libXm.so.2@  libXm.so.2.0.0@

Also, after you install a new library (like LessTif), you
have to (or at least I generally do) reload the run-time
library table (or whatever it does):

    # /sbin/ldconfig

Probably the LessTif install instructions (or `make install`)
will mention that (if you forget, ddd might complain that it
can't find the shared library or something).

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org