[Mono-devel-list] On the road to Monodevelop 0.6!

Dane-Garrin Balia monodev at gmail.com
Mon May 9 07:02:32 EDT 2005


Ok. Things are looking better and I am not a few steps from monodevelop 0.6
However :(, I got this last sniggly problem on the monodevelop compile.

# make
./src/SharpAssembly/AssemblyReader.cs(177) error CS0104: `MethodBody'
is an ambiguous reference (System.Reflection.MethodBody or
MonoDevelop.SharpAssembly.Metadata.Rows.MethodBody)
Compilation failed: 1 error(s), 0 warnings
make[3]: *** [../../../build/bin/ICSharpCode.SharpAssembly.dll] Error 1


---- problem area --------
 public MethodBody LoadMethodBody(uint rva)
                {
                        BinaryReader binaryReader = new
BinaryReader(OpenStream(rva));
                        MethodBody body = new MethodBody();
                        body.Load(binaryReader);
                        binaryReader.Close();
                        return body;
                }


anyone seen this, or manage to work around it.
I have installed, all the rest of the requirements, and managed to get
the tarball for gecko-sharp from SVN.

Thanks for all the help.

Much eager wannabe Monodeveloper 0.6

On 5/7/05, Adrian Dinu <adrian.dinu at dreamsoftware.ro> wrote:
>  On Fri, 2005-05-06 at 19:02 +0200, Dane-Garrin Balia wrote:
>  
>  Try this
>  
>  svn co
> svn://svn.myrealbox.com/source/trunk/gtkmozembed-sharp
> (install subversion first if you don't have it)
>  
>  cd gtkmozembed-sharp
>  
>  ./autogen.sh
>  
>  ./configure --prefix=<your base install dir> (it's /usr on my gentoo box,
> might be /usr/local on yours)
>  
>  make
>  make install
>  
>  then build monodevelop (got it to work on my box after this, because I've
> been having the same problems as you, seems gecko-sharp 0.7 is broken at
> this point and before 0.8 comes out, you can get it from svn)
> 
>  
>  
>  SOMEONE HELP please!
> 
> Problem seems to be in this code snippet:
> 
> public WebControl() : base (IntPtr.Zero)
> {
>  gtk_moz_embed_set_profile_path("gecko-sharp",
> "DummyProfile");
>  Raw = gtk_moz_embed_new();
> }
> 
> [error]
> WebControl.custom(75) error CS1503: Argument 0: Cannot convert from
> 'string' to ' System.IntPtr'
> 
> Does anyone know the fix for this?
> I cannot find the latest source for gecko-sharp, and yes I've scoured
> google and monodevelp site.
> 
> *plz, I'm dying to run Monodevelop 0.6 and start coding*
> 
> 
> On 5/6/05, Dane-Garrin Balia <monodev at gmail.com> wrote:
> > Think this might be the answer, going to check:
> > It should be fixed in r41489
> > 
> > Will keep you guys informed.
> > Guess thats why the documentation says, 2 things must be done.
> > 1) blah blah
> > 2) cvs!!!!
> > 
> > On 5/6/05, Dane-Garrin Balia <monodev at gmail.com> wrote:
> > > Thanks alot Narcis.
> > > Tried that one, still no luck.
> > >
> > > I've managed to confuse myself.
> > > I have installed gtksharp-2, mono-1.1.6, gtksourceview2, but my error
> > > below, and if you look at it, relates to gecko-sharp.
> > > Not sure, where I could be going wrong.
> > >
> > > *ponders*
> > >
> > > On 5/6/05, Narcís Calvet <narcis at steema.com> wrote:
> > > >
> > > > Hi Dane,
> > > >
> > > > I used the above URL steps and worked for me. Unfortunatelly its in
> spanish
> > > > but it may help you.
> > > >
> > > >
> http://www.enzolutions.com/mono/archives/2005-03-24T12_17_52.html
> > > >
> > > > Good luck,
> > > >
> > > > Narcís Calvet.
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Dane-Garrin Balia
> > > > To: mono-devel-list at lists.ximian.com
> > > > Sent: Friday, May 06, 2005 5:18 PM
> > > > Subject: [Mono-devel-list] On the road to Monodevelop 0.6!
> > > >
> > > > 2 weeks later and I'm still hacking...
> > > > must be the special school I went to when I was young.
> > > >
> > > > Anyways, I've managed to get:
> > > > All the main mono and mono applications requirements
> > > > gtksharp2 [aka 0.9]
> > > > gtksourceview2 [aka 0.7 ]
> > > >
> > > > Now I am stuck at gtksourceview-0.7
> > > > Anyone seen this <I did google for an answer>
> > > >
> > > > [suse 9.3]# make
> > > > generated/WebControl.cs(1477) warning CS0169: The private method
> > > > 'Gecko.WebControl.OverrideLocChange( GLib.GType)' is
> never
> > > > used
> > > > Compilation failed: 6 error(s), 51 warnings
> > > > make[1]: *** [gecko-sharp.dll] Error 1
> > > > make[1]: Leaving directory
> > > >
> `/home/dane/today/20050506/gecko-sharp-2.0-0.7/gtkmozembed'
> > > > make: *** [all-recursive] Error 1
> > > >
> > > > [ pre error section]
> > > > /NewWindow_delegate.cs(68) warning CS0618: 'GLib.SignalCallback' is
> > > > obsolete: 'Replaced by GLib.Signal.'
> > > > WebControl.custom(75) error CS1502: The best overloaded match for
> > > > method 'void
> > > > Gecko.WebControl.gtk_moz_embed_set_profile_path (
> > > > System.IntPtr, System.IntPtr)' has some invalid arguments
> > > > WebControl.custom(75) error CS1503: Argument 0: Cannot convert from
> > > > 'string' to ' System.IntPtr'
> > > > WebControl.custom(75) error CS1501: No overload for method
> > > > `gtk_moz_embed_set_profile_path' takes `2' arguments
> > > > WebControl.custom(81) error CS1502: The best overloaded match for
> > > > method 'void
> > > > Gecko.WebControl.gtk_moz_embed_set_profile_path (
> > > > System.IntPtr, System.IntPtr)' has some invalid arguments
> > > > WebControl.custom(81) error CS1503: Argument 0: Cannot convert from
> > > > 'string' to ' System.IntPtr'
> > > > WebControl.custom(81) error CS1501: No overload for method
> > > > `gtk_moz_embed_set_profile_path' takes `2' arguments
> > > >
> > > >
> > > > Ok anyone has any clue, any idea, pleaaaaaaaaaaaase help.
> > > > I would actually like to run Monodevelop this century...*deep breath*
> > > >
> > > > Thanks in advance.
> > > > Dane-Garrin Balia
> > > > _______________________________________________
> > > > Mono-devel-list mailing list
> > > > Mono-devel-list at lists.ximian.com
> > > >
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > > >
> > >
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
>  
>  ________________________________
>  
>  
>  Adrian Dinu
>  Technical Manager
>  Dream Team Software



More information about the Mono-devel-list mailing list