Re: Mowitz link error

From: Ulric Eriksson (ulric@siag.nu)
Date: Sat Feb 09 2002 - 15:41:45 CET


On Thu, 7 Feb 2002, Dumas Patrice wrote:

> Hi,
> I have a redhat 7.2.
> I tried to link Mowitz against XawM, with
> configure --with-gnu-ld;make
> Here is the end of make output:
>
> make[1]: Entre dans le répertoire `/cired/zeus/local/src/Mowitz-0.1.1/examples'

[snip]

> /usr/bin/ld: cannot find -lXawM

This means that you don't have the XawM library.

> When I compile siag (./configure; make), I get that:
>
> Making all in xsiag
> make[2]: Entre dans le répertoire `/cired/zeus/local/src/siag-3.5.0/xsiag'

[snip]

> gcc -Wall -g -O2 -o siag -L../siod -L../common -L../xcommon -L../siag
> -L../XawM/.libs window.o selection.o xsiag.o drop.o -lsiag -lxcommon -lcommon
> -lsiod -lcrypt -lXpm -L/usr/X11R6/lib -lXawM -lMowitz -lXpm -lXmu -lXext -lXt
> -lX11 -lSM
> -lICE -lnsl -lm
> /usr/bin/ld: cannot find -lXawM

Same problem again.

> However when I give --with-xawm=Xaw3d everything is fine.
>
> Is it normal ?

Yes. Any of Xaw, XawM, XawXpm, neXtaw, Xaw95 or Xaw3d work with Mowitz and
Siag (from a technical point of view; the appearance may leave something
to be desired).

XawM used to come bundled with Siag and some widgets in Siag were
subclassed from XawM widgets, but that is no longer the case. So as long
as the API is compatible on a source level, no problem.

Ulric



This archive was generated by hypermail 2.1.2 : Sat Feb 09 2002 - 15:42:34 CET