python26 error... seeking help
Artie Ziff
artie.ziff at gmail.com
Sun Sep 6 21:02:11 PDT 2009
Hello! :)
Any ideas what went wrong here with python26?
Building on Mac OS 10.5.8
$ sudo port install python26 python_select
---> Computing dependencies for python26
---> Fetching xorg-scrnsaverproto
---> Attempting to fetch scrnsaverproto-1.2.0.tar.bz2 from
http://distfiles.macports.org/xorg-scrnsaverproto
---> Verifying checksum(s) for xorg-scrnsaverproto
---> Extracting xorg-scrnsaverproto
---> Configuring xorg-scrnsaverproto
---> Building xorg-scrnsaverproto
---> Staging xorg-scrnsaverproto into destroot
---> Installing xorg-scrnsaverproto @1.2.0_0
---> Activating xorg-scrnsaverproto @1.2.0_0
---> Cleaning xorg-scrnsaverproto
---> Fetching xorg-libXScrnSaver
---> Attempting to fetch libXScrnSaver-1.2.0.tar.bz2 from
http://distfiles.macports.org/xorg-libXScrnSaver
---> Verifying checksum(s) for xorg-libXScrnSaver
---> Extracting xorg-libXScrnSaver
---> Configuring xorg-libXScrnSaver
---> Building xorg-libXScrnSaver
---> Staging xorg-libXScrnSaver into destroot
---> Installing xorg-libXScrnSaver @1.2.0_0
---> Activating xorg-libXScrnSaver @1.2.0_0
---> Cleaning xorg-libXScrnSaver
---> Fetching tk
---> Attempting to fetch tk8.5.6-src.tar.gz from
http://voxel.dl.sourceforge.net/tcl
---> Verifying checksum(s) for tk
---> Extracting tk
---> Configuring tk
---> Building tk
---> Staging tk into destroot
---> Installing tk @8.5.6_1+darwin
---> Activating tk @8.5.6_1+darwin
---> Cleaning tk
---> Fetching python26
---> Attempting to fetch Python-2.6.2.tar.bz2 from
http://distfiles.macports.org/python26
---> Verifying checksum(s) for python26
---> Extracting python26
---> Applying patches to python26
---> Configuring python26
---> Building python26
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_python26/work/Python-2.6.2"
&& /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" "
returned error 2
Command output: if test ""; then \
/usr/bin/gcc-4.0 -o Python.framework/Versions/2.6/Python
-dynamiclib \
-isysroot "" \
-all_load libpython2.6.a -Wl,-single_module \
-install_name
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \
-compatibility_version 2.6 \
-current_version 2.6; \
else \
/usr/bin/libtool -o Python.framework/Versions/2.6/Python
-dynamic libpython2.6.a \
-lSystem -lSystemStubs -arch_only x86_64
-install_name
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
-compatibility_version 2.6 -current_version 2.6 ;\
fi
/usr/bin/install -c -d -m 755 \
Python.framework/Versions/2.6/Resources/English.lproj
/usr/bin/install -c -m 644 Mac/Resources/framework/Info.plist \
Python.framework/Versions/2.6/Resources/Info.plist
ln -fsn 2.6 Python.framework/Versions/Current
ln -fsn Versions/Current/Python Python.framework/Python
ln -fsn Versions/Current/Headers Python.framework/Headers
ln -fsn Versions/Current/Resources Python.framework/Resources
/usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error
Python.framework/Versions/2.6/Python -o python.exe \
Modules/python.o \
-ldl
ld warning: in Python.framework/Versions/2.6/Python, file is not of
required architecture
Undefined symbols:
"_Py_Main", referenced from:
_main in python.o
"_PyMac_Error", referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
Error: Status 1 encountered during processing.
Cheers,
AZ
More information about the macports-users
mailing list