[redland-dev] hint for building redland-bindings-1.0.3.1 on OS X 10.4 with darwin ports python 2.4

Matt matt at them.co.nz
Thu Apr 6 11:11:50 BST 2006


Hi,

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  
following

PYTHON_LDFLAGS = -Wl,-F. -Wl,-F. -F/opt/local/Library/Frameworks - 
bundle -framework Python

just so it picks up that framework before any others.

cheers
Matt




More information about the redland-dev mailing list