setup.py may use different Python than configured for GRASS
|Reported by:||kyngchaos||Owned by:|
GRASS can be configured for a specific copy of Python, which could be needed if a different version than desired is first in your PATH (maybe a newer or experimental, incompatible version). But, when compiling vdigit and wx nviz for the wx GUI, "python" is used, which may not be the same as was configured. This could cause compilation problems, especially on OSX where setup tools compilation is very particular about the MACOSX_DEPLOYMENT_TARGET.
It looks like platform.make would need another variable to hold the python program path, created from "python-config --prefix".
A quick fix until this is done is to temporarily add the desired python bin to the shell PATH for the GRASS build.
Change History (9)
comment:2 by , 13 years ago
|Component:||wxGUI → Compiling|
|Milestone:||6.4.0 → 6.5.0|