1) download ftp://openmotif.opengroup.org/pub/openmotif/R2.1.30/tars/openmotif2.1.30pl5.tar.gz
2) go to directory ./openmotif/motif/demos/programs/hellomotif
first i tried running `xmkmf` and it says:
imake -DUseInstalled -I/usr/lib/X11/config
but no binary is generated
then i tried `make` and it says:
Makefile:1095: *** missing separator. Stop.
then i tried `imake` and it says:
Imakefile.c:39: error: Imake.tmpl: No such file or directory
imake: Exit code 1.
Stop.
How can I get this (or any Motif program in general) compiled?
Zach
>first i tried running `xmkmf` and it says:
>imake -DUseInstalled -I/usr/lib/X11/config
[...]
>How can I get this (or any Motif program in general) compiled?
The reason you cannot get the HelloWorld application built is because
you did not build your entire structure. The HelloWorld application
comes as a part of the rest of the OpenMotif package, and the Imake
build facility requires that you do the necessary encantations to
configure everything up. I am not familiar with Imake, so I do not know
how this would work, but I do know that you can do it without having to
go through the Make system, since last time we heard from you, you were
using Lesstif instead of OpenMotif.
Generally, if you follow the steps of the source package for building
the system, the first step will configure your Makefiles, and then you
can build the programs.
However it's usually easier than that, because you just have to make
sure you link against the right libraries, like libXm.
--
Aaron W. Hsu <arc...@sacrideo.us> | <http://www.sacrideo.us>
"Government is the great fiction, through which everybody endeavors to
live at the expense of everybody else." -- Frederic Bastiat
+++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) ++++++++++++++