Subject: Re: openmotif progress/regress
To: None <mcmahill@mtl.mit.edu>
From: Johnny Lam <jlam@jgrind.org>
List: tech-pkg
Date: 11/29/2001 09:30:05
On Thu, Nov 29, 2001 at 09:16:40AM -0500, mcmahill@mtl.mit.edu wrote:
> 
> It was noted on port-pmax that x11/openmotif doesn't build on pmax.  I
> created the following patch:
> 
>   http://www-mtl.mit.edu/~mcmahill/netbsd/openmotif-patch-ap
> 
> which makes the NetBSD.cf file in openmotif look like the patched one in
> net/vnc (those patches fix up vnc for most/all NetBSD archs).
> 
> Now openmotif builds and I can run the 'draw' demo program.  It
> fails on install though:
> 
> installing in clients/uil...
> install -c -m 0555 -o root -g wheel libUil.so.2.1 /usr/X11R6/lib
> + rm -f /usr/X11R6/lib/libUil.so.2
> + ln -s libUil.so.2.1 /usr/X11R6/lib/libUil.so.2
> rm -f /usr/X11R6/lib/libUil.so
> ln -s libUil.so.2.1 /usr/X11R6/lib/libUil.so
> install -c -m 0444 -o root -g wheel libUil.a /usr/X11R6/lib
> ranlib  /usr/X11R6/lib/libUil.a
> + mkdir -p /usr/X11R6/include/uil
> + install -c -m 0444 -o root -g wheel Uil.h /usr/X11R6/include/uil
> + install -c -m 0444 -o root -g wheel UilSymGl.h /usr/X11R6/include/uil
> + install -c -m 0444 -o root -g wheel UilDBDef.h /usr/X11R6/include/uil
> + install -c -m 0444 -o root -g wheel UilSymDef.h /usr/X11R6/include/uil
> + install -c -m 0444 -o root -g wheel UilDef.h /usr/X11R6/include/uil
> + install -c -m 0444 -o root -g wheel XmAppl.uil /usr/X11R6/include/uil
> make: don't know how to make unshared/UilCmd.o. Stop
> 
> 
> this seems to have been caused by the patch3 file in
> /usr/pkgsrc/distfiles/openmotif
> 
> Does anything obvious jump out as to whats missing here?

This has something to do with SeparateSharedCompile, I think, which is
set to "NO" for MIPS architectures in your openmotif-patch-ap.

> I guess we know openmotif works on i386 at least?

Yes, that is my primary test platform, and it build and installs correctly
with and without xpkgwedge.

	Cheers,

	-- Johnny Lam <jlam@jgrind.org>