[Mono-osx] Help with Mono, IKVM -- sadly

christopher hord chordam7 at yahoo.com
Fri May 23 11:12:27 EDT 2008


Perfect! That was the exact problem! I forgot I first tried Mono through Fink. I think that's been giving me problems in various ways for a while.

I just successfully invoked ikvm from the command line and I believe I can get moving on my project now.

Thanks, everyone, for all your help!

Chris

Geoff Norton <gnorton at novell.com> wrote: You have installed mono from us and from fink.

Remove the one from fink.  Its ancient and breaks things because of how
they add things to path.

-g

On Thu, 2008-05-22 at 19:09 -0700, christopher hord wrote:
> Andreas,
> 
> I spoke too soon! Your suggestion was a great hel, thanks! I was
> symlinking the wrong file. Once I realized my mistake, I made some new
> symlinks and the terminal recognizes ikvm to my great relief!
> 
> However, I am getting the following error message:
> 
> Corlib not in sync with this runtime: expected corlib version 65,
> found 54.
> Loaded from: /sw/lib/mono/1.0/mscorlib.dll
> Download a newer corlib or a newer runtime at
> http://www.go-mono.com/daily.
> 
> I have had issues such as this in the past but had figured it wouldn't
> be a problem when this was all part of the same download. I will try
> to get the newest version of the whole package to see if this resolves
> any issues (unless anyone has better suggestions?)!
> 
> Anyway, thanks all, for your assistance.
> 
> Chris
> 
> Andreas Färber  wrote:
>         Christopher,
>         
>         Am 21.05.2008 um 01:39 schrieb christopher hord:
>         
>         > I get the response:
>         >
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/bin/ikvm
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/bin/ikvmc
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/bin/ikvmstub
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ikvm- 
>         > native.dll
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ikvm.exe
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ikvmc.exe
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ 
>         > ikvmstub.exe
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libikvm-native.a
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libikvm- 
>         > native.dylib
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libikvm- 
>         > native.la
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/mono/ikvm
>         > /Library/Frameworks/Mono.framework/Versions/1.9.1/share/pkgconfig/ 
>         > ikvm.pc
>         >
>         > Encouraged by that, I decided maybe I was going about it
>         wrong, 
>         > since ikvm might always expect a classname to follow. I
>         whipped up a 
>         > quick "hello world", compiled a class and put that class
>         into the 
>         > ikvm folder (so I knew everything should be found, because
>         all the 
>         > files were in the same directory).
>         
>         I can execute ikvm on 1.9.1_3 on Intel, the executable is
>         symlinked 
>         in /usr/bin. You can execute it without arguments and get a
>         help 
>         screen. You shouldn't need to put your files in any special
>         folder.
>         
>         Check whether there is such a symlink on your system ("ls
>         -l /usr/bin/ 
>         ikvm") and whether /usr/bin is in your $PATH ("echo $PATH").
>         
>         > I navigated to that directory and entered "ikvm" classname
>         from the 
>         > terminal. Still got "-bash: ikvm: command not found...."
>         
>         To execute it from the current directory you need to enter
>         "./ikvm" 
>         instead.
>         
>         Andreas
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080523/a2b98cfd/attachment-0001.html 


More information about the Mono-osx mailing list