[MonoDevelop] Problems building MonoDevelop from tarball since tag 4.2.4

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Tue May 27 05:55:13 UTC 2014


Hello,
I have now prepared a "dirty" patch, that will allow to build from a
unmodified tarball, that I can build with `make dist` on the git
branch.

Please have a look here:
https://github.com/tpokorra/lbs-mono/blob/master/monodevelop-opt/scripts.patch

I guess some directories and files need to be added to the tarball properly:
Some of the missing test directories, the file
src/core/MonoDevelop.Core/BuildVariables.cs.in, the file
src/core/MonoDevelop.Ide/gtkrc (and the variants for win32 and mac as
well), and the file version.config needs to be included.
Still some paths are different in the tarball and the git checkout.

At least now I am able to build the version 4.2.5 again for the
various distributions:
https://build.opensuse.org/package/show/home:tpokorra:mono/monodevelop
and
http://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=monodevelop-opt

Please let me know what you think how to fix the situation properly!

Timotheus

On 24 May 2014 22:28, yannick inizan <inizan.yannick at gmail.com> wrote:
> same error when you build a debin package :/
>
>
> 2014-05-24 21:45 GMT+02:00 Timotheus Pokorra
> <timotheus.pokorra at solidcharity.com>:
>>
>> Hello list,
>>
>> Since February 7 2014, when a lot of changes where committed for the
>> build system, I think building from a tarball is not possible anymore.
>>
>> I filed a bug a while ago:
>> https://bugzilla.xamarin.com/show_bug.cgi?id=18883
>>
>> The problem is that the build requires a script for configuration.
>> This script actually checks with git for the version:
>>
>> https://github.com/mono/monodevelop/blob/monodevelop-4.2.4-branch/scripts/configure.cs#L163
>>
>> This does not make sense when building from a tarball, since there is
>> no git. The scripts directory is not included in the tarball anyway.
>>
>> If I comment the 4 lines in the file Makefile.am
>>
>> https://github.com/mono/monodevelop/blob/monodevelop-4.2.4-branch/main/Makefile.am#L26,
>> I get further, but then I get into trouble later when
>> src/core/MonoDevelop.Core/BuildVariables.gen.exe fails.
>>
>> By the way, somehow the build also has problems with non existing
>> csproj files tests/TestRunner/TestRunner.csproj,
>> src/core/MonoDevelop.TextEditor.Tests/MonoDevelop.TextEditor.Tests.csproj
>> and tests/Ide.Tests/Ide.Tests.csproj
>>
>> Any ideas how to fix all this?
>>
>> Thanks,
>>   Timotheus
>> _______________________________________________
>> 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