[Mono-dev] Unable to build Mono from trunk r158797 because of errors in Microsoft.CSharp

Roman Procopie procopie.roman at gmail.com
Thu Jun 10 14:30:17 EDT 2010


Hi,

I did the following

1. Downloaded libgdiplus and mono 2.6.4
2. for each of them
./configure
at this point you will need to install a few more packages, until configure
stops complaining
3. make
4. make install
now you must have 2.6.4 working.
I suspect you can easily use a packaged mono as well. Best if installed in
/usr/local
5. check out trunk for mono, mcs and libgdiplus
6.. cd to mono
7. ./autogen --prefix........
again it will ask for a few more packages
8. make && make install

Note 1 :Best to install trunk mono with same prefix

I succesfully built it yesterday on Ubuntu Server 10.
Based on http://www.mono-project.com/Compiling_Mono_From_SVN


Regards

Roman


On 10 June 2010 20:07, Alexander M. Batishchev <abatishchev at godfather.net.ru
> wrote:

>  Hi everybody.
>
> What can I do to successfully build current trunk, r158797
>
>
>
> I did next:
>
>
>
> $ make uninstall && make clean
>
> $ make get-monolite-latest
>
> $ ./autogen.sh --prefix=/usr
>
> $ make
>
>
>
> But nothing helps. Every time the same error:
>
>
>
> make[8]: Entering directory `/usr/src/mono/mcs/class/Microsoft.CSharp'
>
> MCS     [net_4_0] Microsoft.CSharp.dll
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39):
> error CS1502: The best overloaded method match for
> `Mono.CSharp.New.New(Mono.CSharp.FullNamedExpression, Mono.CSharp.Arguments,
> Mono.CSharp.Location)' has some invalid arguments
>
> /usr/src/mono/mcs/class/lib/net_4_0/Mono.CSharp.dll (Location of the symbol
> related to previous error)
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39):
> error CS1503: Argument `#1' cannot convert `Mono.CSharp.Expression'
> expression to type `Mono.CSharp.FullNamedExpression'
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38):
> error CS1502: The best overloaded method match for
> `Microsoft.CSharp.RuntimeBinder.CSharpBinder.CSharpBinder(System.Dynamic.DynamicMetaObjectBinder,
> Mono.CSharp.Expression, System.Dynamic.DynamicMetaObject)' has some invalid
> arguments
>
> Microsoft.CSharp.RuntimeBinder/CSharpBinder.cs(49,24): (Location of the
> symbol related to previous error)
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38):
> error CS1503: Argument `#2' cannot convert `object' expression to type
> `Mono.CSharp.Expression'
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(59,32):
> error CS1061: Type `object' does not contain a definition for
> `AddRestrictions' and no extension method `AddRestrictions' of type `object'
> could be found (are you missing a using directive or an assembly reference?)
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(60,32):
> error CS1061: Type `object' does not contain a definition for
> `AddRestrictions' and no extension method `AddRestrictions' of type `object'
> could be found (are you missing a using directive or an assembly reference?)
>
> Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(62,39):
> error CS1061: Type `object' does not contain a definition for `Bind' and no
> extension method `Bind' of type `object' could be found (are you missing a
> using directive or an assembly reference?)
>
> Compilation failed: 7 error(s), 0 warnings
>
>
>
> Thanks in advance!
>
> Alex
>
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100610/62957719/attachment-0001.html 


More information about the Mono-devel-list mailing list