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

Ferruccio Sarra ferruccio.sarra at tiscali.it
Sat Aug 1 07:38:56 EDT 2009


Thank you for replying Martin.
I think the path is correct and the report after running the configure 
script tells it's all right

Configure option:
--with-python=/usr/bin/python2.5-config

Files and directory location:
~/grass-6.4.0RC5$ locate python2.5-config
/usr/bin/python2.5-config
~/grass-6.4.0RC5$

~/grass-6.4.0RC5$ locate Python.h
/usr/include/python2.5/Python.h
/usr/include/python2.6_d/Python.h
/usr/include/wx-2.8/wx/wxPython/wxPython.h
~/grass-6.4.0RC5$

Do I have to move the Python.h somewhere else?
(As you can see, I still don't know nearly anything about compiling 
issues... suggestions on "how to" and "get started" on this subject are 
highly appreciated :-))


Martin Landa ha scritto:
> Hi,
>
> 2009/7/31 Ferruccio Sarra <ferruccio.sarra at tiscali.it>:
>
> [...]
>
>   
>> In file included from cats.cpp:19:
>> driver.h:25:20: error: Python.h: No file or directory
>> In file included from driver.h:26,
>> from cats.cpp:19:
>>     
>
> Python header is missing in your system (or it's not in the include
> path). You need to configure GRASS
> `--with-python=/path/to/python-config`.
>
> Martin
>
>   



More information about the grass-dev mailing list