[redland-dev] hint for building redland-bindings-22.214.171.124 on OS X
10.4 with darwin ports python 2.4
matt at them.co.nz
Thu Apr 6 11:11:50 BST 2006
It's a small matter, but probably useful to someone one. If you have
a few pythons lying around - or even actually just one - then to
build you library against the correct python and therefore avoid
python version mismatch errors, then you might want to modify the
default output of configure which produces a line:
PYTHON_LDFLAGS = -Wl,-F. -Wl,-F. -bundle -framework Python
no matter what python I tell it we are using.
For darwin ports python you need to change it to something like the
PYTHON_LDFLAGS = -Wl,-F. -Wl,-F. -F/opt/local/Library/Frameworks -
bundle -framework Python
just so it picks up that framework before any others.
More information about the redland-dev