[GRASS-dev] [GRASS GIS] #38: configure.in: wxwidgets and python checks

Michael Barton michael.barton at asu.edu
Tue Feb 5 12:51:23 EST 2008


On Feb 5, 2008, at 10:45 AM, Martin Landa wrote:

> Hi,
>
> 2008/2/5, Michael Barton <michael.barton at asu.edu>:
>
>>> 2008/2/5, Michael Barton <michael.barton at asu.edu>:
>>>> What does --with-wxwidgets do if you set it? What happens if you
>>>> do not?
>>>
>>> from the ticket description
>>>
>>> It checks
>>>
>>>     * if wx-config is presented
>>>     * wxWidgets version (>=2.8.1 required)
>>>     * check for wx/wxprec.h and wx/wxPython/pseudodc.h (wxPython
>>> required too)
>>>
>>> The patch also checks for Python.h header if --with-python is given.
>>>
>>> for vdigit it meas: it is compiled only when you give --with-python
>>> and --with-widgets, otherwise vdigit would be not compiled.
>>>
>>> Martin
>>
>> That's fine Martin. Thanks. I'm trying to find out how it checks. Are
>> the checks generic enough to work with Mac and Windows, or are they
>> still hard coded to Linux locations?
>
> if you look at gui/wxpython/vdigit/Makefile, only one location is
> still hard-coded, the includes for python
>
> -I/usr/include/python$(PYTHONVERSION)
>
> The patch checks for Python.h and include directory, it should work on
> Mac/Windows too.
>
> Martin

OK, my standard MacPython include directory and Python.h are at / 
Library/Frameworks/Python.framework/Versions/2.5/include/Python.h

wx is down a similar path.

Michael

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



More information about the grass-dev mailing list