[issue6170] Mac 'make frameworkinstall' error: [...]/Python.framework/Versions/3.1/bin/2to3: Too many levels of symbolic links

Ronald Oussoren report at bugs.python.org
Tue Jun 2 12:12:51 CEST 2009


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I found the issue.

In r72899 antoine.pitrou checked in a change that adds these two lines 
to the bininstall target in Makefile.pre.in:

   -rm -f $(DESTDIR)$(LIBPC)/python3.pc
   (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python3.pc)

This exposes a bug in the configure script, which causes target 
'bininstall' to run before 'libainstall' when your doing a framework 
install.  The latter target is the one that creates python-
$(VERSION).pc, which is why we get build failures.

What I don't understand is why I've been able to install frameworks all 
along and didn't notice this before. 

I'm working on a patch, and will check that in after I've full tested 
it.

The important bit of the patch is this change to configure.in:

-		FRAMEWORKALTINSTALLFIRST="frameworkinstallstructure 
bininstall maninstall"
+		FRAMEWORKALTINSTALLFIRST="frameworkinstallstructure "

----------
components: +Macintosh -2to3 (2.x to 3.0 conversion tool), Distutils

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6170>
_______________________________________


More information about the Python-bugs-list mailing list