#14112: python25 on leopard doesn't build --------------------------+------------------------------------------------- Reporter: svnk@gmx.de | Owner: macports-tickets@lists.macosforge.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): thanks for the quick reply. ok. tried it and follewd the recipe in [http://trac.macosforge.org/projects/macports/ticket/11267#comment:21 #11267:comment21]. {{{ checking LDSHARED... ./configure: line 11028: test: >: unary operator expected }}} is still there, as is {{{ /usr/bin/libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs ld64: unknown option to -macosx_version_min not 10.xld64: unknown option to -macosx_version_min not 10.xld64: unknown option to -macosx_version_min not 10.xld64: unknown option to -macosx_version_min not 10.x/usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl }}} and a few lines later the {{{ /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -bundle_loader python.exe -L/opt/local/lib -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -D__DARWIN_UNIX03 build/temp.macosx-10.5-i386-2.5/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.1/Modules/_struct.o -L/opt/local/lib -L/usr/local/lib -o build/lib.macosx-10.5-i386-2.5/_struct.so Undefined symbols: "_PyType_Type", referenced from: _PyType_Type$non_lazy_ptr in _struct.o "_PyInt_AsSsize_t", referenced from: _s_pack_into in _struct.o "__PyFloat_Pack8", referenced from: _bp_double in _struct.o ... }}} and lost of similar errors. It still finishes with {{{ make: *** [libinstall] Error 1 Warning: the following items did not execute (for python25): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} so this didn`t fix it for me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14112#comment:2> MacPorts </projects/macports> Ports system for Mac OS