Fedora 11Install openmotif
1.Download openmotif
Ftp://ftp.ics.com/openmotif/2.3/2.3.0/openmotif-2.3.0.tar.gz
2.Install openmofi
# Tar-xzvf openmotif-2.3.0.tar.gz
# Cd openmotif-2.3.0
# Vim install. Configure
#./Configure
# Make
# Make check
# Make install
3.Solution to "X11/extensions/print. h: no such file or directory" appears during installation
This is because libxp-devel is missing in the system.
Go to the following URL
Http://rpm.pbone.net/search libxp-devel, download and install
4.The "X11/bitmaps/gray: no such file or directory" solution appears during installation.Method
This is because Xorg-X11-Xbitmaps (X11/Xbitmaps (UBUNTU) and Xorg-X11-Xbitmaps (Fedora Core 5 ).)
Go to the following URL
Http://rpm.pbone.net/search Xorg-X11-Download and install xbitmaps.
Test:
5.Use GCC to compile the motif Program
# Cc-O test. C-L/usr/X11R6/lib-I/usrX11R6/include-lX11-Lxm
6.When running the program, the following error occurs: Error while loading shared libraries: libxm. so.4: cannot open shared object file: no such file or directory.
# Ldconfig/usr/X11R6/lib/