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

Hi,

2008/2/5, Michael Barton <[EMAIL PROTECTED]>:

2008/2/5, Michael Barton <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]> * http://gama.fsv.cvut.cz/ ~landa *

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to