[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building ddd-3.3 on hpux 10.20
From: |
Lutz Jaenicke |
Subject: |
Re: Building ddd-3.3 on hpux 10.20 |
Date: |
Tue, 3 Jul 2001 21:07:33 +0200 |
User-agent: |
Mutt/1.2.5i |
On Tue, Jul 03, 2001 at 01:22:17PM -0400, V. Mark Lehky wrote:
> I am having problems getting ddd version 3.3 to configure on hpux 10.20.
>
> I am using gcc 2.95.2, GNU binutils 2.10, and the HP version of ld. I have
> also built / installed GNU Motif 1.2.
>
> The error that I get from configure is:
> 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.
Obviously configure fails to link a test program when -lXm is added.
Please check out config.log to find out why.
In /usr/local/tools/LessTif/Motif1.2/lib you should find libXm.sl and/or
libXm.a. It is well possible, that they are available but some other error
occurs during the test (I don't have configure for DDD available in this
moment). The answer should be found in config.log.
> I have tried several things, all of which produced the same error. I have
> also seen the note in the PROBLEMS file, which says:
> Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE> adds that when
> using GCC, you _must_ link in Motif(?) statically with
> /usr/lib/libXm.a instead of the dynamic version obtained by
> specifying -lXm.
This applies to the "original" Motif1.2 coming with HP-UX 10.20. The
static library and header files are however only available when you have
bought the developer's kit.
> configure --prefix=/usr/local/tools --disable-shared \
> --with-motif-includes=/usr/local/tools/LessTif/Motif1.2/include \
> --with-motif-libraries=/usr/local/tools/LessTif/Motif1.2/lib
Best regards,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke@aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153