Posted on: Thu, 02/12/2009 - 22:30
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

If you have the pre-installed openmotif you should to specify LD_LIBRARY_PATH with path to openmotif libraries.
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
You should type in your shell:/lib
export LD_LIBRARY_PATH=
And then from this shell you should start 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
"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.