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

Glynn Clements glynn.clements at virgin.net
Fri Jun 18 09:04:07 EDT 2004


Markus Neteler wrote:

> 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

> Any ideas why the Xm.h is not found?

Is it really there? "locate" tells you what was found the last time
that updatedb was run, which may not correspond to the current state
of the filesystem.

I note that the gcc command has the -I/usr/X11R6/include switch; if
that doesn't work, I don't know what will.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list