[GRASS5] 5.7: r3.showdspf: Xm/Xm.h problem

Markus Neteler neteler at itc.it
Fri Jun 18 05:46:05 EDT 2004


Hi,

I just tried to compile 5.7 on another machine and got following
problem:

[neteler at wfpovo238 r3.showdspf]$ make
gcc -I/home/neteler/soft/57grass_cvsexp/include -I/home/neteler/soft/57grass_cvsexp/dist.i686-pc-linux-gnu/include -g -O2  -Wall -Wconversion -Wno-implicit-int   -I../../lib/dspf -I   -I/usr/X11R6/include   -I/home/neteler/soft/57grass_cvsexp/include -I/home/neteler/soft/57grass_cvsexp/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/main_ogl.o -c main_ogl.c
main_ogl.c:7:19: Xm/Xm.h: No such file or directory
main_ogl.c:8:21: Xm/Form.h: No such file or directory
In file included from vizual2.h:89,
                 from vizual.h:1,
                 from main_ogl.c:18:
[...]

But:
[neteler at wfpovo238 r3.showdspf]$ locate Xm.h
/usr/X11R6/include/Xm/Xm.h
[neteler at wfpovo238 r3.showdspf]$ locate Xm/Form.h
/usr/X11R6/include/Xm/Form.h

rpm -qf /usr/X11R6/include/Xm/Xm.h
lesstif-devel-0.93.94-1mdk

head -8 main_ogl.c |tail -3
#define MAIN
#include <Xm/Xm.h>
#include <Xm/Form.h>

Any ideas why the Xm.h is not found?
Note: The main_ogl.c file is linked from 5.3 into 5.7.

Any suggestions?

 Markus




More information about the grass-dev mailing list