[Mono-devel-list] latest gtk# svn installs 2.0 assemblies and no 1.0 assemblies?

Rodrigo B. de Oliveira rodrigobamboo at gmail.com
Mon Mar 28 10:18:58 EST 2005


monodoc works fine with the latest gtk#.

You just have to make monodoc think gtk# 1.0 is installed:

    cd $MONO_HOME/lib/pkgconfig
    for m in gtk gtkhtml glade; 
         do sudo ln -s $module-sharp-2.0.pc $module-sharp.pc
    done

On Mon, 28 Mar 2005 11:48:23 -0300, Rafael Teixeira <monoman at gmail.com> wrote:
> Since GTK# was forked months ago, that's is so. Monodoc hasn't been
> upgraded to us GTK# 2.0, yet, so you have to install a pre-compiled
> GTK# 1.0 package to compile/use monodoc, and other apps that depend on
> them.
> 
> I'm not sure if GTK# 2.0 is deemed stable enough to start migrating
> Monodoc to it, but surely monodevelop already migrated...
> 
> HIH,
> 
> 
> On Sun, 27 Mar 2005 12:19:56 -0700, Roger E Critchlow Jr <rec at elf.org> wrote:
> > Greetings --
> >
> >    I've checked out, compiled, and installed the latest mono, mcs,
> > gtk-sharp, and monodoc modules from SVN.  When I try to run the monodoc
> > built thus, I get the error:
> > ----------------------------
> >
> > ** (/usr/local/lib/monodoc/browser.exe:30775): WARNING **: Could not
> > find assembly gtk-sharp, references from
> > /usr/local/lib/monodoc/browser.exe (assemblyref_index=2)
> >       Major/Minor: 1,0
> >       Build:       0,0
> >       Token:       35e10195dab3c99f
> > System error: No such file or directory
> >
> > ** (/usr/local/lib/monodoc/browser.exe:30775): WARNING **: Missing
> > method Init in assembly /usr/local/lib/monodoc/browser.exe, type
> > Gtk.Application
> >
> > Unhandled Exception: System.NullReferenceException: Object reference not
> > set to an instance of an object
> >
> > ----------------------------
> >
> > Looking at /usr/local/lib/mono I find
> >
> > gtk-sharp-2.0/gtk-sharp.dll ->
> > ../gac/gtk-sharp/2.0.0.0__35e10195dab3c99f/gtk-sharp.dl
> >
> > and no links in the gtk-sharp/ directory,  while the 1.0.6 installation
> > in /usr/lib/mono has
> >
> >   gtk-sharp/gtk-sharp.dll ->
> > /usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/gtk-sharp.dll
> >
> > and no gtk-sharp-2.0/ directory at all.
> >
> > When I try to run gskynet.exe, either the precompiled binary or a newly
> > compiled binary, I get the same error about the missing gtk-sharp assembly.
> >
> > How is this supposed to work?
> >
> > -- rec --
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> 
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> I'm trying to become a "Rosh Gadol" before my own eyes.
> See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
> It hurts!
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
bamboo
http://blogs.codehaus.org/people/bamboo/
Got objects? http://www.db4o.com/



More information about the Mono-devel-list mailing list