[GRASS-dev] Errors compiling grass6.4.0RC5 on a 64 bit Ubuntu 9.04 PC

Martin Landa landa.martin at gmail.com
Sun Aug 2 09:00:05 EDT 2009


Hi,

2009/8/2 Ferruccio Sarra <ferruccio.sarra at tiscali.it>:
> ~/grass-6.4.0RC5/gui/wxpython/vdigit$ make
> python setup.py build_ext --swig=/usr/bin/swig --swig-opts=-c++
> --build-lib=OBJ. --build-temp=OBJ.

'OBJ.' is wrong, $(ARCH) variable seems to be empty (defined in Platform.make).

> running build_ext
> building '_grass6_wxvdigit' extension
> swigging grass6_wxvdigit.i to grass6_wxvdigit_wrap.cpp
> /usr/bin/swig -python -c++ -o grass6_wxvdigit_wrap.cpp grass6_wxvdigit.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/ferruccio/grass-6.4.0RC5/dist./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 cats.cpp -o OBJ./cats.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> Ada/C/ObjC but not for C++
> In file included from cats.cpp:19:
> driver.h:25:20: error: Python.h: Nessun file o directory

I don't see -I/usr/include/python25 even it's defined in PYTHONINC - strange...

How you configure GRASS (./configure ...)?

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list