Problems installing Python 2.5.1 on PowerMac G4
Andre-John Mas
ajmas at sympatico.ca
Mon Dec 3 05:53:01 PST 2007
Hi,
I am trying to install Python 2.5.1 on my PowerMac G4, but I am
running into some problems. Note that I have verified that my
ports install is up to date with 'sudo ports selfupdate'. Follows
is the output from attempting an install. Any ideas?
localhost% sudo port install python25
---> Fetching python25
---> 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: Modules/main.c:186: warning: function declaration isn't a
prototype
/usr/bin/gcc-4.0 -c -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 -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c
/usr/bin/gcc-4.0 -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 -DPy_BUILD_CORE -c ./Modules/threadmodule.c -o
Modules/threadmodule.o
/usr/bin/gcc-4.0 -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 -DPy_BUILD_CORE -c ./Modules/signalmodule.c -o
Modules/signalmodule.o
/usr/bin/gcc-4.0 -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 -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 -g -O3 -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 -g -O3 -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 -g -O3 -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 -g -O3 -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 -g -O3 -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 -g -O3 -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 -g -O3 -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 -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -
I/opt/local/include -DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C svnversion .`\" -
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
ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64 mach-o file
libtool: internal link edit command failed
make: *** [libpython2.5.dylib] Error 1
Error: Status 1 encountered during processing.
More information about the macports-users
mailing list