Error Install Python 2.5.1 on 10.4.11
Randall Wood
rhwood at mac.com
Sun Nov 25 02:39:35 PST 2007
The following should address your problem:
sudo port sync ; sudo port clean python25 ; sudo port install python25
On 25 Nov 2007, at 05:34, Nathan Brazil wrote:
> I am getting the following error when installing Python 2.5.1 on
> PowerPC Mac running 10.4.11 and Xcode 2.5. Has anyone seen this
> before?
>
> % sudo port install python25
> Password:
> ---> Fetching python25
> ---> Attempting to fetch Python-2.5.1.tar.bz2 from http://
> www.python.org//ftp/python/2.5.1/
> ---> Verifying checksum(s) for python25
> ---> Extracting python25
> ---> Applying patches to python25
> ---> Configuring python25
> ---> Building python25 with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_
> python25/work/Python-2.5.1" && make all " returned error 2
> Command output: /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-
> double -no-cpp-precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -
> Wstrict-prototypes -I. -I./Include -I/opt/local/include -
> DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> errnomodule.c -o Modules/errnomodule.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> pwdmodule.c -o Modules/pwdmodule.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> _sre.c -o Modules/_sre.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> _codecsmodule.c -o Modules/_codecsmodule.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> zipimport.c -o Modules/zipimport.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> symtablemodule.c -o Modules/symtablemodule.o
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/
> xxsubtype.c -o Modules/xxsubtype.o
> /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -DNDEBUG -O2 -g -Wall -Wstrict-prototypes -
> I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -DSVNVERSION=
> \"`LC_ALL=C echo exported`\" -o Modules/getbuildinfo.o ./Modules/
> getbuildinfo.c
> rm -f libpython2.5.a
> ar cr libpython2.5.a Modules/getbuildinfo.o
> ar cr libpython2.5.a Modules/_typesmodule.o
> ar cr libpython2.5.a Parser/acceler.o Parser/grammar1.o Parser/
> listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/
> bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o
> Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o
> ar cr libpython2.5.a Objects/abstract.o Objects/boolobject.o
> Objects/bufferobject.o Objects/cellobject.o Objects/classobject.o
> Objects/cobject.o Objects/codeobject.o Objects/complexobject.o
> Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o
> Objects/genobject.o Objects/fileobject.o Objects/floatobject.o
> Objects/frameobject.o Objects/funcobject.o Objects/intobject.o
> Objects/iterobject.o Objects/listobject.o Objects/longobject.o
> Objects/dictobject.o Objects/methodobject.o Objects/moduleobject.o
> Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/
> setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/
> structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/
> weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o
> ar cr libpython2.5.a Python/Python-ast.o Python/asdl.o Python/ast.o
> Python/bltinmodule.o Python/ceval.o Python/compile.o Python/
> codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/
> future.o Python/getargs.o Python/getcompiler.o Python/
> getcopyright.o Python/getmtime.o Python/getplatform.o Python/
> getversion.o Python/graminit.o Python/import.o Python/importdl.o
> Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/
> mysnprintf.o Python/pyarena.o Python/pyfpe.o Python/pystate.o
> Python/pythonrun.o Python/structmember.o Python/symtable.o Python/
> sysmodule.o Python/traceback.o Python/getopt.o Python/pystrtod.o
> Python/dynload_shlib.o Python/mactoolboxglue.o Python/thread.o
> ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/
> main.o Modules/gcmodule.o
> ar cr libpython2.5.a Modules/threadmodule.o Modules/
> signalmodule.o Modules/posixmodule.o Modules/errnomodule.o
> Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o
> Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o
> ranlib libpython2.5.a
> 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 -L/opt/local/lib
> ld: for architecture ppc
> ld: warning prebinding disabled because of undefined symbols
> ld: Undefined symbols:
> restFP
> saveFP
> libtool: internal link edit command failed
> make: *** [libpython2.5.dylib] Error 1
>
> Error: Status 1 encountered during processing.
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com
"The rules are simple: The ball is round. The game lasts 90 minutes.
All the
rest is just philosophy."
More information about the macports-users
mailing list