Account confirmers, Anti-spam team, canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,083
edits
| Line 37: | Line 37: | ||
== Installing MacPorts == | == Installing MacPorts == | ||
* Install the MacPorts package from ref platform version 1.6-10.5 | |||
* Unpack the macports-10.5 tarball of source packages and move them into place: | |||
cd /opt/local/var/macports | cd /opt/local/var/macports | ||
| Line 45: | Line 45: | ||
sudo tar jxf /tools/dist/macports-10.5.tar.bz2 | sudo tar jxf /tools/dist/macports-10.5.tar.bz2 | ||
* Due what is said to be to a bug in MacPorts 1.6, .profile isn't initialized correctly, so do this manually (as enduser): | |||
nano ~/.profile | nano ~/.profile | ||
| Line 54: | Line 54: | ||
Write to disk (^O) and Exit (^X), then re-login as enduser to set those variables. | Write to disk (^O) and Exit (^X), then re-login as enduser to set those variables. | ||
* Somehow MacPorts has upgraded itself to the newest version, we now have 1.710 installed even though the installer was 1.6. Our macports source tarball isn't really consistent with that version, so need to do a selfupdate: | |||
sudo port selfupdate | sudo port selfupdate | ||
| Line 60: | Line 60: | ||
Note that it doesn't actually update itself, but it fixes some internal config (no visible output about that though). | Note that it doesn't actually update itself, but it fixes some internal config (no visible output about that though). | ||
* Next, need to install a series of ports, all of which should already have been contained (and the right version) in the macports tarball unpacked before, if it wasn't for the magical self-updating of MacPorts. Seeing the port command hitting the network (-->Fetching...) while installing the needed ports, but need to live with it, hoping that installed versions are OK for us. | |||
sudo port install sqlite3 | sudo port install sqlite3 | ||
edits