logo       

Re: Bug in Windows Installer (1.4.0.3): msg#00000

lang.scala

Subject: Re: Bug in Windows Installer (1.4.0.3)

I just installed Scala 1.4.0.4 in another windows machine and got
the same problem. I used the automatic installer, added
%SCALA_HOME%\bin to the path, I can get scalac -version to print the
correct version, but when I try to compile anything I get the same
errors. This is the third windows installation I do, all with the same
problem. I noticed the solution looking in gmane for the list
archives, when someone else complained about the same problem. I
thought it could be some installation option, but there are none, you
just press "Next" when asked.

In all machines I tested the SO was Windows XP Brazilian Portuguese
edition (with and without SP2), with JDK 1.5 Update 06. Installed
scala to the %PROGRAM_FILES% directory.

--
[]s, Andrei Formiga


On 1/13/06, Stéphane Micheloud <stephane.micheloud@xxxxxxx> wrote:
> Hi Andrei,
>
>
> I could not reproduce your problem.
>
> Here are the steps I followed:
>
> 1) Installed the Scala distribution in the directory C:\Temp\ using
> install.exe (7'503'891 bytes) for Scala 1.4.0.3
>
> 2) In the DOS console:
>
> C:\Temp\Scala> set PATH=C:\Temp\Scala\bin;%PATH%
> C:\Temp\Scala> scalac -version
> scalac 1.4.0.3 -- (c) 2002-05 LAMP/EPFL
> C:\Temp\Scala> scalac examples\sort.scala
> C:\Temp\Scala> scala -cp . examples.sort
> [6,2,8,5,1]
> [1,2,5,6,8]
>
>
> Bye
> --S. Micheloud
>
> Andrei Formiga wrote:
> > Happy New Year everyone,
> >
> > Just a quick note to let know that the windows installer for
> > version 1.4.0.3 is still broken. After installation, I got these
> > results:
> >
> > D:\Test\scala>scalac -version
> > scalac 1.4.0.3 -- (c) 2002-05 LAMP/EPFL
> >
> > D:\Test\scala>scalac Hello.scala
> > error: source file for class Function0 could not be found; source file
> > for class Function0 is needed
> > error: source file for class Function1 could not be found; source file
> > for class Function1 is needed
> > error: source file for class Function2 could not be found; source file
> > for class Function2 is needed
> > error: source file for class Function3 could not be found; source file
> > for class Function3 is needed
> > error: source file for class Function4 could not be found; source file
> > for class Function4 is needed
> > error: source file for class Function5 could not be found; source file
> > for class Function5 is needed
> > error: source file for class Function6 could not be found; source file
> > for class Function6 is needed
> > error: source file for class Function7 could not be found; source file
> > for class Function7 is needed
> > error: source file for class Function8 could not be found; source file
> > for class Function8 is needed
> > error: source file for class Function9 could not be found; source file
> > for class Function9 is needed
> > 10 errors found
> >
> >
> > I thought about messing with the CLASSPATH, but following this message:
> > http://article.gmane.org/gmane.comp.lang.scala/947/
> >
> > I downloaded the zip distribution and substituted the contents of
> > the src folder in the installed location with the contents of the zip
> > file. Then it worked.
> >
> > --
> > []s, Andrei Formiga
>
> --
>
> ========================================================================
> Stephane Micheloud Tel: +41 21 693 7593
> EPFL - I&C - LAMP Fax: +41 21 693 6660
> IN BC 346
> Station 14 http://lamp.epfl.ch/~michelou/
> CH-1015 Lausanne, Switzerland mailto: stephane.micheloud@xxxxxxx
> ========================================================================
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise