#14112: python25 on leopard doesn't build --------------------------+------------------------------------------------- Reporter: svnk@gmx.de | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: python leopard --------------------------+------------------------------------------------- Comment (by svnk@gmx.de): OK. The following fixed it for me: the first error during configure {{{ checking LDSHARED... ./configure: line 11026: test: >: unary operator expected }}} comes from the following line in configure: {{{ if test ${MACOSX_DEPLOYMENT_TARGET-${cur_target}} '>' 10.2 }}} it turns out that, although in my shell MACOSX_DEPLOYMENT_TARGET=10.4, this never makes it to the configure script. After tweaking the Portfile with a {{{ configure.env MACOSX_DEPLOYMENT_TARGET=10.4 }}} python25 builds and installs fine. for the context: Macosx 10.5.1 on a MacBookPro 2.33GHz Core 2 Duo. Hardcoding the MACOSX_DEPLOYMENT_TARGET is propably not TRD, but it worked for me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14112#comment:4> MacPorts </projects/macports> Ports system for Mac OS