On 13/06/2005, at 0:04, Jeff Whitaker wrote:

Jeremy Higgs wrote:


Hi everyone,

I'm trying to update the trac, silvercity and clearsilver packages to  support python 2.4 (as well as trac to the latest version), but I'm  having an issue compiling clearsilver on 10.4.1... I get this following:

/sw/bin/python2.4 setup.py build_ext --inplace
adding inc_path $(NEOTONIC_ROOT)
adding inc_path /sw/include
adding lib_path $(LIB_DIR)
adding lib_path /sw/lib
adding lib z
running build_ext
error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3"  during configure
make[1]: *** [neo_cgi.so] Error 1

The compile continues, but the file (neo_cgi.so) is not compiled, and  therefore not installed... which is a bit of a problem.

Does anyone know how to fix this? The MACOSX_DEPLOYMENT_TARGET  variable is not set anywhere in the package by me, so I don't know  what's causing it to think that it was set to 10.3 earlier...

Thanks!

Jeremy.


Jeremy:

On 10.3 you need to manually set that env var to 10.3 if you're compiling a python extension by hand.  Fink will do that for you.

-Jeff

Hi Jeff,

I'm running 10.4.1, so I don't see how that applies... Do I need to add something to the package description to force this setting, depending on the OS version?

Thanks!

Reply via email to