Re: [Mono-list] Building MonoDevelop failure

2004-05-07 Thread Jonathan Stowe
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  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Building MonoDevelop failure

2004-05-07 Thread Ed Mack
 Have you tried removing the the 'using' lines in the files mentioned
 above and recompiling ?

It then fails like so:

././Gui/SourceEditorDisplayBinding.cs(28) error CS0103: The name 
`GtkSourceViewManager.Init' could not be found in 
`MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding'
Internal() warning CS0162: Unreachable code detected
Internal() warning CS0162: Unreachable code detected
Compilation failed: 1 error(s), 2 warnings

:(

Ed Mack

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Building MonoDevelop failure

2004-05-07 Thread Mark Gimelfarb
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 [EMAIL PROTECTED]:

 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  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
 



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Building MonoDevelop failure

2004-05-07 Thread Ed Mack
 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.

Thank you VERY much :) It built perfectly. I installed
gtksourceview-sharp from source BTW, so I had a look at the two sources
and saw the class namespace change you talked about.

Ed Mack

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Building MonoDevelop failure

2004-05-06 Thread Ed Mack
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?

Thanks,

Ed Mack

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list