I'm trying to install Scala following the advice at the official website:
sudo port install scala
But this gives me:
---> Fetching archive for scala ---> Attempting to fetch scala-2.7.7_2.darwin_10.x86_64.tbz2 from http://packages.macports.org/scala ---> Fetching scala ---> Verifying checksum(s) for scala ---> Extracting scala ---> Configuring scala Error: Please use one of the numbered scala* ports instead. Error: Target org.macports.configure returned: obsolete port Log for scala is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_scala/scala/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I'm completely new to both MacPorts and Scala, and don't know what "Please use one of the numbered scala* ports instead" means. What command should I use then?
I'm not too picky about the Scala version, but of course I'd prefer the latest stable one (currently 2.9.1).
NB: I know I could install Scala without MacPorts, but I'd rather use Macports to manage the installation if it's possible without much hassle.