[GRASS-dev] issues with compiling and running GRASS on Mac
Glynn Clements
glynn at gclements.plus.com
Mon Sep 8 05:35:16 EDT 2008
Michael Barton wrote:
> 3) i.attcorr no longer compiles. Here is the error.
> main.cpp:309: error: �isnan� was not declared in this scope
> make: *** [OBJ.i386-apple-darwin9.4.0/main.o] Error 1
isnan() isn't part of the C++ standard. It may be provided as an
extension by some versions of gcc, or it may not.
> 4) After make install, GRASS will no longer start up in wxPython. It
> does the startup screen fine, but bombs when it tries to launch the
> main layer manager. Here is the error:
>
> GRASS 6.4.svn (Spearfish60_test):~ > Fatal Python error: Interpreter
> not initialized (version mismatch?)
>
> Note that I have changed nothing on my system since the last time it
> compiled and ran fine.
>
> I suspect that an issue that William Kyngesbury recently mentioned may
> be the cause. vdigit, which compiles now, may do so incorrectly
> against the system version of Python (2.5.1) rather than the newer one
> that is my Python default (2.5.2). If so, the version check in the
> wxGUI startup kills it.
>
> What is the easiest way to diable vdigit to test this?
I don't know about the easiest way, but the only robust solution is to
keep nagging the wxGUI developers until they move the high-risk
features (vdigit, nviz) out of the main wxGUI process.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list