tags:

views:

625

answers:

3

I installed MonoDevelop 2.2 for the Mac OS X and when I start I get the error described on the title. The weird thing is that I already installed the mono framework.

Any ideas?

+1  A: 

MonoDevelop's startup script detects the Mono version using mono --version. What's the output of that command?

mhutch
Mono JIT compiler version 2.4.2.3 (tarball Mon aug 31 09:54:11 MDT 2009)TLS: normalGC: Included Boehm (with typed GC)SIGSEGV: normalNotification: Thread + pollingArchitecture x86Disabled: none
Jonas Stawski
+2  A: 

apparently my Mac OS X installation was corrupted and the grep command (among other commands) was missing. It seems like MonoDevelop uses the grep command to get the MonoFramework version and it was erroring out. A fresh new install of the OS solved my problem

Jonas Stawski
Wow, that's certainly obscure :)
mhutch
A: 

I have the same problem, my installation seems to be fine however.

Grep works fine and so does mono.

anuj-seths-macbook:~ anujseth$ mono --version
Mono JIT compiler version 2.4.2.3 (tarball Mon Jul 27 11:01:22 MDT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
 TLS:           normal
 GC:            Included Boehm (with typed GC)
 SIGSEGV:       normal
 Notification:  Thread + polling
 Architecture:  x86
 Disabled:      none

The startup script's parts that do the check for the version ( in /Applications/MonoDevelop.app/Contents/MacOS/monodevelop) individually seem to work.

For example,

MONO_VERSION="$(mono --version | grep 'Mono JIT compiler version ' |  cut -f5 -d\ )"
MONO_VERSION_MAJOR="$(echo $MONO_VERSION | cut -f1 -d.)"
MONO_VERSION_MINOR="$(echo $MONO_VERSION | cut -f2 -d.)"

show the correct (sub)strings,

> anuj-seths-macbook:~ anujseth$ mono
> --version | grep 'Mono JIT compiler version ' |  cut -f5 -d\ | cut -f1 -d.
> 2 anuj-seths-macbook:~ anujseth$ mono
> --version | grep 'Mono JIT compiler version ' |  cut -f5 -d\ | cut -f2 -d.
> 4

both of which match the REQUIRED_MAJOR and REQUIRED_MINOR versions.

I'm not sure what the last part of the if predicate is, and there in possibly lies the problem ? Or maybe my system install is messed up.

This bit,

! -f '/Library/Frameworks/Mono.framework/Versions/Current/updateinfo'
Anuj Seth