Motif Installation on Red Hat 7.0

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

Questions about motif? Contact us

8 posts / 0 new
Last post
Motif Installation on Red Hat 7.0

Submitted by Anonymous on Thu, 07/05/2001 - 10:53. Developers
Dear Coleques

I have installed Red Hat Linux 7.0 on P-II PC, I have selected all the options which are given
in the CD. I am a software developer on UNIX, I also use Motif for GUI. When I am trying
to port a software from IRIX to Red Hat 7.0. It is not compiling ( I checked for Xm.h in
/usr/include/Xm/Xm.h . It is not there and libXm.a is also not there) giving error messages
like unable to find include file Xm/Xm.h etc., How can I Install the Motif environment on my
PC, Plese help me in this regard.

Thanking in advance

B. Prabakaran

Anonymous

You just check, /usr/X11R6/include.
Like that the lib files will be in /usr/X11R6/lib

HTH
Saji R
saji_r@hotmail.com

Anonymous

Hi saji,
I checked for the directories. they are available.
but in /usr/X11R6/include directory Xm.h header file is not available.
and in /usr/X11R6/lib directory libXm.a archieve file is not available.
These file names are required to port our code from IRIX(SGI)
thanking you

Anonymous

/usr/X11R6/include/Xm/Xm.h
Is the header file which youa are looking for. So you should include like this
#include "Xm/Xm.h"

And The libXm.a should be there.

when you get such Errors, you just use find / -name filename to find out where is that headerfile or Library.

try "find / -name libXm.a"
That may help you.

You just check manually where there is that libray file available. If you have while you build you just give the LD_LIBRARYPATH. or you use -L opetion of cc /gcc to specify Libraary path. -l to specify library

HTH
Saji R
http//sajirochira.tripod.com

Anonymous

Hi Saji

We have alredy tried to find the files by the method you have specified. But unable to find
the files in the whole system. Do I have to install Motif/Lesstif separately ?? If so where
can I get the installable downloads ??

Anonymous

Go to
http//www.ibiblio.org/pub/Linux/distributions/redhat/7.0/en/powertools/i386/Re...

and then download openmotif-2.1.30-6.i386.rpm And openmotif-devel-2.1.30-6.i386.rpm

First one is open motif rpm
second one is for developers.

If you are looking for the source rpms then go to the SRPMS in the parent directory of the above link.

HTH
Saji R
http//sajirochira.tripod.com

Anonymous

Dear prabakaran,
just send mails to saji@nestec.net, that will be faster. of course you have to install motif. The above specified motif installation have bugs, you will get patches to download from some websites. www.opengroup/motif for more details.

HTH
Saji R
http//sajirochira.tripod.com

Anonymous

Thanks a lot, I will follow it up

Prabakaran