[MonoDevelop] Build from SVN [was:Trying to build 0.5.1 - a bit
closer...]
Brian Pickles
brianh@bsquaredsen.co.uk
Sat, 20 Nov 2004 22:10:36 +0000
James Fitzsimons wrote:
> Ok, I should probably get out of the habit of replying to myself ;)
>
> I gave up on 0.5.1 and got the latest version from SVN. I managed to get
> all the dependancies installed (mono 1.1.2.99, gtk-sharp-2.0 etc...) and
> got through the configure stage correctly, however the build is failing
> with the following error:
>
> ./Internal/Project/Combine/CombineEntry.cs(286) warning CS0108: The
> keyword new is required on
> 'MonoDevelop.Internal.Project.ICombineEntryCollection.GetEnumerator()'
> because it hides inherited member
> /usr/local/lib/mono/1.0/mscorlib.dll:
> 'System.Collections.IEnumerable.GetEnumerator' (name of symbol related
> to previous warning)
> ./Internal/Project/Combine/Combine.cs(20) error CS0246: The namespace
> `Mono.Posix.FilePermissions' can not be found (missing assembly
> reference?)
> Compilation failed: 1 error(s), 1 warnings
> make[3]: *** [MonoDevelop.Base.dll] Error 1
> make[3]: Leaving directory
> `/home/james/development/MonoProjects/MonoDevelop/Core/src/Main/Base'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/james/development/MonoProjects/MonoDevelop/Core/src/Main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/james/development/MonoProjects/MonoDevelop/Core/src'
> make: *** [all-recursive] Error 1
> james@athos Core $
>
> I have checked that Mono.Posix is installed and exists at:
> /usr/local/lib/mono/gac/Mono.Posix/1.0.5000.0__0738eb9f132ed756/Mono.Posix.dll
>
> Can anyone provide an insight to getting this to work?
>
> Cheers,
> James Fitzsimons
>
James,
They have been changing Mono.Posix. Specifically they have changed an
enum. If you look at combine.cs near line 20 you will note some changes
that don't compile. You probably need to change the reference to
'Mono.Posix.FilePermissions' to 'Mono.Posix.FileMode'. You will find
Combine.cs at
...../Core/src/Main/Base/Internal/Project/Combine/Combine.cs. It looks
like Tod is trying to change the code so that the correct option is
selected for you but it is not working at the moment. You will see the
code near line 20.
Brian Pickles