Build guide for Python.NET using Mono on Linux?
I'm very unfamiliar with Mono & C#. Is there a guide or instructions anywhere for building using Mono on Linux? I'm using Anaconda64 on Ubuntu with Mono 4.0.12 If I try to build the whole solution in Mono (same results with 2.0, master & develop zips from Github) I get 2 errors: Error CS1566: Error reading resource file `/home/mj-ubuntu/Public/pythonnet-develop/src/console/$(PythonBuildDir)/Python.Runtime.dll' (CS1566) (Console) /home/mj-ubuntu/Public/pythonnet-develop/src/clrmodule/ClrModule.cs(6,6): Error CS0246: The type or namespace name `RGiesecke' could not be found. Are you missing an assembly reference? (CS0246) (clrmodule) Any thoughts/suggestions/ideas?
You need to change the configuration of build to Mono from Win. Maybe
MonoDevelop supports this for solution/project files? If you build using
setup.py what is the result?
On Thu, Sep 10, 2015, 4:28 PM Jonno
I'm very unfamiliar with Mono & C#. Is there a guide or instructions anywhere for building using Mono on Linux?
I'm using Anaconda64 on Ubuntu with Mono 4.0.12
If I try to build the whole solution in Mono (same results with 2.0, master & develop zips from Github) I get 2 errors:
Error CS1566: Error reading resource file `/home/mj-ubuntu/Public/pythonnet-develop/src/console/$(PythonBuildDir)/Python.Runtime.dll' (CS1566) (Console)
/home/mj-ubuntu/Public/pythonnet-develop/src/clrmodule/ClrModule.cs(6,6): Error CS0246: The type or namespace name `RGiesecke' could not be found. Are you missing an assembly reference? (CS0246) (clrmodule)
Any thoughts/suggestions/ideas? _________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
Look at .travis.yml or the travis-ci jobs to see how to build on Linux.
Tony
On Thu, Sep 10, 2015 at 10:35 PM Denis Akhiyarov
You need to change the configuration of build to Mono from Win. Maybe MonoDevelop supports this for solution/project files? If you build using setup.py what is the result?
On Thu, Sep 10, 2015, 4:28 PM Jonno
wrote: I'm very unfamiliar with Mono & C#. Is there a guide or instructions anywhere for building using Mono on Linux?
I'm using Anaconda64 on Ubuntu with Mono 4.0.12
If I try to build the whole solution in Mono (same results with 2.0, master & develop zips from Github) I get 2 errors:
Error CS1566: Error reading resource file `/home/mj-ubuntu/Public/pythonnet-develop/src/console/$(PythonBuildDir)/Python.Runtime.dll' (CS1566) (Console)
/home/mj-ubuntu/Public/pythonnet-develop/src/clrmodule/ClrModule.cs(6,6): Error CS0246: The type or namespace name `RGiesecke' could not be found. Are you missing an assembly reference? (CS0246) (clrmodule)
Any thoughts/suggestions/ideas? _________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
Thanks Tony, the instructions in travis.yml worked - mostly. I had a
glib-2.0 not found error that I solved by installing libgtk2.0 then it
completed ok.
On Fri, Sep 11, 2015 at 3:15 AM, Tony Roberts
Look at .travis.yml or the travis-ci jobs to see how to build on Linux.
Tony
On Thu, Sep 10, 2015 at 10:35 PM Denis Akhiyarov < denis.akhiyarov@gmail.com> wrote:
You need to change the configuration of build to Mono from Win. Maybe MonoDevelop supports this for solution/project files? If you build using setup.py what is the result?
On Thu, Sep 10, 2015, 4:28 PM Jonno
wrote: I'm very unfamiliar with Mono & C#. Is there a guide or instructions anywhere for building using Mono on Linux?
I'm using Anaconda64 on Ubuntu with Mono 4.0.12
If I try to build the whole solution in Mono (same results with 2.0, master & develop zips from Github) I get 2 errors:
Error CS1566: Error reading resource file `/home/mj-ubuntu/Public/pythonnet-develop/src/console/$(PythonBuildDir)/Python.Runtime.dll' (CS1566) (Console)
/home/mj-ubuntu/Public/pythonnet-develop/src/clrmodule/ClrModule.cs(6,6): Error CS0246: The type or namespace name `RGiesecke' could not be found. Are you missing an assembly reference? (CS0246) (clrmodule)
Any thoughts/suggestions/ideas? _________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
participants (3)
-
Denis Akhiyarov
-
Jonno
-
Tony Roberts