[GRASS-dev] TOGL issue - was Re: nviz link broken
Markus Neteler
neteler at itc.it
Tue Jun 13 04:03:39 EDT 2006
Glynn Clements wrote on 06/13/2006 01:55 AM:
>Markus Neteler wrote:
>
>
>
>>>>http://grass.itc.it/grass61/manuals/html61_user/
>>>>
>>>>nviz link is broken?
>>>>
>>>>
>>>Yes. This means that the compilation of the Linux snapshot failed.
>>>Verification:
>>> http://grass.itc.it/grass61/binary/linux/snapshot/error.log
>>> -> apparently there are/were compilation issues.
>>>
>>>I can try to investigate.
>>>
>>>
>>Done:
>>
>>make[3]: Entering directory `/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/visualization/nviz/src'
>>gcc -I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include -O2 -I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include -I/usr/local/include -DUSE_X11= -DPACKAGE=\""grassmods"\" -I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include \
>> -o OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o -c nvizAppInit.c
>>
>>
>
>Note: -DUSE_X11=
>
>This should be -DUSE_X11=1 if configure detected X.
>
>
>
>>In file included from togl.h:16,
>> from nvizAppInit.c:8:
>>togl_ws.h:5:12: #if with no expression
>>
>>
>
>Hmm. I'll need to change the Makefile for that. USE_X11 is either 1 or
>empty, which isn't easy to test for in a #if directive.
>
>
Thanks, now it reports:
gcc
-I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include
-O2
-I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include
-I/usr/local/include -DUSE_X11=0 -DPACKAGE=\""grassmods"\"
-I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include
\
-o OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o -c nvizAppInit.c
In file included from nvizAppInit.c:8:
togl.h:51:27: OpenGL/gl.h: No such file or directory
...
-> -DUSE_X11=0
which is at least easier to test.
>>In file included from nvizAppInit.c:8:
>>togl.h:51:27: OpenGL/gl.h: No such file or directory
>>
>>
>
>Due to the USE_X11 test failing, Togl thinks it's being compiled for a
>Mac.
>
>
>
>>I guess I missed the related discussion recently.
>>According to the ChangeLog it is related to Glynn's TOGL
>>update.
>>
>>
>
>It is. However, the fact that USE_X11 isn't getting set is the root of
>the problem.
>
>
>
checking whether setpgrp takes no argument... yes
checking for W11... no
checking for X... no
checking whether to use Curses... yes
checking for curses.h... yes
HA! I'll check if X is installed, apparently only partially on the new
server...
rpm -qa | grep xorg
xorg-x11-Mesa-libGLU-6.8.2-1.EL.13.25
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.25
xorg-x11-libs-6.8.2-1.EL.13.25
xorg-x11-devel-6.8.2-1.EL.13.25
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.25
xorg-x11-deprecated-libs-6.8.2-1.EL.13.25
xorg-x11-xauth-6.8.2-1.EL.13.25.1
I'll check.
Markus
More information about the grass-dev
mailing list