Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Try installing Scala 2.9

sudo port install scala2.9

… or Scala 2.10

sudo port install scala2.10
share|improve this answer
    
Yep, that worked smoothly. Thanks! –  Jonik Nov 1 '11 at 19:58
add comment

Now, scala29 is obsolete. You need to install scala 2.9 or scala2.10:

sudo port install scala2.9
share|improve this answer
2  
Welcome to Ask Different! You can always improve existing posts by editing them. There's no need to post another answer for each new version or version change. –  slhck Apr 28 '13 at 8:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.