Forums

Cobra Installation Problem on Ubuntu Natty 11.04

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

Cobra Installation Problem on Ubuntu Natty 11.04

Postby RainbowPony » Sun Feb 06, 2011 3:29 pm

Hi, I've been trying to install the Cobra Programming Language on my Ubuntu side running Natty 11.04 using the instructions provided at the Downloads Page and the Install From Source page and also the instructions provided in the Readme.text file and I've gotten nothing but errors. The current one is:
Code: Select all
Compiling installation program...
error: COBRA INTERNAL ERROR / NullReferenceException / Object reference not set to an instance of an object
Compilation failed - 1 error, 0 warnings
Not running due to errors above.


Anyone have any intuition about what I'm doing wrong here? I simply run "sudo ./install-from-workspace" as the instructions specify and this is what I get. Earlier, it was this error:
Code: Select all
error: unexpected debug information initialization error "the assembly for default symbol writer cannot be loaded" compilation failed - 1 error, 0 warnings


After googling that extensively, it seemed pretty obvious that the error had something to do with my Novell Mono installation, which apparently was a debian version instead of an ubuntu version. After installing the newer 2.8 version, I still got the same errors. So, then I installed the 2.4 version, since Cobra specifies that you should have at least that version, and I got this error:
Code: Select all
The class system.nullable`1 could not be loaded, used in mscorlib, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089


So yeah, I'm not really sure what to do here. I doubt it is a problem with Natty or with the basic Novell Mono I have installed, but anything is likely. Is there anything obvious I'm not trying or should I just quit here.
RainbowPony
 
Posts: 2

Re: Cobra Installation Problem on Ubuntu Natty 11.04

Postby Charles » Tue Feb 08, 2011 3:33 am

I don't see any obvious problems with what you're trying and I don't see anything on the Troubleshooting wiki page that seems to apply.

I toyed with the idea of installing Ubuntu myself in a VM so I could try it, but when I go to the obvious place:

http://www.ubuntu.com/desktop/get-ubuntu/download

I'm offered "Ubuntu 10.10 - Latest version". Where are you getting 11.04 from? ... well never mind, I searched for Ubuntu Natty and the first hit says "Alpha 1". I'll try first with 10.10 and if successful, try 11.x.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Cobra Installation Problem on Ubuntu Natty 11.04

Postby RainbowPony » Wed Feb 09, 2011 12:12 am

Solved. Although, I don't know what know exactly what the solution is. I've been moving stuff around/deleting stuff/downloading new stuff and I decided to try installing cobra again, except by checking out the repository. This time when I ran the installation script, it worked fine. Thanks.
RainbowPony
 
Posts: 2

Re: Cobra Installation Problem on Ubuntu Natty 11.04

Postby Charles » Wed Feb 09, 2011 12:32 am

Cool. Thanks for the update.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Cobra Installation Problem on Ubuntu Natty 11.04

Postby Charles » Wed Feb 09, 2011 2:51 am

Just for kicks, I tried an install from the latest source on Ubuntu 10.10 but was met with:
Code: Select all
Compiling installation program...
error: Unexpected debug information initialization error "The assembly for default symbol writer cannot be loaded"
Compilation failed - 1 error, 0 warnings
Not running due to errors above.

The solution is to issue:
Code: Select all
sudo apt-get build-dep monodevelop
sudo apt-get install mono-xbuild

I have updated the Troubleshooting wiki page.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 58 guests

cron