Installing MonoDevelop from Source on Ubuntu Installera MonoDevelop från källkod på Ubuntu
After reading a post from my friend Daniel about the Efter att ha läst ett inlägg från min vän Daniel om new release of MonoDevelop nya utgåvan av MonoDevelop , I decided to try and install it… which is when I realized that the installation from source is so painful I'd better figure it out and share it with everybody else. Beslöt jag att försöka installera det ... som när jag insåg att installationen från källan är så smärtsam jag bättre skulle lista ut det och dela det med alla andra.
The first thing we'll need to do is install all the prerequisite development library packages so we can link against them when we build. Det första vi behöver göra är att installera alla paket förutsättning utveckling biblioteket så att vi kan länka mot dem när vi bygger. This will take quite a long time, especially the monodoc installation. Detta kommer att ta ganska lång tid, särskilt monodoc installationen.
You should note that the mono runtime is installed by default in Feisty, which is why it doesn't appear in this list. Du bör notera att mono runtime installeras som standard i feisty, varför det inte visas i listan. If you try this on a different release you'll want to make sure to install that as well. Om du prova det här på en annan release du vill vara säker på att installera det också.
sudo apt-get install mono-devel build-essential mono-gmcs libmono-dev libpango1.0-dev libgtk2.0-dev libgtksourceview2.0-cil libgecko2.0-cil monodoc libmono-system-runtime2.0-cil libmono-cairo2.0-cil gettext sudo apt-get install mono-devel build-essential mono-gmcs libmono-dev libpango1.0-dev libgtk2.0-dev libgtksourceview2.0-cil libgecko2.0-cil monodoc libmono-system-runtime2.0-cil libmono-cairo2 .0-cil gettext
Now you'll want to download, extract and untar the latest source code into a directory of your choice. Nu ska du vill ladda ner, extrahera och untar den senaste källkoden till en katalog som du väljer. (You'll want to make sure 0.16 is still the latest) (Du vill vara säker på 0,16 är fortfarande den senaste)
wget http://go-mono.com/sources/monodevelop/monodevelop-0.16.tar.bz2 wget http://go-mono.com/sources/monodevelop/monodevelop-0.16.tar.bz2
bunzip2 monodevelop-0.16.tar.bz2 bunzip2 monodevelop-0.16.tar.bz2
tar xvf monodevelop-0.16.tar tar xvf monodevelop-0.16.tar
cd monodevelop-0.16 CD monodevelop-0,16
Now we can start the compilation, and you'll notice that the ./configure line passes in the prefix option so that it will install in the correct directory. Nu kan vi börja sammanställning, och du kommer att märka att. / Configure linje passerar i prefixet alternativet så att det kommer att installeras i rätt katalog.
./configure –prefix=`pkg-config –variable=prefix mono` . / configure-prefix = `pkg-config-variabel = prefixet mono"
make göra
sudo make install sudo make install
At this point MonoDevelop should be installed. På denna punkt MonoDevelop ska installeras. You can launch it with Alt+F2 by entering monodevelop into the run box. Du kan starta det med Alt + F2 genom att ange monodevelop i rutan Kör.


MonoDevelop is really coming along since the last time I used it, although there are still a lot of bugs. MonoDevelop är verkligen har kommit in sedan förra gången jag använde det, men det finns fortfarande en hel del buggar. The most notable missing feature is the lack of integrated debugger… Den mest anmärkningsvärda är brist avsaknaden av integrerad debugger ...

Tested on a clean Feisty install. Testas på en ren Feisty installera.
Download MonoDevelop from monodevelop.com Hämta MonoDevelop från monodevelop.com

Daily Email Updates Dagligt Updates
You can get our how-to articles in your inbox each day for free. Du kan få våra instruktioner artiklar i din inkorg varje dag gratis. Just enter your name and email below: Skriv bara in ditt namn och e-postadress nedan:



Now that you installed it from source you can make a deb package and upload it to the getdeb site Nu när du installerat det från källkod kan du göra ett deb-paket och ladda upp den till getdeb webbplatsen
I also don't like “make install” on package managed systems. Jag tycker inte "make install" på förpackningen system som hanteras.
I've tried this on Ubuntu 7.10 and everything worked! Jag har provat detta på Ubuntu 7.10 och allt fungerade! The only issue was with copying the line “./configure –prefix=`pkg-config –variable=prefix mono`” from Firefox to the command line. Den enda frågan var med kopiering the line ". / Configure-prefix =` pkg-config-variabel = prefixet mono `" från Firefox till kommandoraden. For some reason the “-” before “prefix” was mapped to a different character on the command line. Av någon anledning "-" före "prefixet" var mappad till en annan karaktär på kommandoraden.
Thanks! Tack!
Hi I get this error in in a message box, unhandled exception: Hej Jag får detta fel på i en meddelanderuta, ohanterat undantag:
Exception occurred: Exception has been thrown by the target of an invocation. Exception occurred: Exception har kastats av målet på en besvärjelse.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.TargetInvocationException: Exception har kastats av målet på en besvärjelse. —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus —> System.DllNotFoundException: gdiplus.dll -> System.TypeInitializationException: Ett undantag kastades av typen Initialisera för System.Drawing.GDIPlus -> System.DllNotFoundException: Gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at (wrapper managed-to-native) System.Drawing.GDIPlus: GdiplusStartup (ULONG &, System.Drawing.GdiplusStartupInput &, System.Drawing.GdiplusStartupOutput &)
at System.Drawing.GDIPlus..cctor () [0x00000] — End of inner exception stack trace — på System.Drawing.GDIPlus .. cctor () [0x00000] - End of inner undantag stackspårning --
at vid
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] på System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000]
at System.Drawing.Bitmap..ctor (System.Type type, System.String resource) [0x00000] på System.Drawing.Bitmap .. cTor (System.Type typ, System.String resurs) [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (System.Type,string) at (wrapper Remoting-åberopa-med-check) System.Drawing.Bitmap:. cTor (System.Type, sträng)
at System.Windows.Forms.Design.PropertyTab.get_Bitmap () [0x00000] på System.Windows.Forms.Design.PropertyTab.get_Bitmap () [0x00000]
at MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid.AddPropertyTab (System.Windows.Forms.Design.PropertyTab tab) [0x00000] på MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid.AddPropertyTab (System.Windows.Forms.Design.PropertyTab tab) [0x00000]
at MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid..ctor (MonoDevelop.DesignerSupport.PropertyGrid.EditorManager editorManager) [0x00000] på MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid .. cTor (MonoDevelop.DesignerSupport.PropertyGrid.EditorManager editorManager) [0x00000]
at MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid..ctor () [0x00000] på MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid .. cTor () [0x00000]
at MonoDevelop.DesignerSupport.PropertyPad..ctor () [0x00000] på MonoDevelop.DesignerSupport.PropertyPad .. cTor () [0x00000]
at vid
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at (wrapper managed-to-native) System.Reflection.MonoCMethod: InternalInvoke (objekt, objekt [])
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] — End of inner exception stack trace — på System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder bindemedel, System.Object [] parametrar, System.Globalization.CultureInfo kultur) [0x00000] - End of inner undantag stackspårning --
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] på System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder bindemedel, System.Object [] parametrar, System.Globalization.CultureInfo kultur) [0x00000]
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] på System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder bindemedel, System.Object [] parametrar, System.Globalization.CultureInfo kultur) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] på System.Reflection.ConstructorInfo.Invoke (System.Object [] parametrar) [0x00000]
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] på System.Activator.CreateInstance (System.Type typ, Boolean icke-allmän) [0x00000]
at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x00000] på Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x00000]
at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x00000] på MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x00000]
at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x00000] på MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x00000]
at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean force, MonoDevelop.Ide.Codons.PadCodon padCodon, MonoDevelop.Ide.Gui.PadWindow window, Gdl.DockItem item) [0x00000] på MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean kraft, MonoDevelop.Ide.Codons.PadCodon padCodon, MonoDevelop.Ide.Gui.PadWindow fönster, Gdl.DockItem post) [0x00000]
at MonoDevelop.Ide.Gui.SdiWorkbenchLayout+c__CompilerGenerated76.c__77 (System.Object +41, System.EventArgs +42) [0x00000] på MonoDevelop.Ide.Gui.SdiWorkbenchLayout + c__CompilerGenerated76.c__77 (System.Object 41, System.EventArgs 42) [0x00000]
at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] på GLib.Signal.voidObjectCallback (IntPtr handtag, IntPtr GCH) [0x00000]
What can I do to fix it? Vad kan jag göra för att fixa det?
PS: I like the style of this leave comment form. PS: Jag gillar stilen av ledigheten kommentar form.
It is noteworthy that one has to uninstall the monodevelop package that is in Feisty's universe repository if it has been installed before. Det är anmärkningsvärt att man måste avinstallera monodevelop paket som är i feisty universum arkiv om den har installerats tidigare. I didn't do so for the first attempt to follow this how-to and monodevelop failed to load its add-ins, suppose because the versions got mixed up. Jag gjorde inte detta för det första försöket att följa dessa instruktioner och monodevelop inte att ladda sitt tillägg, anta att eftersom de versioner har blandats ihop. It was not even able to load the source editor add-in. Det var inte ens kan ladda Source Editor tillägget. Well, after removing the 'original' monodevelop package your installation instructions worked. Nå, efter att avlägsna 'original' monodevelop paketera installationsanvisningar fungerat. Thank your very much! Tack er mycket!
Doesn't it has to be Inte det måste
./configure `–prefix=pkg-config –variable=prefix mono` . / configure "-prefix = pkg-config-variabel = prefixet mono"
instead of stället
./configure –prefix=`pkg-config –variable=prefix mono` . / configure-prefix = `pkg-config-variabel = prefixet mono"
(look at the >>` (titta på>> "
I think there has to be a step to generate the ./configure file. Jag tror att det måste vara ett steg för att generera. / Configure filen. Mine didn't come from svn with a ./configure in it. Gruvan kom inte från SVN med. / Configure i den.
Hi, I guess alien-ing the RPM package is much more helpful in some situations: Hej, jag antar alien-Ing RPM-paket är mycket mer användbar i vissa situationer:
I just did the following (me, however had the version up, which came with 7.10): Jag gjorde bara följande (jag, men hade version upp, som kom med 7,10):
alien –scripts monodevelop_0.17-0.novell.noarch.rpm alien-scripts monodevelop_0.17-0.novell.noarch.rpm
when it finished: när den färdig:
dpkg -i monodevelop_0.17-0-all.deb dpkg, monodevelop_0.17 I-0-all.deb
thanks so much for this, what a pain to compile! Tack så mycket för detta, vad en smärta att kompilera! the current ubuntu package is way too old too! nuvarande ubuntu paketet är alldeles för gammal!
plz plz anyone make .deb and upload the latest monodevelop (0.18.1) to getdeb plz plz vem som helst göra. deb-filen och ladda upp den senaste monodevelop (0.18.1) till getdeb
in configure rewrite — (2 time -) in prefix and variable otherway if you copy-past it as is originaly written there it would not work cause is like one line just – . i konfigurera skriva - (2 time -) i prefix och variabla otherway om du kopierar förbi det som är ursprungligen skriven där det inte skulle fungera orsak är som en linje strax -.
like this : så här:
./configure –prefix=`pkg–config –variable=prefix mono` . / configure-prefix = `pkg-config-variabel = prefixet mono"
make göra
sudo make install sudo make install
Mono Develop is working to in the same way. Mono Utveckla arbetar för att på samma sätt. (at Day 24.01.2008) you only have to chang 0.16 to 0.17 in above. (vid dag 24.01.2008) Du behöver bara Chang från 0,16 till 0,17 i ovan. but 0.18 and 0.18.1 aren't working on this way. men 0,18 och 0.18.1 är inte arbetar på detta sätt.
successfully installed in Ubuntu Gutsy, but I think the line as indicated at the beginning is wrong: lyckats med att installera i Ubuntu Gutsy, men jag tror att den linje som antydde i början är fel:
./configure –prefix=`pkg-config –variable=prefix mono` . / configure-prefix = `pkg-config-variabel = prefixet mono"
But rather should be this way: Utan det måste vara så här:
./configure – prefix=`pkg-config – variable=prefix mono` . / configure - prefix = `pkg-config - variabel = prefixet mono"
only because I tried it both ways and the second way was the charm. bara för att jag provade i båda riktningar och det andra sättet var charm. Coincidentally do not know if this is a big deal, Tillfällighet vet inte om detta är en stor sak,
but upon installation through the terminal, I got this message in the terminal: men vid installationen genom terminalen, fick jag detta meddelande i terminalen:
Note that '/share' is not in the search path Observera att "/ share" är inte i sökvägen
set by the XDG_DATA_HOME and XDG_DATA_DIRS fastställts av XDG_DATA_HOME och XDG_DATA_DIRS
environment variables, so applications may not miljövariabler, så program kanske inte
be able to find it until you set them. kunna hitta det tills du har ställt dem. The Den
directories currently searched are: kataloger sökte är:
- /root/.local/share - / Root / .local / aktie
- /usr/local/share/ - / Usr / local / share /
- /usr/share/ - / Usr / share /
- /usr/share/gdm/ - / Usr / share / gdm /
Anyways, I tried to see if I could find the latest version as you indicated through Synaptic and realized that the version that was posted in synaptic was older than the one that you indicate on your instruction so I decided to use yours. Hur som helst har jag försökt se om jag kunde hitta den senaste versionen som ni angav via Synaptic och insåg att den version som lades upp i synaptic var äldre än den som du anger i din undervisning så jag bestämde mig för att använda din.
Here is the end result on my end. Här är slutresultatet på min slut.
http://www.geocities.com/lionr.....evelop.jpg http://www.geocities.com/lionr.....evelop.jpg
Monodevelop binaries for ubuntu gutsy here: Monodevelop binärer för Ubuntu Gutsy här:
http://bloggiver.blogspot.com/.....gutsy.html http://bloggiver.blogspot.com/.....gutsy.html
I cant seem to get MonoDevelop 1.0. Jag verkar cant att få MonoDevelop 1.0. Can anybody update this? Kan någon uppdatera?
Easy and safe way to install monodevelop 1.0 on most versions of ubuntu: Enkelt och säkert sätt att installera monodevelop 1,0 på de flesta versioner av Ubuntu:
Add the following repository (using System/Administration/Software Sources): Lägg till följande förrådet (using System / Administration / Software Källor):
deb deb http://debian.meebey.net/etch-backports http://debian.meebey.net/etch-backports / /
The simply use open synaptic, search for monodevelop, and click apply. De använder bara öppna synaptic söka efter monodevelop och klicka på Använd.
(More details can be found on the mono site. they tested on gutsy, I tested on feisty, i imagine it works on hardy too and probably even edgy/dapper.) (Mer information kan hittas på mono plats. Testas om gutsy, testade jag om feisty, jag antar att det fungerar på hardy också och förmodligen också edgy / dapper.)
http://www.mono-project.com/Ot....._packages: http://www.mono-project.com/Ot....._packages:
I'd got a binary from here, Jag hade fått en binär härifrån,
http://monodevelop.com/Download http://monodevelop.com/Download
on Ubuntu Hardy Heron though, it asks for these two files before it can install or compile any software – mtools and z7 på Ubuntu Hardy Heron Men den fråga för dessa två filer innan man kan installera eller bygga någon programvara - mtools och Z7
(I'm not sure if they're available online to download and place in the required folders manually; my Ubuntu machine isn't online and automatically tries to get anything it doesn't have in some automatic update type of way – which is a nightmare btw in trying to install graphics card drivers: why doesn't it just let you load them manually (on the dekstop menu option) from any chosen media – why only from online?! Seems like a gaping omission when they include so many games and related built-in apps that rely on 3D acceleration to run at more than 2 fps)* (Jag är inte säker på om de är tillgängliga online för att ladda ner och plats i den nödvändiga mappar manuellt, min Ubuntu maskin inte är online och automatiskt försöker att få något man inte har i någon automatisk uppdatering typ av sätt - vilket är en mardröm btw att försöka installera grafikkortets drivrutiner: Varför inte låta det bara du ladda dem manuellt (på dekstop menyalternativ) från några utvalda medier - varför bara från online?! verkar vara en skriande när de innehåller så många spel och liknande inbyggda apps som använder 3D-acceleration för att köra på mer än 2 / s) *
*the other way to install apps, via the command line, is also a bit wrong in that version of Ubuntu – there is some change to the run level settings, so even if you're the root user it doesn't let you install drivers unless you drop down to about level 3 (5 is usually the default) * Det andra sättet att installera program via kommandoraden, är också lite fel i den versionen av Ubuntu - det finns en del förändringar inför nivåinställningar, så även om du rotanvändare det inte låter dig installera förare om du inte släppa ner till cirka nivå 3 (5 är oftast standard)
Nobody seems to realise some linuxs are going the wrong way! Ingen tycks förstå vissa linuxs går åt fel håll! Why have such complex or no access to normal computer things like installing as root, when there's all kinds of automatic updates built in – it's not secure anyway when there's automatic download anything going on! Varför har en så komplex eller ingen tillgång till vanlig dator saker som att installera som root, när det finns alla typer av automatiska uppdateringar byggdes - det är inte säkert ändå när det finns automatiska ladda ner något på gång! Sure if you're online and get your connection watched and you're only a limited user then your installation is safer (as they'd only have access, initially anyway, to the account you are currently using) – but that account is likely to be where all your personal data is… Säker på om du är online och få din anslutning tittade på och du är bara en begränsad användare sedan installationen är säkrare (så som de bara har tillgång till en början i alla fall, till det konto du använder för tillfället) - men att hänsyn kan att vara där alla dina personuppgifter ...