This page has been written in four parts. It was originally created in April 2011 and driven by my desire to install WINE. It was significantly added to in Oct 2013 when I upgraded to MacOS X 10.6, Snow Leopard. It was at this point that I transferred from Porticus to Pallet. In Dec 2013, I documented the Macports runes for MacOS 10.9 which, of course, breaks Pallet. I have by now written a script to keep my Macports up to date. In June 2014, I returned to WINE and used Macports to install Wineskin and uninstall WINE. This page was further updated in April 2016 as I moved forward from Yosemite to El Capitan.
In 2014, I wrote wrote a script called refresh, which updates Macports and then refreshes the binary tree.
- my refresh script v3 … here...
I should put refresh up on Github. If so I should check these pages out.
- Always do a sudo port search keyword before running a port install
- tee the log somewhere, I use my ~/Builds directory for this purpose, although the refresh script uses
logrotate. /opt/local/var/logs after April 2016
In his multi product review, Tony Fischetti speaks of Macports sandboxing, by which he means the use of the
/opt/local directories. (I reckon some of the installs I have used supplementary to WINE may be in the /usr folders. I think I installed WINE from Macports after the OSx 10.9 rebuild so it should be the only one left. I need another audit; I need to check the parameters to see if reports on the installs. I should also check if the debian inspired solutions have multiple, extensible repositories.
We need a new xcode, & macports. Xcode from Apple and Macports from here. Once installed on the disk, one needs to run,
$ xcode -license $ xcode-select --install
as documented elsewhere on this wiki the logs and .conf files have been erased, and so I decided to reinstall them in /opt/local. Both refresh and tdiff.py need to be adjusted. I have also run a port clean all as it failed on python 2.7 the first time I got it to run, perhaps I should run the port update by hand for the first time.
I upgraded to 10.9 in Dec 2013.
You’d hope that Pallet would work, but no. You’d hope the command line would work but no!
Here is the Macports Migration page, on my way to failing to get the command line to work, I have re-installed Xcode from the Appstore. At Stackoverflow, they have a page called, “Failed to install command line tools on OSX Mavericks”, which recommends getting the command line tools from Apple’s Developer site, https://developer.apple.com/downloads/index.action#, which is what I have done.
I am now working through the process proposed at http://trac.macports.org/wiki/Migration. This involves saving the port list, uninstalling, cleaning and then installing the ports you want. One of my port install errors is caused by the need to run the
xcodebuild -license despite installing the command line tools via a super user GUI installer.
Do not ignore their advice on the macports.conf file. I needed to change the universal_archs parameter
universal_archs x86_64 i386
I have not yet run a diff on the current and default, which they recommend.
This bug report is specific to wine-devel http://trac.macports.org/ticket/37354 and relates to faulty universal_archs setting
I return to this in July 2014. I try to install pallet, using macports.
sudo port install pallet
This fails with a compilation error, stating that the garbage collector doesn’t work. This is bugged at the Macports wiki, bug no 43581. There is no forecast for a fix. July 2014