Forums

Installing on OS X Snow Leopard 10.6.8 fails?

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Installing on OS X Snow Leopard 10.6.8 fails?

Postby amfischer » Wed Jul 06, 2011 3:03 am

I'm trying to install Cobra under 10.6.8, and I get the following error when running sudo bin/install-from-sources (I get the same if I add the which dmcs thing at the end):

Code: Select all
==== Build Cobra.Lang.Compiler library

run: cobra.exe -c -t:lib -namespace:Cobra.Lang.Compiler -files:files-to-compile.text -debug -turbo -out:Cobra.Lang.Compiler.dll -key-file:Cobra.Lang/Cobra.Lang.snk cobra.cobra
   : BackEndJvm/JavaGenerator.cobra(754): error: Incompatible types. Cannot assign value of type String on the right to Type on the left.
   : BackEndJvm/JavaGenerator.cobra(756): error: Incompatible types. Cannot assign value of type String on the right to Type on the left.
   : BackEndJvm/JavaGenerator.cobra(759): error: Cannot mix types String and Type for arithmetic.
   : BackEndJvm/JavaGenerator.cobra(762): error: Cannot mix types String and Type for arithmetic.
   : BackEndJvm/JavaGenerator.cobra(764): error: Cannot return Type because "_computeJavaRef.get" is declared to return a String.
   : BackEndJvm/JavaGenerator.cobra(2373): error: Incompatible types. Cannot assign value of type String on the right to Type on the left.
   : BackEndJvm/JavaGenerator.cobra(2374): error: Cannot apply PLUS to Type and String. Try finding a method that performs this function.
   : Compilation failed - 7 errors, 0 warnings

** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
 * Make sure you ran with sudo or as root.
 * Mono 2.6.x or Mono 2.10.x or higher are recommended.
 * Review http://cobra-language.com/troubleshooting
 * Ask at http://cobra-language.com/discuss
 * Ask at http://cobra-language.com/irc


I've tried to find info elsewhere in the forum, but nothing jumped out. Oh—the sources I used to compile are whatever came off SVN today. :)
amfischer
 
Posts: 4
Location: Sweden

Re: Installing on OS X Snow Leopard 10.6.8 fails?

Postby Charles » Wed Jul 06, 2011 10:04 am

I've confirmed the problem. I'll post again when it's fixed.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Installing on OS X Snow Leopard 10.6.8 fails?

Postby Charles » Wed Jul 06, 2011 5:12 pm

Fixed.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Installing on OS X Snow Leopard 10.6.8 fails?

Postby amfischer » Wed Jul 06, 2011 10:53 pm

And now it says "Success!" :)

Thanks for the incredibly fast turnaround—I'm impressed, and now eager to get into learning this language!
amfischer
 
Posts: 4
Location: Sweden

Re: Installing on OS X Snow Leopard 10.6.8 fails?

Postby Charles » Thu Jul 07, 2011 8:15 am

You're welcome. Let us know how it goes. Try out the new @help directive.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 26 guests