Looping on Python 2.7.3_1
Ned Deily
nad at acm.org
Fri Nov 16 19:34:50 PST 2012
In article <7108A9C5-5B17-4393-AC49-6631397E0478 at macports.org>,
Ryan Schmidt <ryandesign at macports.org> wrote:
> On Nov 16, 2012, at 14:40, Alejandro Imass wrote:
>
> > When I do port install dosbox it tries to re-install Python 2.7.3_1
> >
> > sudo port install dosbox
> > ---> Computing dependencies for python27
> > ---> Staging python27 into destroot
> >
> > But Python is already installed:
> >
> > port installed python27
> > The following ports are currently installed:
> > python27 @2.7.3_1 (active)
>
> python27 is installed non-universal (for x86_64 only). dosbox only builds
> 32-bit. Therefore MacPorts is trying to rebuild python27 universal (for
> x86_64 and i386).
>
>
> > Also, the Python27 build fails because it can't find some shared
> > objects (shoudl these be dylibs instead??). Here are some relevant
> > parts of the main.log file:
> >
> > :info:destroot ImportError:
> > dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pytho
> > n2.7/site-packages/_xmlplus/parsers/pyexpat.so,
> > 2): no suitable image found. Did find:
> > :info:destroot
> > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/si
> > te-packages/_xmlplus/parsers/pyexpat.so:
> > mach-o, but wrong architecture
> > :info:destroot make[1]: *** [install_BuildApplet] Error 1
>
> Could you file a bug report for that?
This appears to be yet another instance of the problem reported in
https://trac.macports.org/ticket/32090, At some point port py27-xml was
installed. That port is now obsolete and has been deleted. You need to
uninstall it and get rid of the conflicting pyexpat.so.
--
Ned Deily,
nad at acm.org
More information about the macports-users
mailing list