[MonoDevelop] Compiling MonoDevelop on Ubuntu Fiesty
Frogface
declan at frogface.org
Sat Sep 1 07:48:51 EDT 2007
Hi all,
Thanks again for the help with compiling MD. Got past a lot of those issues
with your help and pretty much implemented everyones advice. So far I have
done the following
* Did a # sudo apt-get install automake autoconf libtool bison libglib2.0-dev
* Downloaded mcs, mono and libgdiplus from anonsvn
* Installed automake 1.9 as the version installed was too old
* Did a 'less /usr/bin/mcs' to find out that mono libs are natively installed
to /usr/lib/mono/1.0/
* Did the csc.exe symlink to mcs.exe trick
* From svn built mcs, mono and libgdi
* Did a sudo apt-get install libgnome-desktop-dev
* Ensured that mono-gmcs and libmono-dev installed via apt
* Enabled source repos enabled in Synaptic and did a "sudo apt-get build-dep
monodevelop" to get a slightly outdated set of build dependencies.
* Pulled down from svn and compiled
- gtk-sharp (note: Edited signature and VMsignature files under the
generator directory, see bug http://bugzilla.ximian.com/show_bug.cgi?id=82563
before attempting compile of gtk-sharp)
- gtkmozembed-sharp
- monodoc
* Ran 'sudo
gacutil -i /usr/lib/mono/gac/gtkhtml-sharp/2.16.0.0__35e10195dab3c99f/gtkhtml-sharp.dll'
as for some reason gtkhtml-sharp.dll wasn't being picked up on compiling
monodevelop
Now the error I'm left with is that the compilation of MD can't figure out
whether to use Cairo version 1.0.5 or Cairo version 2.0.0. How do I get
around this? Here is the error.
make[2]: Entering directory
`/home/declan/NotBackedUp/projects/MonoSvn/monodevelop/Extras/MonoDevelop.SourceEditor'
mkdir -p ../../build/bin
/usr/local/bin/gmcs -debug -codepage:utf8 /resource:./bookmark.png /resource:./EditorBindings.glade /resource:./MonoDevelop.SourceEditor.addin.xml /resource:./texteditoraddin.glade ./MonoDevelop.SourceEditor.Actions/DefaultEditActions.cs ./MonoDevelop.SourceEditor.Actions/EditActionCollection.cs ./MonoDevelop.SourceEditor.Actions/IEditAction.cs ./MonoDevelop.SourceEditor.Codons/EditActionCodon.cs ./MonoDevelop.SourceEditor.FormattingStrategy/DefaultFormattingStrategy.cs ./MonoDevelop.SourceEditor.FormattingStrategy/IFormattingStrategy.cs ./MonoDevelop.SourceEditor.Gui.Dialogs/EditTemplateGroupDialog.cs ./MonoDevelop.SourceEditor.Gui.Dialogs/GotoLineNumberDialog.cs ./MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs ./MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs ./MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs ./MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs ./MonoDevelop.SourceEditor.Gui/LanguageItemWindow.cs ./MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs ./MonoDevelop.SourceEditor.Gui/SourceEditorDisplayBinding.cs ./MonoDevelop.SourceEditor.Gui/SourceEditorView.cs ./MonoDevelop.SourceEditor.Gui/SourceEditorWidget.cs ./MonoDevelop.SourceEditor.Gui/TextNavigationPoint.cs ./MonoDevelop.SourceEditor/EditorCommands.cs ./MonoDevelop.SourceEditor/Services.cs ./MonoDevelop.SourceEditor/SourceViewService.cs
AssemblyInfo.cs -out:../../build/AddIns/MonoDevelop.SourceEditor.dll -t:library -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtksourceview-sharp-2.0/gtksourceview-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/local/lib/pkgconfig/../../lib/mono/1.0/Mono.Cairo.dll -r:../../build/bin/MonoDevelop.Components.dll -r:../../build/bin/MonoDevelop.Core.dll -r:../../build/bin/MonoDevelop.Core.Gui.dll -r:../../build/bin/MonoDevelop.Ide.dll -r:../../build/bin/MonoDevelop.Projects.dll -r:../../build/bin/MonoDevelop.Projects.Gui.dll -r:../../contrib/Mono.Addins.dll -r:System -r:System.Drawing -r:System.Xml
./MonoDevelop.SourceEditor.Gui/SourceEditorView.cs(957,55): error CS0029:
Cannot implicitly convert type `Cairo.Context' to `Cairo.Context'
./MonoDevelop.SourceEditor.Gui/SourceEditorView.cs(957,55): The type
Cairo.Context has two conflicting definitions, one comes from Mono.Cairo,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 and the
other from Mono.Cairo, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756error)
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [../../build/AddIns/MonoDevelop.SourceEditor.dll] Error 1
make[2]: Leaving directory
`/home/declan/NotBackedUp/projects/MonoSvn/monodevelop/Extras/MonoDevelop.SourceEditor'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/declan/NotBackedUp/projects/MonoSvn/monodevelop/Extras'
make: *** [all-recursive] Error 1
Thanks a mill,
Dec
More information about the Monodevelop-list
mailing list