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

Mike Kestner mkestner at novell.com
Mon Mar 28 12:27:12 EST 2005


On Mon, 2005-03-28 at 12:18 -0300, Rodrigo B. de Oliveira wrote:
> 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

I can't let this kind of recommendation slide through without comment.
I strongly recommend against doing this.  There are no compatibility
guarantees between Gtk# 1.0.x and 1.9.x. That's why they are parallel
installable. When this breaks, you get both pieces and deserve it. You
should instead install both versions as was recommended earlier in the
thread.

If monodoc works with 1.9.x (which it does at the moment) and you want
to try using it with the unstable development version, you are better
off hacking the monodoc makefiles than making your system think an
unstable development version is also the stable version.  

The hack to monodoc is a simple one.  In the
monodoc/browser/Makefile.am, you just have to change a couple of -pkg
arguments in the browser_assemblies variable to reference the 2.0 pc
files.

-- 
Mike Kestner <mkestner at novell.com>




More information about the Mono-devel-list mailing list