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

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Sat Sep 20 20:26:46 UTC 2014


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
>


More information about the Monodevelop-list mailing list