[MonoDevelop] Error compiling from Source on monodevelop-5.0.1-branch

Martin Thwaites monoforum at my2cents.co.uk
Sat Sep 20 21:10:33 UTC 2014


Hi Timotheus,

I'm pretty sure it's not the mono install that's old..

martin at vb-1:~$ mono --version
Mono JIT compiler version 3.10.1 (master/2817936 Wed Sep 17 23:22:38 BST
2014)

I simply changed it to a class from struct, and removed the call to this()
and it compiled fine.  Not sure if there are any long term effects of that
though.

Thanks,
Martin

On 20 September 2014 21:26, Timotheus Pokorra <
timotheus.pokorra at solidcharity.com> wrote:

> Hello Martin,
> I build monodevelop from master and the branches every night, on
> Fedora, but it should work on other distros too:
>
> http://lbs.solidcharity.com/package/tpokorra/mono-nightly/monodevelop-nightly
> The sources for my build files are available here:
>
> https://github.com/tpokorra/lbs-mono-nightly/tree/master/monodevelop-nightly
>
> I also build on Ubuntu 14.04, but only the releases.
> see
> https://build.opensuse.org/package/live_build_log/home:tpokorra:mono/monodevelop/xUbuntu_14.04/x86_64
> The instructions for that are here:
> https://build.opensuse.org/package/show/home:tpokorra:mono/monodevelop
>
> If you follow the same instructions as the spec file or debian build
> files, it should work...
>
> I wonder if your Mono version is too old? Perhaps your Mono version
> cannot deal with something new in the c# language that is used in that
> line https://github.com/mono/xwt/blob/master/Xwt/Xwt/WidgetSpacing.cs#L51
>
> hope this helps,
>   Timotheus
>
>
> On 20 September 2014 21:39, Martin Thwaites <monoforum at my2cents.co.uk>
> wrote:
> > Thanks C.J.
> >
> > What's really annoying is that this did work, I installed 4.something
> this
> > way I'm sure.
> >
> > I do actually need the mono from git as I'm trying to do some updates to
> the
> > mono code.
> >
> > The other annoying part is looking at the Xwt code that's failing, I
> can't
> > see how that could ever compile?
> >
> > Does anyone else have any experience of getting mono from Source working?
> >
> > Thanks,
> > Martin
> >
> > On 20 September 2014 20:10, C.J. Adams-Collier KF7BMP <
> cjac at colliertech.org>
> > wrote:
> >>
> >> On Sat, 2014-09-20 at 19:16 +0100, Martin Thwaites wrote:
> >> > Hi,
> >> >
> >> >
> >> > I'm struggling to get monodevelop to successfully compile on ubuntu
> >> > 14.04.
> >>
> >> Hi there.  OFTC / #debian-cli is where the active folk are for real-time
> >> help.
> >>
> >> > I've compiled mono master from source, and now I'm trying to get
> >> > monodevelop to the latest.  I'm sure it's something obvious as no
> >> > amount of googling has given me any hint.
> >>
> >> let's start at the ubuntu git repo.  you have that one?
> >>
> >> http://anonscm.debian.org/cgit/pkg-cli-apps/packages/monodevelop.git/
> >>
> >> you'll want to git-buildpackage or some such.  I haven't done it in a
> >> while, but this is the way to go for supported ubuntu releases in my
> >> experience.  Starting from Miguel's mainline is like shooting at a
> >> moving target.
> >>
> >> >
> >> > The error I'm getting is at make...
> >>
> >> Yep, that'll be not the debian way.  Start here for wiki stuff?
> >>
> >> https://wiki.debian.org/Mono
> >>
> >> > /opt/monodevelop/main/Main.sln (default targets) ->
> >> > (Build target) ->
> >> > /opt/monodevelop/main/external/xwt/Xwt/Xwt.csproj (default targets) ->
> >> > /usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
> >> >
> >> >     Xwt/WidgetSpacing.cs(51,96): error CS0516: Constructor
> >> > `Xwt.WidgetSpacing.WidgetSpacing(double, double, double, double)'
> >> > cannot call itself
> >> >
> >> >
> >> > I've tried the 5.0.1, 5.5 and 5.6 branches and they all get the same
> >> > error.
> >> >
> >> >
> >> > Any ideas?
> >>
> >>
> >> > Thanks,
> >> >
> >> > Martin
> >>
> >>
> >> Hearts and flowers,
> >>
> >> C.J.
> >>
> >>
> >> > _______________________________________________
> >> > Monodevelop-list mailing list
> >> > Monodevelop-list at lists.ximian.com
> >> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>
> >
> >
> > _______________________________________________
> > 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/20140920/bb39e2ec/attachment-0001.html>


More information about the Monodevelop-list mailing list