openmotif and geomview

Hi,
I have a macbook with leopard os and I try to install geomview using openmotif but I get error message:
Can't find Motif header file Xm/Xm.h. Geomview requires Motif
(or Lesstif). See the file INSTALL.Geomview for details.

What should I do to use openmotif instead of motif
I typed the command ./confugure

Thank you
cfg


Andriy Konoval

Andriy Konoval's picture

Re: openmotif and geomview

If you have the pre-installed openmotif you should to specify LD_LIBRARY_PATH with path to openmotif libraries.


cfg

cfg's picture

Re: openmotif and geomview

How I do that?
I am sorry I am not very good with changing path and how to find those files
Anyway thank you very much for your help,

CFG


Andriy Konoval

Andriy Konoval's picture

Re: openmotif and geomview

You should type in your shell:
export LD_LIBRARY_PATH=/lib

And then from this shell you should start Geomview.


fredk

fredk's picture

Re: openmotif and geomview

If the error is "Cant find header file Xm/Xm.h", the problem has nothing to do with whether LD_LIBRARY_PATH is set properly;it's a compile-time error, not an execution-time error.

Check and ensure that the header files are there.
Does /usr/include/Xm exist?
Does it contain Xm.h?

If not, you don''t have Motif installed correctly.
--
Fred K


cfg

cfg's picture

Re: openmotif and geomview

"You will need to set DYLD_LIBRARY_PATH to include /usr/OpenMotif/lib to
use the motif dynamic libraries."
Should I type in the file sw/bin/init.sh
DYLD_LIBRARY_PATH = /usr/OpenMotif/lib

Thank you to all for your help. I am really a dummy.
cfg.