[MonoDevelop] Build from git failing on fresh Ubuntu 13.10 installation

Matt Calder mvcalder at gmail.com
Sat May 3 10:55:39 UTC 2014


I was able to solve the build issue. Since the error I was seeing looked
like mono was calling something incorrectly, I decided, why not rebuild
mono and try again. That worked.

My assessment is that, in the script linked in my email, one of those
packages installed after mono is built needs to be moved to before mono is
built. Not sure which.

Thanks for the help, I hope this breadcrumb helps someone else.

Matt


On Fri, May 2, 2014 at 1:35 PM, Matt Calder <mvcalder at gmail.com> wrote:

> Thanks Jeff,
>
> I built gtk# using the following:
>
> apt-get install -y libatk1.0-dev gtk+2.0 libgtk-3-dev
> git clone git://github.com/mono/gtk-sharp.git
> cd gtk-sharp
> git checkout 2.12.22
> ./bootstrap-2.12 --prefix=/usr
> make
> sudo make install
>
> So I am using a 2.12 branch. I looked on github and saw there is a
> specific "gtk-sharp-2-12-branch" branch, so I tried that but got the same
> error.
>
> Any other ideas?
>
> Matt
>
>
>
> On Fri, May 2, 2014 at 10:50 AM, Jeff Stedfast <jeff at xamarin.com> wrote:
>
>> You might need to upgrade your Gtk# (make sure to grab gtk-sharp from the
>> gtk-sharp-2-12-branch).
>>
>> Hope that helps,
>>
>> Jeff
>>
>>
>> On Fri, May 2, 2014 at 7:57 AM, Matt Calder <mvcalder at gmail.com> wrote:
>>
>>>  I have a brand new installation of Ubuntu 13.10. I have tried several
>>> different ways to build monodevelop from git, all of which failed. In my
>>> latest attempt I am following this guide:
>>>
>>>
>>> http://quadfinity.blogspot.com/2014/01/compile-latest-mono-3.2.7-with-monodevelop-from-git-on-ubuntu-13.10.html
>>>
>>> I am able to install everything without issue right up until the end.
>>> When building monodevelop I get this error:
>>>
>>> (Build target) ->
>>> /home/calder/tmp/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor.csproj
>>> (default targets) ->
>>> /usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
>>>
>>>     Mono.TextEditor/BookmarkMarker.cs(69,9): error CS1502: The best
>>> overloaded method match for `Cairo.Context.SetSource(Cairo.Surface)' has
>>> some invalid arguments
>>>     Mono.TextEditor/BookmarkMarker.cs(69,20): error CS1503: Argument
>>> `#1' cannot convert `Cairo.LinearGradient' expression to type
>>> `Cairo.Surface'
>>>
>>>
>>> Does anyone recognize this error or suspect what may be the cause?
>>>
>>> Is there a more reliable method for building monodevelop from source?
>>>
>>> Matt
>>>
>>> _______________________________________________
>>> Monodevelop-list mailing list
>>> Monodevelop-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140503/4cff8cdd/attachment.html>


More information about the Monodevelop-list mailing list