Install problem with Motif

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Install problem with Motif

Submitted by Anonymous on Fri, 05/03/2002 - 20:35. Developers
Dear Sirs,?

I`m in trouble with Motif`s 2.1.3 installation. I`ve been using Linux Red Hat 7.1 and I had made a change in the file site.def as follows

# define X11ProjectRoot /X11
# define ProjectRoot??? /usr
# define VirtualBindingsPath /usr/lib/bindings?

When I`d started Make command, it showed the message - imake.c16221 Xosdefs.h No such file or directory - and aborted the compilation.
I found the file Xosdefs.h, put it in the directory /builder/motif/config/imake and the
Make command was done well. But when I started Install command it aborted with the following message

make[2] Leaving directory
`/fs0/builder/motif/bitmaps` installing in ./bindings... make[2] Entering
directory (back tick)/fs0/builder/motif/bindings` make[2] *** No rule to
make target (back tick)sun_mit`, needed by (back tick)install`.? Stop.
make[2] Leaving directory (back tick)/fs0/builder/motif/bindings` make[1]
*** [install] Error 2 make[1] Leaving directory (back tick)!
/fs0/builder/motif` make *** [install] Error 2

Please, may someone help me ?
Thanks in advance.
Jamil

Anonymous

Hi all,

Install questions are better put in the General section.

I *strongly* suggest you use OpenMotif 2.2 for building OpenMotif from the source. Also, pre-made rpms are avail (as a pair) - it is not necessary to build mwm yourself.

OpenMotif 2.2 uses autoconfig and is a no brainer to compile.

Ok, I think I know what`s going on. I`ve installed 2.1.30 under redhat 7.0 and 7.?2

These changes are *not* required
# define X11ProjectRoot /X11
# define ProjectRoot /usr
# define VirtualBindingsPath /usr/lib/bindings

The `reason why` is that these are set for you.

As far as xosdefs.h and the rest - first do as RELNOTES says then post another question if these things don`t go away.

I think what happenened is you didn`t set your bash environment variable before building.

You have to set all variables at the prompt so you can use unix command `set` and see them all. Then, you must export each one as said in the RELNOTES. Then you build. You can`t exit the shell during any of this or the environment variables are wiped out.

What happens is that the makefile for 2.1.30 uses these variables to get the right paths - so you can expect it to fail if the instructions in RELNOTES aren`t perfectly followed.

Again - there shouldn`t be and reason you won`t use OpenMotif 2.2
and you`ll likely have no problems there.

Have fun,
John Hendrickson