[MonoDevelop] Compile error compiling MonoDevelop from CVS
Brian Pickles
brianh@bsquaredsen.co.uk
Wed, 10 Nov 2004 23:32:50 +0000
Todd Berman wrote:
> On Wed, 2004-11-10 at 21:43 +0000, Brian Pickles wrote:
>
>>Hi,
>>
>>Over the weekend I downloaded Mono & MonoDevelop from CVS for the first
>>time. Spent the weekend installing Ubuntu , Mono & MonoDevelop. Managed
>>to get everything working except for MonoDevelop.
>>
>>On closer inspection MonoDevelop is trying to use a FileMode enum in
>>Mono.Posix that does not exist. There is a FilePermissions enum in
>>Mono.Posix which seems to be the one the MonoDevelop should be referring
>>to.
>>
>>So changed the using statement in Main/Base/Internal/Project/Combine.cs
>>to refer to FilePermissions and now MonoDevelop compiles and seems to
>>run ok.
>>
>>Do you want me to submit a bug report?
>>
>>Brian Pickles
>
>
> This is a known problem. This was a recent (post 1.1.2 release) cvs HEAD
> change.
>
> Someone has to write some auto* configure time code to push a define
> into that mcs line so that the proper enum is used. We have to support
> both.
>
> The proper check would be that if the mono version is >= 1.1.2.99 then
> you define MONO_POSIX_OEE in the compile line for the
> MonoDevelop.Base.dll and have:
>
> #if MONO_POSIX_OEE
> FilePermissions .....
> #else
> FileMode .....
> #endif
>
> basically.
>
> --Todd
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
Thanks for the quick reply. Sorry that I raised the problem again.
Should I have known about it? As I am new to this game, where do I track
these changes?
Brian