[Mono-list] Building MonoDevelop failure

Mark Gimelfarb mark@dawebber.com
Fri, 7 May 2004 08:02:44 -0500


I've noticed that on my system, I had to do "make uninstall" on the old 
gtkshourceviewsharp (0.1) before compiling and installing installing the new 
one. 

In your case, since you are using packages, you should uninstall the old RPM 
before installing the new one.

It has to do with the namespace vs. class name change. If you want to know what 
exactly the problem is, look at the namespace element and class name in CVS for 
0.1 and 0.2 and you'll see what I mean.

Regards,
           Mark.

Quoting Jonathan Stowe <gellyfish@gellyfish.com>:

> On Fri, 2004-05-07 at 02:15, Ed Mack wrote:
> > Hi, I've just downloaded all the Fedora pkgs from go-mono.com, and also
> > gecko-sharp-0.3 and gtksourceview-sharp-0.2 to satisfy monodevelop-0.3's
> > configure script. But, on compiling it dies with the following error:
> > 
> > && cp MonoDevelop.SourceEditor.dll ../../../../build/bin/.
> > ././Gui/SourceEditorBuffer.cs(18) error CS0138: The using keyword only
> > lets you specify a namespace, `GtkSourceView' is a class not a
> > namespace.
> > ././Gui/SourceEditorView.cs(20) error CS0138: The using keyword only
> > lets you specify a namespace, `GtkSourceView' is a class not a
> > namespace.
> > ././Gui/SourceEditorDisplayBinding.cs(17) error CS0138: The using
> > keyword only lets you specify a namespace, `GtkSourceView' is a class
> > not a namespace.
> > Compilation failed: 3 error(s), 0 warnings
> > 
> > I think I've got the newest of all the packages, what could be causing
> > this?
> > 
> 
> Have you tried removing the the 'using' lines in the files mentioned
> above and recompiling ?
> 
> /J\
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>