Forums

Building trunk r1819 on Fedora 9 w/ mono-core-2.2 fails

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

Building trunk r1819 on Fedora 9 w/ mono-core-2.2 fails

Postby mhcox » Mon Dec 08, 2008 9:50 am

I checked out r1819 of cobra/trunk into a cobra-trunk directory under ~/projects/OSS. I cd'ed into the Source directory and ran "sudo ./install-from-workspace". Initially, I got a failure that I had mono 1.9 and needed mono 2.0+. I could only find 2.0+ in the "rawhide" yum repository and ran "yum update mono-*" and got 2.2. I than re-ran the install-from-workspace script and got the following error:

/home/mhcox/projects/OSS/cobra-trunk/Source/Snapshot/Cobra.Lang/Set.cobra(197):
error: Cannot redeclare "item" as "Object?" because it was declared as "T" earlier.
Compilation failed - 1 error, 0 warnings
Not running due to errors above.


I'm brand new to Cobra (I wanted to install it to start learning more about it). Could someone help me with this problem?

Thanks,
Mike
mhcox
 
Posts: 2

Re: Building trunk r1819 on Fedora 9 w/ mono-core-2.2 fails

Postby Charles » Mon Dec 08, 2008 2:26 pm

I'm using Mono 2.0 on Mac OS X and installing r1819 works for me.

When I go to http://www.go-mono.com/mono-downloads/download.html I don't even see a version newer than 2.0.1

Then over at http://mono.ximian.com/monobuild/preview/download-preview/ I see I can get 2.2 Preview 2.

Can you tell yum that you want version 2.0.0 or 2.0.1? Maybe remove the current mono and install mono-core-2.0.1 or mono-core-2.0[.0]

Let us know how it goes. I'll try to look at Mono 2.2 Preview this week to see what the problem is.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Building trunk r1819 on Fedora 9 w/ mono-core-2.2 fails

Postby mhcox » Tue Dec 09, 2008 8:13 am

Chuck wrote:I'm using Mono 2.0 on Mac OS X and installing r1819 works for me.

When I go to http://www.go-mono.com/mono-downloads/download.html I don't even see a version newer than 2.0.1

Then over at http://mono.ximian.com/monobuild/preview/download-preview/ I see I can get 2.2 Preview 2.

Can you tell yum that you want version 2.0.0 or 2.0.1? Maybe remove the current mono and install mono-core-2.0.1 or mono-core-2.0[.0]

Let us know how it goes. I'll try to look at Mono 2.2 Preview this week to see what the problem is.


It looks like the default yum repositories only have 1.9.1 and the experimental/testing repositories have 2.2 (for Fedora 11 (just released 10)). No 2.0.

The mono site doesn't support downloads for redhat/fedora anymore. I'll see what I can do with the source.

Mike
mhcox
 
Posts: 2

Re: Building trunk r1819 on Fedora 9 w/ mono-core-2.2 fails

Postby Charles » Tue Dec 09, 2008 11:27 am

Actually when I bumped the requirement to 2.0, it was in response to someone having problems with 1.2.x (which I considered old) combined with me forgetting there was even a 1.9.x. Now I have 2.0.0 so I can't verify 1.9 will work, but I just updated the installer to drop the requirement down to 1.9.

Please give it a try and let us know how it goes.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 131 guests

cron