problem installing WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
johnsankey
Level 1
Level 1
Posts: 8
Joined: Thu Aug 18, 2011 8:20 am

problem installing WINE

Post by johnsankey »

Hi, I had to rearrange the user accounts on my iMac (10.6.8) and need to re-instal WINE from the new admin account since the original one got mucked up (for one thing, the .wine directory got deleted which is in user space). It's objecting to the activation of python27:

---> Activating python27 @2.7.2_0+universal
Error: Target org.macports.activate returned: Image error: /Applications/MacPorts/Python 2.7/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python27. Use 'port -f activate python27' to force the activation.
Error: Failed to install python27
Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
Error: The following dependencies were not installed: mesa py27-libxml2 python27 python27 xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
John-Sankeys-iMac:~ xadmin$ port -f activate python27
Error: Insufficient privileges to write to MacPorts install prefix.

Note: the account xadmin DOES have admin privileges; for the moment so does the account WINE was installed under first, but that account needs to revert to standard (non-admin).

How can I best recover from this mess?
bcpeterson
Level 2
Level 2
Posts: 35
Joined: Sat Sep 11, 2010 6:24 pm

Post by bcpeterson »

this is a macports error and not a wine error.

You might try the macports mailing list at

http://www.macports.org/contact.php

But you probably just need to run your port command as sudo:

i.e.

Code: Select all

sudo port -f activate python27
Good luck.
johnsankey
Level 1
Level 1
Posts: 8
Joined: Thu Aug 18, 2011 8:20 am

worked

Post by johnsankey »

Thanks - it worked - it turned out that the version of python in my system was lower than the version fetched this time, but macports told me exactly the command required to fix it, then everything went smoothly.

Many thanks again.
Locked