[cgkit-user] compiling or installing on snow leopard
Brought to you by:
mbaas
|
From: Marcus Wu <mw...@di...> - 2009-12-06 17:33:27
|
I am on snow leopard which has a python interpreter version 2.6. The dmg
mpkg installer requires 2.5 (can't proceed when selecting the drive to
install to). I can switch OS X to use 2.5 via the command, "defaults write
com.apple.versioner.python Version 2.5", but the install still will not
proceed.
If I use macports to install the dependencies and then build cgkit from
source, I can get a build installed but when running the Koch snowflake
example I get:
$ python test.py
Traceback (most recent call last):
File "test.py", line 3, in <module>
import cgkit.cri
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/cgkit/cri.py",
line 48, in <module>
import ri
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/cgkit/ri.py",
line 79, in <module>
from cgtypes import vec3 as _vec3
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/cgkit/cgtypes.py",
line 59, in <module>
import _core
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/cgkit/_core.so,
2): Symbol not found: __Z14get_debug_flagv
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/cgkit/_core.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/cgkit/_core.so
It doesn't matter to me whether I get it working via the Apple supplied
python or the macports python as long as I get it working -- any ideas what
I can try from here?
- Marcus Wu
mw...@di...
|