3 | | A MacPorts installation is designed to work with a particular operating system and a particular hardware architecture. |
4 | | |
5 | | The migration procedure below is necessary after one of these events: |
6 | | * upgrading the operating system, like from 10.9 (Mavericks) to 10.10 (Yostemite) |
7 | | * migrating to a new machine with a different architecture, like from PowerPC to Intel |
8 | | The migration procedure below is not necessary if you upgrade only Xcode. |
| 3 | A MacPorts installation is designed to work with a particular operating |
| 4 | system and a particular hardware architecture. Problems may occur |
| 5 | after major system changes, such as: |
| 6 | - major operating system upgrades (e.g., from 10.9 Mavericks to 10.10 |
| 7 | Yosemite). |
| 8 | - architecture migrations (e.g., from PowerPC to Intel). |
| 9 | Please follow this procedure to ensure a smooth transition. (This isn't |
| 10 | necessary if you only upgrade Xcode.) |
12 | | 1. **Reinstall Xcode** as explained [https://guide.macports.org/#installing.xcode here]. |
13 | | 1. **Reinstall MacPorts** as explained [https://www.macports.org/install.php here], either from the appropriate pkg or dmg file if already available or [https://www.macports.org/guide/#installing.macports.source from source]. |
| 14 | 1. **Reinstall Xcode.** After a major system change, update the |
| 15 | development tools by |
| 16 | [https://guide.macports.org/#installing.xcode installing the latest version of Xcode]. |
| 17 | 1. **Reinstall MacPorts base.** After updating the development tools, |
| 18 | [https://www.macports.org/install.php install the base MacPorts system] |
| 19 | for your new platform, either from the appropriate installer or from |
| 20 | source. |