LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2015, 08:24 AM   #1
andrew.comly
Member
 
Registered: Dec 2012
Distribution: Trisquel-Mini 7.0, Lubuntu 14.04, Debian lxde 8.0
Posts: 314
Blog Entries: 2

Rep: Reputation: 16
Question Monodevelop's GUI "Windows.Forms" - Can't install on ubuntu


Hi, I would like to give monodevelop a try to learn a little C# programming, mainly WinForms. The OS I use is Lubuntu 14.04. Initially I tried to install monodevelop by synaptic package manager. Unfortunately this doesn't work due to an "***xamarin_all.deb error 404 file not found" error. I then searched for this ***.xamarin.deb file, and I came across http://www.mono-project.com/docs/get...l/linux/#usage webpage.

I followed this tutorial and currently have Mono JIT compiler version 4.0.1 installed. Now I can make a "Hello Mono World" blank dialog appear on my screen via terminal(mcs command) and gedit. Unfortunately there is no GUI interface, thus I kept reading mono-project.com, and found that the two main toolkits offered by Mono are GTK# and Winforms. Then on http://www.mono-project.com/docs/gui/ I read two contradictory statements:
Quote:
1) Windows.Forms ... As a popular toolkit used by millions of Windows developers (especially for internal enterprise applications), the Mono project decided to produce a compatible implementation (Winforms) to allow these developers to easily port their applications to run on Linux and other Mono platforms.
...
2) Platforms: Windows, Unix, OSX
So even though 1) "port their applications to run on Linux", still linux(in my case Lubuntu) isn't one of the platforms Windows.Forms supports(2), is this right?

Still I thought that there might be a possibility to install Windows.Forms GUI for Monodevelop, so I searched the internet and found the article "How do I install mono's System.Windows.Forms on Ubuntu?" on http://unix.stackexchange.com/questi...orms-on-ubuntu.

Response from following the above tutorial:
Code:
a@a-NC210-NC110:~$ sudo apt-get install libmono-system-runtime2.0-cil
[sudo] password for a: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libmono-system-runtime2.0-cil : Depends: libmono-system-web2.0-cil (>= 2.10.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
a@a-NC210-NC110:~$ sudo apt-get install libmono-system-runtime1.0-cil
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmono-system-runtime1.0-cil
E: Couldn't find any package by regex 'libmono-system-runtime1.0-cil'
Similiarly, I get the exact same error message as above for both 'sudo apt-get install libmono-winforms1.0-cil' and 'libmono-winforms2.0-cil'.

Naturally with the above error there might be broken packages, thus I executed:
Code:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoclean $$ apt-get clear cache
Then I tried again to install:
Code:
libmono-winforms1.0-cil, libmono-winforms2.0-cil, libmono-system-runtime1.0-cil, libmono-system-runtime2.0-cil
via terminal(sudo apt-get install), but I still get the same response. I reopen up synaptic and again when filtering broken packages, nothing shows up.

Is there something wrong with my system, my procedure or is the whole idea of installing Windows.Forms as a GUI for monodevelop on Lubuntu 14.04 one big FALSE NOTION?

Andrew

Last edited by andrew.comly; 06-07-2015 at 09:13 AM. Reason: spacing
 
Old 06-07-2015, 09:30 PM   #2
andrew.comly
Member
 
Registered: Dec 2012
Distribution: Trisquel-Mini 7.0, Lubuntu 14.04, Debian lxde 8.0
Posts: 314

Original Poster
Blog Entries: 2

Rep: Reputation: 16
Additionally, even though I can complete some more simple tutorials through lxterminal/gedit with mcs, still when I try to compile programs with gmcs I get the following errors:
Code:
a@a-NC210-NC110:/media/a/LG/AC/Learn//Mono_Develop$ gmcs -pkg:dotnet WinFormEx1.cs
The program 'gmcs' is currently not installed. You can install it by typing:
sudo apt-get install mono-mcs
...
a@a-NC210-NC110:/media/a/LG/AC/Learn//Mono_Develop$ gmcs --about
The program 'gmcs' is currently not installed. You can install it by typing:
sudo apt-get install mono-mcs
a@a-NC210-NC110:/media/a/LG/AC/Learn//Mono_Develop$ sudo apt-get install mono-mcs
[sudo] password for a: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mono-mcs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
I also have sent http://www.mono-project.com/communit...mailing-lists/ several emails and no one ever gets back to me.

Thus, this post serves as a warning against Monodevelop Windows.Forms. Please be advised, this application is far underdeveloped.

Last edited by andrew.comly; 06-09-2015 at 09:28 PM. Reason: accuracy
 
  


Reply

Tags
gui, installation, monodevelop, programing, winforms


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start with MonoDevelop in Ubuntu rajmond Linux - Mobile 1 06-28-2014 01:34 PM
[SOLVED] monodevelop install lord_didger Debian 2 05-30-2011 02:05 PM
LXer: MonoDevelop on Windows LXer Syndicated Linux News 0 05-06-2009 02:00 PM
Using Windows.Forms (winforms) on MonoDevelop ordealbyfire83 Linux - Software 2 08-05-2007 07:37 PM
anyone tried gnome glade for building GUI FORMS? sonika_singhi Programming 1 05-24-2005 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration