List Info

Thread: Problem building MonoDevelop from svn




Problem building MonoDevelop from svn
country flaguser name
United States
2008-03-11 13:08:01
Ubuntu Gutsy 7.10

I had mono and MonoDevelop installed from gutsy packages,
but as they're
several revisions back I though I'd try to build from svn.

So, I start off by uninstalling MonoDevelop and running
these two
commands:

sudo apt-get install subversion mono mono-devel intltool
automake
build-essential libglib2.0-dev
sudo apt-get build-dep monodevelop

I ran an apt-get to install the automake documentation.

Then I checked out mono-addins and monodevelop:

svn co
svn://anonsvn.mono-project.com/source/trunk/monodevelop
svn co
svn://anonsvn.mono-project.com/source/trunk/mono-addins

 I'm currently trying to build mono-addins. After running
automake.sh I
ran:

./configure --prefix=/usr

and I get the following message when I run make:

./Mono.Addins.Gui/ManageSitesDialog.cs(98,66): error CS0246:
The type or
namespace name `Exception' could not be found. Are you
missing a using
directive or an assembly reference?

I'm presuming that perhaps I removed a bit too much, but I
really don't
see how.

One other bit of info:  both 'gmcs --version' and 'mcs
--version'
return:

Mono C# compiler version 1.2.4.0

I tried searching but didn't find anything appropriate. Any
thoughts,
hints, pointers, URLs to read, etc will be greatly
appreciated.

Thank you.

-- 
Ken Weinert
http://quarter-flash.com


Please avoid sending me Word or PowerPoint attachments
http://www.gnu.org/philosophy/no-word-attachments.html


_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

Re: Problem building MonoDevelop from svn
user name
2008-03-11 17:51:44
On Tue, Mar 11, 2008 at 2:08 PM, Kenneth D Weinert
<kenwquarter-flash.com> wrote:
<...>
>  and I get the following message when I run make:
>
>  ./Mono.Addins.Gui/ManageSitesDialog.cs(98,66): error
CS0246: The type or
>  namespace name `Exception' could not be found. Are you
missing a using
>  directive or an assembly reference?
>
>  I'm presuming that perhaps I removed a bit too much,
but I really don't
>  see how.
>
>  One other bit of info:  both 'gmcs --version' and 'mcs
--version'
>  return:
>
>  Mono C# compiler version 1.2.4.0

1.2.4 has a very annoying bug in the C# compiler where it
ignores the
"using xxx;" imports when it's resolving types in
anonymous delegates.
The workaround is to fully qualify all types names within
anonymous
delegates.

On of our contributors who still uses 1.2.4 adds these
workarounds to
MD SVN frequently, but it's not always fully up to date. If
you find
any more instances of this, post patches to the mailing
list, and
we'll commit them.

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )