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

Andreas Färber andreas.faerber at web.de
Wed May 21 05:11:59 EDT 2008


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"  


More information about the Mono-osx mailing list