[IronPython] Running on Mono under Linux

Michael MichaelNedzelsky at yandex.ru
Sat Apr 9 10:07:50 CEST 2005


On Saturday 09 April 2005 10:18, Keith J. Farmer wrote:
I just install mono 1.1.6 on Mandrake Linux 9.2 and try 
-------------------------------------
mono IronPythonConsole.exe
-------------------------------------

It output:
--------------------------
The assembly mscorlib.dll was not found or could not be loaded.
It should be installed in the '/usr/local/lib/mono/2.0/mscorlib.dll' 
directory.
--------------------------

I found mscorlib.dll in '/usr/local/lib/mono/1.0' and make a link to it.
ln -s /usr/local/lib/mono/1.0 /usr/local/lib/mono/2.0

And now I get:

-------------------------------------------------------
** (IronPythonConsole.exe:31454): WARNING **: Could not find assembly System, 
references from /home/michael/IronPython-0.7.1/bin/IronPython.dll 
(assemblyref_index=1)
     Major/Minor: 2,0
     Build:       3600,0
     Token:       b77a5c561934e089
System error: No such file or directory
-------------------------------------------------------

After all, I try compile from sources with makefile:

--------------------------------------------------------
IronPython/AST/AssemblyGen.cs(129) error CS0246: Cannot find type 
'DynamicMethod'
IronPython/AST/CodeGen.cs(562) error CS0246: Cannot find type 'DynamicMethod'
IronPython/AST/CodeGen.cs(574) error CS0246: Cannot find type 'DynamicMethod'
IronPython/AST/CodeGen.cs(582) error CS0246: Cannot find type 'DynamicMethod'
IronPython/AST/Namespace.cs(100) warning CS0219: The variable 'c' is assigned 
but its value is never used
IronPython/AST/SnippetMaker.cs(45) warning CS0219: The variable 'cb' is 
assigned but its value is never used
IronPython/Hosting/PythonEngine.cs(51) warning CS0219: The variable 'o' is 
assigned but its value is never used

Unhandled Exception: System.Exception:
--------------------------------------------------------

So it doesn't work or compile on Linux.

Michael




More information about the Ironpython-users mailing list