python24 install failure

Kevin Horton khorton01 at rogers.com
Tue Mar 6 09:17:21 PST 2007


I realized that I might have Fink stuff linked to my ports stuff, so I uninstalled all my ports, deleted the archives, changed the PATH to remove /sw, and started reinstalling.The python24 port will not install, failing like:

/usr/bin/install -c -m 644 ./Mac/OSXResources/app/Resources/English.lproj/Documentation/ide/simple_commands.gif /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
/usr/bin/install -c -m 644 ./Mac/OSXResources/app/Resources/English.lproj/Documentation/ide/syntax_error.gif /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
/usr/bin/install -c -s ./python.exe /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
./python.exe ./Mac/scripts/BuildApplet.py \
--destroot "/opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot" \
        --python /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python \
        --output /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/Applications/MacPorts/MacPython/BuildApplet.app \
        ./Mac/scripts/BuildApplet.py
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named waste
PythonIDE needs the "waste" extension module
See Mac/OSX/README for details
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named _tkinter
IDLE needs the "Tkinter" extension module
See Mac/OSX/README for details
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named waste
PackageManager needs the "waste" extension module
See Mac/OSX/README for details
fixapplepython23: Fix to Apple-installed Python 2.3 should be applied
* WARNING: Apple-installed Python 2.3 will have trouble building extensions from now on.
* WARNING: Run ./Mac/OSX/fixapplepython23.py with "sudo" to fix this.
make -f ./Mac/OSX/Makefile installunixtools \
        DIRMODE=755 FILEMODE=644 \
        srcdir=. builddir=. DESTDIR=/opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.4
/usr/bin/install -c -d /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/bin
ln -fsn /opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/bin/python2.4
ln -fsn python2.4 /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/bin/python
echo "#!/bin/sh" > pythonw.sh
echo "exec \"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python\" \"\$@\"" >> pythonw.sh
/usr/bin/install -c pythonw.sh /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/bin/pythonw2.4
ln -fsn pythonw2.4 /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/bin/pythonw
make: Nothing to be done for `maninstall'.
ln: Libraries/lib: File exists
Error: Target com.apple.destroot returned: shell command "cd /opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/  && ln -s Versions/Current/lib Libraries" returned error 1
Command output: ln: Libraries/lib: File exists

Warning: the following items did not execute (for python24): com.apple.activate com.apple.destroot com.apple.archive com.apple.install
Error: Status 1 encountered during processing.

========================================
I did a port selfupdate.  I'm on PPC, with the latest XCode.  Any advice would be appreciated.

Kevin Horton
Ottawa, Canada



More information about the macports-users mailing list