Installing MonoDevelop from Source on Ubuntu Cài đặt MonoDevelop từ nguồn trên Ubuntu
After reading a post from my friend Daniel about the Sau khi đọc một bài đăng từ Daniel bạn của tôi về new release of MonoDevelop mới phát hành của 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. , Tôi quyết định thử và cài đặt nó ... đó là khi tôi nhận ra rằng việc cài đặt từ mã nguồn như vậy là đau đớn tôi muốn tốt hơn con số đó ra và chia sẻ nó với tất cả mọi người khác.
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. Việc đầu tiên chúng tôi sẽ cần phải làm là cài đặt các gói phát triển thư viện điều kiện tiên quyết để chúng tôi có thể liên kết chống lại họ khi chúng tôi xây dựng. This will take quite a long time, especially the monodoc installation. Điều này sẽ mất một thời gian dài, đặc biệt là việc cài đặt monodoc.
You should note that the mono runtime is installed by default in Feisty, which is why it doesn't appear in this list. Bạn nên lưu ý rằng thời gian chạy mono được cài đặt mặc định trong feisty, đó là lý do tại sao nó không xuất hiện trong danh sách này. If you try this on a different release you'll want to make sure to install that as well. Nếu bạn thử loại này trên một bản phát hành khác nhau, bạn sẽ muốn chắc chắn để cài đặt như vậy.
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-mono xây dựng thiết yếu-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. Bây giờ bạn sẽ muốn tải về, giải nén và tar mã nguồn mới nhất vào một thư mục mà bạn chọn. (You'll want to make sure 0.16 is still the latest) (Bạn sẽ muốn chắc chắn rằng 0,16 vẫn là mới nhất)
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. Bây giờ chúng ta có thể bắt đầu việc biên soạn, và bạn sẽ nhận thấy rằng. / Cấu hình đường đi trong các tùy chọn tiền tố để nó sẽ cài đặt trong thư mục chính xác.
./configure –prefix=`pkg-config –variable=prefix mono` . / configure-prefix = `pkg-config-biến = tiền tố mono`
make làm
sudo make install sudo make install
At this point MonoDevelop should be installed. Tại thời điểm này MonoDevelop nên được cài đặt. You can launch it with Alt+F2 by entering monodevelop into the run box. Bạn có thể khởi động nó bằng phím Alt + F2 MonoDevelop bằng cách nhập vào hộp chạy.


MonoDevelop is really coming along since the last time I used it, although there are still a lot of bugs. MonoDevelop thực sự là đến cùng kể từ lần cuối cùng tôi sử dụng nó, mặc dù vẫn có rất nhiều lỗi. The most notable missing feature is the lack of integrated debugger… Tính năng thiếu đáng chú ý nhất là thiếu debugger tích hợp ...

Tested on a clean Feisty install. Được thử nghiệm trên một feisty sạch sẽ cài đặt.
Download MonoDevelop from monodevelop.com Tải về MonoDevelop từ monodevelop.com

Daily Email Updates Email cập nhật hàng ngày
You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:



Now that you installed it from source you can make a deb package and upload it to the getdeb site Bây giờ bạn đã cài đặt nó từ mã nguồn, bạn có thể làm cho một gói deb và tải nó lên trang web getdeb
I also don't like “make install” on package managed systems. Tôi cũng không thích "make install" về gói các hệ thống quản lý.
I've tried this on Ubuntu 7.10 and everything worked! Tôi đã thử này trên Ubuntu 7.10 và tất cả mọi thứ đã làm việc! The only issue was with copying the line “./configure –prefix=`pkg-config –variable=prefix mono`” from Firefox to the command line. Vấn đề chỉ là sao chép với dòng ". / Configure-prefix =` pkg-config-biến = tiền tố mono `" từ Firefox vào dòng lệnh. For some reason the “-” before “prefix” was mapped to a different character on the command line. Đối với một số lý do "-" trước khi "tiền tố" đã được ánh xạ tới một nhân vật khác nhau trên dòng lệnh.
Thanks! Cảm ơn!
Hi I get this error in in a message box, unhandled exception: Hi tôi nhận được lỗi này ở trong một hộp thư, unhandled ngoại lệ:
Exception occurred: Exception has been thrown by the target of an invocation. Ngoại lệ xảy ra: Ngoại lệ đã được ném ra bởi mục tiêu của một invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.TargetInvocationException: Ngoại lệ đã được ném ra bởi mục tiêu của một invocation. —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus —> System.DllNotFoundException: gdiplus.dll -> System.TypeInitializationException: Một trường hợp ngoại lệ được ném ra bởi initializer loại cho System.Drawing.GDIPlus -> System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) tại số (wrapper quản lý để người bản xứ) System.Drawing.GDIPlus: GdiplusStartup (ulong &, System.Drawing.GdiplusStartupOutput System.Drawing.GdiplusStartupInput &, &)
at System.Drawing.GDIPlus..cctor () [0x00000] — End of inner exception stack trace — tại cctor .. System.Drawing.GDIPlus () [0x00000] - Cuối của ngoại lệ bên trong stack trace --
at tại
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] tại System.Drawing.Image.InitFromStream (System.IO.Stream dòng) [0x00000]
at System.Drawing.Bitmap..ctor (System.Type type, System.String resource) [0x00000] tại ctor .. System.Drawing.Bitmap (System.Type loại, System.String tài nguyên) [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (System.Type,string) tại số (wrapper remoting-gọi-với-kiểm tra) System.Drawing.Bitmap: ctor (System.Type, chuỗi.)
at System.Windows.Forms.Design.PropertyTab.get_Bitmap () [0x00000] tại System.Windows.Forms.Design.PropertyTab.get_Bitmap () [0x00000]
at MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid.AddPropertyTab (System.Windows.Forms.Design.PropertyTab tab) [0x00000] tại MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid.AddPropertyTab (System.Windows.Forms.Design.PropertyTab tab) [0x00000]
at MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid..ctor (MonoDevelop.DesignerSupport.PropertyGrid.EditorManager editorManager) [0x00000] tại ctor .. MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid (MonoDevelop.DesignerSupport.PropertyGrid.EditorManager editorManager) [0x00000]
at MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid..ctor () [0x00000] tại ctor .. MonoDevelop.DesignerSupport.PropertyGrid.PropertyGrid () [0x00000]
at MonoDevelop.DesignerSupport.PropertyPad..ctor () [0x00000] tại ctor .. MonoDevelop.DesignerSupport.PropertyPad () [0x00000]
at tại
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) tại số (wrapper quản lý để người bản xứ) System.Reflection.MonoCMethod: InternalInvoke (đối tượng, đối tượng [])
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 — tại System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object [] các thông số, System.Globalization.CultureInfo văn hóa) [0x00000] - Cuối của ngoại lệ bên trong stack trace --
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] tại System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object [] các thông số, System.Globalization.CultureInfo văn hóa) [0x00000]
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] tại System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, binder System.Reflection.Binder, System.Object [] các thông số, System.Globalization.CultureInfo văn hóa) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] tại System.Reflection.ConstructorInfo.Invoke (System.Object [] các tham số) [0x00000]
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] tại System.Activator.CreateInstance (System.Type loại, Boolean nonPublic) [0x00000]
at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x00000] tại Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x00000]
at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x00000] tại MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x00000]
at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x00000] tại 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] tại MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean lực, padCodon MonoDevelop.Ide.Codons.PadCodon, cửa sổ MonoDevelop.Ide.Gui.PadWindow, Gdl.DockItem phẩm) [0x00000]
at MonoDevelop.Ide.Gui.SdiWorkbenchLayout+c__CompilerGenerated76.c__77 (System.Object +41, System.EventArgs +42) [0x00000] tại MonoDevelop.Ide.Gui.SdiWorkbenchLayout + c__CompilerGenerated76.c__77 (+41 System.Object, System.EventArgs +42) [0x00000]
at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] tại GLib.Signal.voidObjectCallback (IntPtr xử lý, IntPtr gch) [0x00000]
What can I do to fix it? Tôi có thể làm gì để khắc phục nó?
PS: I like the style of this leave comment form. PS: Tôi thích phong cách của mẫu đơn này để bình luận.
It is noteworthy that one has to uninstall the monodevelop package that is in Feisty's universe repository if it has been installed before. Cũng cần lưu ý rằng đã có một trong các MonoDevelop gỡ bỏ gói đó là trong kho của vũ trụ feisty nếu nó đã được cài đặt trước. 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. Tôi đã không làm như vậy cho các nỗ lực đầu tiên để làm theo cách này để và MonoDevelop không tải thêm-ins của nó, giả sử vì các phiên bản đã trộn lẫn. It was not even able to load the source editor add-in. Nó được thậm chí không thể tải trình biên tập mã nguồn add-in. Well, after removing the 'original' monodevelop package your installation instructions worked. Vâng, sau khi loại bỏ các 'ban' MonoDevelop gói hướng dẫn cài đặt của bạn làm việc. Thank your very much! Cảm ơn bạn rất nhiều!
Doesn't it has to be Không nó đã được
./configure `–prefix=pkg-config –variable=prefix mono` / cấu hình. `-prefix = pkg-config-biến = tiền tố mono`
instead of thay vì
./configure –prefix=`pkg-config –variable=prefix mono` . / configure-prefix = `pkg-config-biến = tiền tố mono`
(look at the >>` (nhìn vào>> `
I think there has to be a step to generate the ./configure file. Tôi nghĩ rằng đó có phải là một bước để tạo ra / file cấu hình.. Mine didn't come from svn with a ./configure in it. Sắt thép không đến từ svn với / cấu hình trong đó..
Hi, I guess alien-ing the RPM package is much more helpful in some situations: Chào, tôi đoán người nước ngoài-ing gói RPM là hữu ích nhiều hơn nữa trong một số trường:
I just did the following (me, however had the version up, which came with 7.10): Tôi chỉ cần làm như sau (tôi, tuy nhiên đã có phiên bản lên, mà đến với 7,10):
alien –scripts monodevelop_0.17-0.novell.noarch.rpm người nước ngoài-script monodevelop_0.17-0.novell.noarch.rpm
when it finished: khi nó đã hoàn thành:
dpkg -i monodevelop_0.17-0-all.deb dpkg-i monodevelop_0.17-0-all.deb
thanks so much for this, what a pain to compile! cảm ơn rất nhiều cho điều này, những gì đau để biên dịch! the current ubuntu package is way too old too! gói ubuntu hiện nay là cách quá cũ quá!
plz plz anyone make .deb and upload the latest monodevelop (0.18.1) to getdeb plz plz làm cho bất cứ ai. deb và tải lên mới nhất MonoDevelop (0.18.1) để 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 – . trong cấu hình viết lại - (2 thời gian -) vào tiền tố và otherway biến nếu bạn sao chép qua nó như là được viết ở đó nó sẽ không làm việc gây ra cũng giống như một dòng chỉ -.
like this : như thế này:
./configure –prefix=`pkg–config –variable=prefix mono` . / configure-prefix = `pkg-config-biến = tiền tố mono`
make làm
sudo make install sudo make install
Mono Develop is working to in the same way. Mono Xây dựng đang làm việc để theo cùng một cách. (at Day 24.01.2008) you only have to chang 0.16 to 0.17 in above. (lúc ngày 24.01.2008) bạn chỉ phải chang 0,16-0,17 ở trên. but 0.18 and 0.18.1 aren't working on this way. 0,18 và 0.18.1 nhưng không được làm việc trên con đường này.
successfully installed in Ubuntu Gutsy, but I think the line as indicated at the beginning is wrong: cài đặt thành công trong Ubuntu Gutsy, nhưng tôi nghĩ rằng đường như lúc đầu chỉ là sai:
./configure –prefix=`pkg-config –variable=prefix mono` . / configure-prefix = `pkg-config-biến = tiền tố mono`
But rather should be this way: Nhưng thay vì phải được theo cách này:
./configure – prefix=`pkg-config – variable=prefix mono` . / configure - prefix = `pkg-config - biến = tiền tố mono`
only because I tried it both ways and the second way was the charm. chỉ vì tôi đã cố gắng nó cả hai cách và cách thứ hai là sự quyến rũ. Coincidentally do not know if this is a big deal, Thật trùng hợp không biết nếu điều này là một việc lớn,
but upon installation through the terminal, I got this message in the terminal: nhưng khi cài đặt thông qua các thiết bị đầu cuối, tôi nhận được thông điệp này tại nhà ga:
Note that '/share' is not in the search path Lưu ý rằng '/ cổ phần' không nằm trong đường dẫn tìm kiếm
set by the XDG_DATA_HOME and XDG_DATA_DIRS do XDG_DATA_HOME và XDG_DATA_DIRS
environment variables, so applications may not biến môi trường, do đó, các ứng dụng có thể không
be able to find it until you set them. có thể tìm thấy nó cho đến khi bạn đặt chúng. The Cái
directories currently searched are: thư mục hiện đang tìm kiếm là:
- /root/.local/share - / Root / .local / cổ phần
- /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. Anyways, tôi cố gắng xem liệu tôi có thể tìm thấy phiên bản mới nhất khi bạn chỉ định thông qua Synaptic và nhận ra rằng phiên bản đó đã được đăng trong synaptic đã lớn tuổi hơn một ngày mà bạn chỉ ra chỉ thị của bạn nên tôi quyết định sử dụng của bạn.
Here is the end result on my end. Đây là kết quả cuối ngày kết thúc của tôi.
http://www.geocities.com/lionr.....evelop.jpg http://www.geocities.com/lionr.....evelop.jpg
Monodevelop binaries for ubuntu gutsy here: MonoDevelop nhị phân cho ubuntu hardy ở đây:
http://bloggiver.blogspot.com/.....gutsy.html http://bloggiver.blogspot.com/.....gutsy.html
I cant seem to get MonoDevelop 1.0. I cant seem to get MonoDevelop 1.0. Can anybody update this? Ai có thể cập nhật này không?
Easy and safe way to install monodevelop 1.0 on most versions of ubuntu: Cách dễ dàng và an toàn để cài đặt MonoDevelop 1,0 trên hầu hết các phiên bản của ubuntu:
Add the following repository (using System/Administration/Software Sources): Thêm vào kho sau (sử dụng hệ thống / Quản trị / phần mềm nguồn):
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. Chỉ cần sử dụng synaptic mở, và tìm MonoDevelop, và nhấp vào áp dụng.
(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.) (Chi tiết có thể được tìm thấy trên các trang web đơn. Họ được thử nghiệm trên hardy, tôi thử nghiệm trên feisty, tôi tưởng tượng nó hoạt động trên hardy quá và có lẽ ngay cả edgy / đoan.)
http://www.mono-project.com/Ot....._packages: http://www.mono-project.com/Ot....._packages:
I'd got a binary from here, Tôi muốn có một nhị phân từ đây,
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 trên Ubuntu Hardy Heron tuy nhiên, nó sẽ hỏi cho hai tập tin trước khi nó có thể cài đặt hoặc biên dịch bất kỳ phần mềm - mtools và 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)* (Tôi không chắc nếu họ có sẵn trực tuyến để tải về và để trong các thư mục cần thiết bằng tay; máy Ubuntu của tôi không trực tuyến và tự động cố gắng để có được bất cứ điều gì nó không có trong một số loại cập nhật tự động của cách - đó là btw một cơn ác mộng trong cố gắng để cài đặt driver của card đồ họa: tại sao không nó chỉ cho phép bạn tải chúng bằng tay (vào tuỳ chọn trình đơn dekstop) từ bất cứ phương tiện truyền thông chọn - tại sao chỉ có từ tuyến! Có vẻ như một thiếu sót nào gaping? khi chúng bao gồm rất nhiều trò chơi và có liên quan xây dựng trong các ứng dụng dựa trên tăng tốc 3D để chạy lúc nhiều hơn 2 fps) *
*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) * cách khác để cài đặt ứng dụng, thông qua dòng lệnh, cũng là một chút sai trong đó phiên bản Ubuntu - có một số thay đổi các thiết lập mức độ chạy, do đó, thậm chí nếu bạn là người dùng gốc nó không cho phép bạn cài đặt lái xe, trừ khi bạn thả xuống về mức độ 3 (5 thường là mặc định)
Nobody seems to realise some linuxs are going the wrong way! Không ai có vẻ nhận ra một số linuxs đang đi con đường sai! 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! Tại sao như vậy có phức tạp hay truy cập vào bình thường không có những thứ như máy tính cài đặt như là người chủ, khi có tất cả các loại cập nhật tự động xây dựng vào năm - nó không an toàn anyway khi có tự động tải về bất cứ điều gì đang xảy ra! 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… Chắc chắn nếu bạn đang trực tuyến và nhận được kết nối của bạn dõi và bạn chỉ có một người dùng bị giới hạn sau đó cài đặt của bạn được an toàn hơn (vì họ chỉ muốn có quyền truy cập, ban đầu anyway, để các tài khoản của bạn hiện đang sử dụng) - nhưng tài khoản có thể được nơi mà tất cả các dữ liệu cá nhân của bạn là ...