Groups > SUSE Linux > openSUSE development > Re: Can't find openMotif include files in SuSE 10.1




Can't find openMotif include files in SuSE 10.1

Can't find openMotif include files in SuSE 10.1
Wed, 27 Feb 2008 17:40:41 GMT
I'm trying to port my build process from SuSE 9.0 to SuSE 10.1.  My 
makefiles are failing because the C compiler can't find some include files. 
For example,

#include <Xm/MainW.h>

Results in this message:

/u/lin2dev/AllSrc/logfile.c:20:22: error: Xm/MainW.h: No such file or 
directory In file included from /u/lin2dev/AllSrc/logfile.c:29:

In SuSE 9.0 MainW.h can be found here: /usr/X11/include/Xm

In SuSE 10.1, neither the file, or even the Xm directory exists.

I have installed all the xorg and openMotif components I can find.

Can anyone explain to me what's going on and how to find Xm/MainW.h ?

Thanks a lot.

David Liebtag


Post Reply
Re: Can't find openMotif include files in SuSE 10.1
Wed, 27 Feb 2008 18:55:58 GMT
Never mind.  I figured it out.

David 

Post Reply
Re: Can't find openMotif include files in SuSE 10.1
Wed, 27 Feb 2008 19:04:18 GMT
David Liebtag wrote:

> I'm trying to port my build process from SuSE 9.0 to SuSE 10.1.  My
> makefiles are failing because the C compiler can't find some include
> files. For example,
> 
> #include <Xm/MainW.h>
> 
> Results in this message:
> 
> /u/lin2dev/AllSrc/logfile.c:20:22: error: Xm/MainW.h: No such file or
> directory In file included from /u/lin2dev/AllSrc/logfile.c:29:
> 
> In SuSE 9.0 MainW.h can be found here: /usr/X11/include/Xm
> 
> In SuSE 10.1, neither the file, or even the Xm directory exists.
You should find /usr/X11R6/include/Xm/MainW.h if you installed
openmotif-devel (for example
ftp:///ftp5.gwdg.de/pub/opensuse/distribution/SL-10.1/inst-source/suse/i586/open
motif-devel-2.2.4-21.i586.rpm ). 

IIRC /usr/X11 was just a link to /usr/X11R6 allready in 9.0 and you have
probably to update your Makefiles to reflect the now removed link.  
Post Reply
about | contact