Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22462 closed defect (invalid)

Many major ports won't compile since upgrading to Snow Leopard

Reported by: macports_nospam@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: macports_nospam@…, ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by tobypeterson)

I've been struggling to follow the instructions in the Migration page for a couple of days. I've used MacPorts extensively under 10.5.x without any problems (for Ruby on Rails development). I tried searching the wiki for help, but there were over 500 entries for apache2 alone, all way over my head.

  1. I upgraded my iMac from Leopard to Snow Leopard 10.6.1. I downloaded and installed the latest Xcode.
  1. I downloaded/installed the Snow Leopard version of MacPorts, then Cleaned All and Uninstalled all my ports.
  1. Ruby, Ruby91, Mysql5, lynx, AquaLess, and git-core installed without difficulty.
  1. Trying most other installs generates errors that prevents any success. Generally one of the dependencies gets screwed up, although I'm not enough of a programmer to understand the error messages.
  1. Failed installs include:

a) apache2 ("could not find Cyrus SASL v2", even though I've installed it several times with multiple variants); b) subversion (can't decipher the error); c) ImageMagick (chokes at xorg-libXt); d) rb-fcgi (chokes on help2man)

  1. Sometimes I've been able to overcome an "wrong architecture" message by installing a dependency with the +universal option set. Uninstalling, cleaning, then installing above files with +universal didn't help.

Change History (4)

comment:1 Changed 15 years ago by macports_nospam@…

Cc: macports_nospam@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

file specific bugs

comment:3 Changed 15 years ago by tobypeterson

Description: modified (diff)

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

As Toby says, you should file specific bugs for specific broken ports. But I know that for example apache2, subversion, and ImageMagick install fine on Snow Leopard. You also should not get any "wrong architecture" messages if you properly uninstalled all ports after upgrading to Snow Leopard. So I suspect the migration procedure didn't work properly. Please try again:

  • In the Finder, Get Info on /Developer/Applications/Xcode.app and confirm you have (at least) version 3.2.1. If you don't, upgrade from http://connect.apple.com/
  • In the Terminal, type "port" and verify you have MacPorts version 1.8.1. (Then type "quit" to exit.) If you don't, upgrade from http://www.macports.org/install.php
  • Type "sudo port clean all" and "sudo port -f uninstall installed" to uninstall and clean all ports.
  • Type "port installed" and verify it shows nothing is installed.
  • Do a spot-check of the directories /opt/local/bin and /opt/local/lib and verify nothing is in there (except the parts that MacPorts itself installs).
  • "sudo port install" any ports you want to have.

If you need further assistance, I recommend you write to the macports-users mailing list.

Note: See TracTickets for help on using tickets.