[GRASS-user] wxpython Mac OS X compilation issues

Mac OS X 10.5.8

This is the configure script I used for compiling GRASS:

./configure --with-freetype
--with-freetype-includes="/Library/Frameworks/FreeType.framework/unix/include/freetype2
/Library/Frameworks/FreeType.framework/unix/include"
--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib
--with-gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config
--with-proj --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include
--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib
--with-proj-share=/Library/Frameworks/PROJ.framework/Resources/proj
--with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--without-postgres --without-mysql --with-odbc --with-sqlite
--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include
--with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include
--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib
--with-cxx --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers
/Library/Frameworks/Tk.framework/Headers
/Library/Frameworks/Tk.framework/PrivateHeaders"
--with-tcltk-libs=/usr/local/lib --with-x --without-motif
--without-glw --with-python
--with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.10.1/bin/wx-config
--with-opengl=aqua --without-readline --prefix=/Applications
--enable-macosx-app

make

make install

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.
dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
  Referenced from:
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
  Expected in: /Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.
dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in: /Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in your sys.path.

Did you install the python.org Python or are you using the system python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe

I first used the system python and then I installed the latest
wxPython. Should, I go through and only use the system python, make
use of the newest python, or...? Thanks for the help.

Stephen Sefick

On Fri, Aug 21, 2009 at 8:33 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in your
sys.path.

Did you install the python.org Python or are you using the system python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past
isn't a fiction designed to account for the discrepancy between my immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

wxpython should work fine with the system python. I don't remember how the installer works to do this, I think it's automatic.

Do you have:

/Library/Python/2.5/site-packages/wx.pth

After starting GRASS, run Python within the GRASS shell. What do you get from:

import sys
sys.path

On Aug 21, 2009, at 8:39 AM, stephen sefick wrote:

I first used the system python and then I installed the latest
wxPython. Should, I go through and only use the system python, make
use of the newest python, or...? Thanks for the help.

Stephen Sefick

On Fri, Aug 21, 2009 at 8:33 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in your
sys.path.

Did you install the python.org Python or are you using the system python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past
isn't a fiction designed to account for the discrepancy between my immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

I do not have

/Library/Python/2.5/site-packages/wx.pth

how do I get it?

On Fri, Aug 21, 2009 at 8:58 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

wxpython should work fine with the system python. I don't remember how the
installer works to do this, I think it's automatic.

Do you have:

/Library/Python/2.5/site-packages/wx.pth

After starting GRASS, run Python within the GRASS shell. What do you get
from:

import sys
sys.path

On Aug 21, 2009, at 8:39 AM, stephen sefick wrote:

I first used the system python and then I installed the latest
wxPython. Should, I go through and only use the system python, make
use of the newest python, or...? Thanks for the help.

Stephen Sefick

On Fri, Aug 21, 2009 at 8:33 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in
your
sys.path.

Did you install the python.org Python or are you using the system python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the
past
isn't a fiction designed to account for the discrepancy between my
immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                           \-K\. Mullis

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

... it's been a while since using the wxpython installer, I currently use a custom-compiled wxpython so I can embed it in GRASS... and it looks like that should be:

wxredirect.pth

It should be installed automatically by the wxpython installer.

On Aug 21, 2009, at 5:11 PM, stephen sefick wrote:

I do not have

/Library/Python/2.5/site-packages/wx.pth

how do I get it?

On Fri, Aug 21, 2009 at 8:58 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

wxpython should work fine with the system python. I don't remember how the
installer works to do this, I think it's automatic.

Do you have:

/Library/Python/2.5/site-packages/wx.pth

After starting GRASS, run Python within the GRASS shell. What do you get
from:

import sys
sys.path

On Aug 21, 2009, at 8:39 AM, stephen sefick wrote:

I first used the system python and then I installed the latest
wxPython. Should, I go through and only use the system python, make
use of the newest python, or...? Thanks for the help.

Stephen Sefick

On Fri, Aug 21, 2009 at 8:33 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in
your
sys.path.

Did you install the python.org Python or are you using the system python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the
past
isn't a fiction designed to account for the discrepancy between my
immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                               -K. Mullis
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings. And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan

wxredirect.pth is there.

On Fri, Aug 21, 2009 at 5:26 PM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

... it's been a while since using the wxpython installer, I currently use a
custom-compiled wxpython so I can embed it in GRASS... and it looks like
that should be:

wxredirect.pth

It should be installed automatically by the wxpython installer.

On Aug 21, 2009, at 5:11 PM, stephen sefick wrote:

I do not have

/Library/Python/2.5/site-packages/wx.pth

how do I get it?

On Fri, Aug 21, 2009 at 8:58 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

wxpython should work fine with the system python. I don't remember how
the
installer works to do this, I think it's automatic.

Do you have:

/Library/Python/2.5/site-packages/wx.pth

After starting GRASS, run Python within the GRASS shell. What do you get
from:

import sys
sys.path

On Aug 21, 2009, at 8:39 AM, stephen sefick wrote:

I first used the system python and then I installed the latest
wxPython. Should, I go through and only use the system python, make
use of the newest python, or...? Thanks for the help.

Stephen Sefick

On Fri, Aug 21, 2009 at 8:33 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in
your
sys.path.

Did you install the python.org Python or are you using the system
python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the
past
isn't a fiction designed to account for the discrepancy between my
immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                          \-K\. Mullis

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                           \-K\. Mullis

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting,
and all for things that the beasts of the jungle would not deign to possess
- money to purchase the effeminate pleasures of weaklings. And yet withal
bound down by silly customs that make them slaves to their unhappy lot while
firm in the belief that they be the lords of creation enjoying the only real
pleasures of existence....

- the wisdom of Tarzan

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

So, what about this, within the GRASS shell:

python
import sys
sys.path

On Aug 21, 2009, at 5:29 PM, stephen sefick wrote:

wxredirect.pth is there.

On Fri, Aug 21, 2009 at 5:26 PM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

... it's been a while since using the wxpython installer, I currently use a
custom-compiled wxpython so I can embed it in GRASS... and it looks like
that should be:

wxredirect.pth

It should be installed automatically by the wxpython installer.

On Aug 21, 2009, at 5:11 PM, stephen sefick wrote:

I do not have

/Library/Python/2.5/site-packages/wx.pth

how do I get it?

On Fri, Aug 21, 2009 at 8:58 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

wxpython should work fine with the system python. I don't remember how
the
installer works to do this, I think it's automatic.

Do you have:

/Library/Python/2.5/site-packages/wx.pth

After starting GRASS, run Python within the GRASS shell. What do you get
from:

import sys
sys.path

On Aug 21, 2009, at 8:39 AM, stephen sefick wrote:

I first used the system python and then I installed the latest
wxPython. Should, I go through and only use the system python, make
use of the newest python, or...? Thanks for the help.

Stephen Sefick

On Fri, Aug 21, 2009 at 8:33 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 20, 2009, at 11:36 PM, stephen sefick wrote:

from with in GRASS
g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so,
2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe
Referenced from:

/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so
Expected in:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib
. Detailed information in README file.

Any help tracking this down would be gratefully appreciated.

For some reason, GRASS is not using your wxpython. Maybe it's not in
your
sys.path.

Did you install the python.org Python or are you using the system
python?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the
past
isn't a fiction designed to account for the discrepancy between my
immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                              -K. Mullis
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                               -K. Mullis
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting,
and all for things that the beasts of the jungle would not deign to possess
- money to purchase the effeminate pleasures of weaklings. And yet withal
bound down by silly customs that make them slaves to their unhappy lot while
firm in the belief that they be the lords of creation enjoying the only real
pleasures of existence....

- the wisdom of Tarzan

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy

maybe pointing out the obvious, but ...

g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

....

/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib

2.8.0 < 2.8.1.1

Hamish

On Aug 21, 2009, at 9:44 PM, Hamish wrote:

maybe pointing out the obvious, but ...

g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

....

/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib

2.8.0 < 2.8.1.1

That's the wx library, not wxpython. On OSX at least, all versins of wxpython 2.8.x have had the wx library version 2.8.0.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."

- the wisdom of Tarzan

wxPython-unicode-2.8.10.1

On Fri, Aug 21, 2009 at 9:54 PM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 21, 2009, at 9:44 PM, Hamish wrote:

maybe pointing out the obvious, but ...

g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

....

/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib

2.8.0 < 2.8.1.1

That's the wx library, not wxpython. On OSX at least, all versins of
wxpython 2.8.x have had the wx library version 2.8.0.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and
always shall be, there is an eternity of time for the accomplishment of
objects."

- the wisdom of Tarzan

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

my ./configure statement is in the first email that I sent, but here
it is agian:

./configure --with-freetype
--with-freetype-includes="/Library/Frameworks/FreeType.framework/unix/include/freetype2
/Library/Frameworks/FreeType.framework/unix/include"
--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib
--with-gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config
--with-proj --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include
--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib
--with-proj-share=/Library/Frameworks/PROJ.framework/Resources/proj
--with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--without-postgres --without-mysql --with-odbc --with-sqlite
--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include
--with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include
--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib
--with-cxx --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers
/Library/Frameworks/Tk.framework/Headers
/Library/Frameworks/Tk.framework/PrivateHeaders"
--with-tcltk-libs=/usr/local/lib --with-x --without-motif
--without-glw --with-python
--with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.10.1/bin/wx-config
--with-opengl=aqua --without-readline --prefix=/Applications
--enable-macosx-app

I told GRASS to configure with this:
--with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.10.1/bin/wx-config

but the lib in the contents of the .app file, as Hamish pointed out,
are libwx_macud-2.8.0.dynlib.

I am specifying something wrong- I am sure.

thanks,

Stephen Sefick

On Sun, Aug 23, 2009 at 9:53 AM, stephen sefick<ssefick@gmail.com> wrote:

wxPython-unicode-2.8.10.1

On Fri, Aug 21, 2009 at 9:54 PM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 21, 2009, at 9:44 PM, Hamish wrote:

maybe pointing out the obvious, but ...

g.gui wxpython
ERROR: wxGUI requires wxPython >= 2.8.1.1.

....

/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib

2.8.0 < 2.8.1.1

That's the wx library, not wxpython. On OSX at least, all versins of
wxpython 2.8.x have had the wx library version 2.8.0.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and
always shall be, there is an eternity of time for the accomplishment of
objects."

- the wisdom of Tarzan

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                           \-K\. Mullis

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

On Aug 23, 2009, at 9:59 AM, stephen sefick wrote:

my ./configure statement is in the first email that I sent, but here
it is agian:

...

I told GRASS to configure with this:
--with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.10.1/bin/wx-config

but the lib in the contents of the .app file, as Hamish pointed out,
are libwx_macud-2.8.0.dynlib.

I am specifying something wrong- I am sure.

I don't think the problem is in the compilation. As I said, 2.8.0 is normal for the wx library version. It's when you run GRASS, somehow the system wxpython is loaded instead of the new one. So again, what does this give you when run in the GRASS shell (after starting GRASS):

python
import sys
sys.path

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect

here is what I get from running the following command from within a
GRASS shell:

python
import sys
sys.path

['', '/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/geos',
'/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages',
'/Applications/GRASS-6.4.app/Contents/MacOS/etc/python',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-unicode',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
'/Library/Python/2.5/site-packages',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC']

On Sun, Aug 23, 2009 at 10:20 AM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

On Aug 23, 2009, at 9:59 AM, stephen sefick wrote:

my ./configure statement is in the first email that I sent, but here
it is agian:

...

I told GRASS to configure with this:
--with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.10.1/bin/wx-config

but the lib in the contents of the .app file, as Hamish pointed out,
are libwx_macud-2.8.0.dynlib.

I am specifying something wrong- I am sure.

I don't think the problem is in the compilation. As I said, 2.8.0 is normal
for the wx library version. It's when you run GRASS, somehow the system
wxpython is loaded instead of the new one. So again, what does this give
you when run in the GRASS shell (after starting GRASS):

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

That looks right, so I don't know why the system wxpython is loaded.

I wonder, have you installed my GRASS binaries in the past? The current 6.4rc5 includes a bundled wxpython. If you then compile your own GRASS 6.4, it installs over mine, but leaves the bundled wxpython except without a key setting to use it properly. This may then really confuse GRASS when trying to start the GUI. Try deleting GRASS and reinstalling your compiled version.

On Aug 23, 2009, at 1:28 PM, stephen sefick wrote:

here is what I get from running the following command from within a
GRASS shell:

python
import sys
sys.path

['', '/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/geos',
'/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages',
'/Applications/GRASS-6.4.app/Contents/MacOS/etc/python',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-unicode',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
'/Library/Python/2.5/site-packages',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC']

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe

I have used your binary, and I will try this when I get back to the
house in a couple of days.
thanks,

Stephen

On Sun, Aug 23, 2009 at 10:31 PM, William
Kyngesburye<woklist@kyngchaos.com> wrote:

That looks right, so I don't know why the system wxpython is loaded.

I wonder, have you installed my GRASS binaries in the past? The current
6.4rc5 includes a bundled wxpython. If you then compile your own GRASS 6.4,
it installs over mine, but leaves the bundled wxpython except without a key
setting to use it properly. This may then really confuse GRASS when trying
to start the GUI. Try deleting GRASS and reinstalling your compiled
version.

On Aug 23, 2009, at 1:28 PM, stephen sefick wrote:

here is what I get from running the following command from within a
GRASS shell:

python
import sys
sys.path

['', '/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/geos',
'/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages',
'/Applications/GRASS-6.4.app/Contents/MacOS/etc/python',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages',

'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-unicode',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',

'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',

'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
'/Library/Python/2.5/site-packages',
'/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5',

'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC']

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past
isn't a fiction designed to account for the discrepancy between my immediate
physical sensations and my state of mind?"

- The Ruler of the Universe

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis