[GRASS-user] Re: Error with NVIZ Compiling 6.4SVN in Linux

António Rocha antonio.rocha at deimos.com.pt
Tue Jan 26 05:04:15 EST 2010


Uopps. I thought I could only do that before "make  install" :)

Even so, when I run "make" at

/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/lib/nviz I got the following error:
anrr at vpc-anrr:~/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/lib/nviz$ makegcc -I/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/dist.i686-pc-linux-gnu/include  -g -O2    -fPIC   -DPACKAGE=\""grasslibs"\" -I/usr/include/gdal     -DPACKAGE=\""grasslibs"\"     -I/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/change_view.o -c change_view.c
In file included from change_view.c:20:
/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/dist.i686-pc-linux-gnu/include/grass/nviz.h:21:69: error: X11/Xmu/StdCmap.h: No such file or directory
make: *** [OBJ.i686-pc-linux-gnu/change_view.o] Error 1


and when I run "make" at  
/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/gui/wxpython/nviz 
I get:
python setup.py build_ext --swig=/usr/bin/swig --swig-opts=-c++ 
--build-lib=OBJ.i686-pc-linux-gnu --build-temp=OBJ.i686-pc-linux-gnu
running build_ext
building '_grass6_wxnviz' extension
swigging grass6_wxnviz.i to grass6_wxnviz_wrap.cpp
/usr/bin/swig -python -c++ -o grass6_wxnviz_wrap.cpp grass6_wxnviz.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DPACKAGE="grasslibs" -D_FILE_OFFSET_BITS=64 
-D_LARGE_FILES -D__WXGTK__ 
-I/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/dist.i686-pc-linux-gnu/include 
-I/usr/include/gdal -I/usr/lib/wx/include/gtk2-unicode-release-2.8 
-I/usr/include/wx-2.8 -I/usr/include/python2.6 -c change_view.cpp -o 
OBJ.i686-pc-linux-gnu/change_view.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
In file included from nviz.h:11,
                 from change_view.cpp:15:
/home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/dist.i686-pc-linux-gnu/include/grass/nviz.h:21:69: 
error: X11/Xmu/StdCmap.h: No such file or directory
In file included from /usr/include/python2.6/Python.h:8,
                 from nviz.h:28,
                 from change_view.cpp:15:
/usr/include/python2.6/pyconfig.h:1028:1: warning: "_POSIX_C_SOURCE" 
redefined
In file included from /usr/include/assert.h:37,
                 from /usr/include/wx-2.8/wx/debug.h:18,
                 from /usr/include/wx-2.8/wx/defs.h:521,
                 from /usr/include/wx-2.8/wx/wxprec.h:13,
                 from nviz.h:5,
                 from change_view.cpp:15:
/usr/include/features.h:158:1: warning: this is the location of the 
previous definition
In file included from /usr/include/python2.6/Python.h:8,
                 from nviz.h:28,
                 from change_view.cpp:15:
/usr/include/python2.6/pyconfig.h:1037:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/include/assert.h:37,
                 from /usr/include/wx-2.8/wx/debug.h:18,
                 from /usr/include/wx-2.8/wx/defs.h:521,
                 from /usr/include/wx-2.8/wx/wxprec.h:13,
                 from nviz.h:5,
                 from change_view.cpp:15:
/usr/include/features.h:160:1: warning: this is the location of the 
previous definition
error: command 'gcc' failed with exit status 1
make: *** [OBJ.i686-pc-linux-gnu/_grass6_wxnviz.so] Error 1


What probably am I missing for NVIZ?

Markus Neteler wrote:
> 2010/1/25 António Rocha <antonio.rocha at deimos.com.pt>:
>   
>> Ok I have added the --with-python=/usr/bin/python2.6-config
>> and I still got errors in NVIZ compilation and it's not available
>> GRASS GIS compilation log
>> -------------------------
>> Started compilation: Mon Jan 25 14:54:21 WET 2010
>> --
>> Errors in:
>> /home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/lib/nviz
>> /home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/gui/wxpython/nviz
>> /home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/visualization/nviz
>> /home/anrr/Downloads/grass-6.4.svn_src_snapshot_2010_01_16-2/visualization/nviz2/cmd
>>
>>     
>
> The last line of the log indicates what to do :)
>
> ...
> "--
> In case of errors please change into the directory with error and run 'make'.
> If you get multiple errors, you need to deal with them in the order they
> appear in the error log. If you get an error building a library, you will
> also get errors from anything which uses the library.
> "
>
> If that's unclear please suggest a better wording...
>
> Markus
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4805 (20100125) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>   



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4805 (20100125) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-user mailing list