wiki:Installation/Fedora

Version 5 (modified by MarcusWalther, 11 years ago) (diff)

--

Prerequisities for installation on Fedora systems

Error: Failed to load processor NewsFlash
No macro or processor named 'NewsFlash' found

Please be sure that you have the following packages installed:

  • gcc
  • tcsh
  • nedit
  • imake
  • xterm
  • libXp-devel
  • libXpm-devel
  • libXft-devel
  • libXmu-devel
  • libjpeg(-turbo)-devel
  • libpng-devel

Fedora offers no packages for OpenMotif development (official announcement). Suitable RPMs for Fedora 11 and 12 can be found at the Stanford university. For Fedora 13 and 14 please visit pkgs.org (contaminated with commercial ads!). Depending on your architecture and Fedora version please download three packages:

  • openmotif
  • openmotif-devel
  • openmotif-clients

Install all RPMs using rpm -i filename.rpm. These packages might extract essential header files in the directory {/usr/include/openmotif/}. Only in this case you have to create the following links (as root):

cd /usr/include/
ln -s openmotif/Xm
ln -s openmotif/Mrm

Now proceed with download and installation of SH/SHM.

Known issues

  • If you get a linking error while compiling SH/SHM like ld cannot find -lMrm, you have to patch two files in the source tree:
    ./motif/Makefile
    ./img/Makefile
    
    You need to alter the files in your installation target directory by changing "-lMrm" to "-L/usr/include/Mrm" and "-LXm" to "-L/usr/include/Xm" (note the capital L).

Attachments