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

Roger E Critchlow Jr rec at elf.org
Mon Mar 28 13:49:54 EST 2005


Mike Kestner wrote:
> 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

This, I finally realized, is a configure time patch -- it doesn't work 
if you recompile a previously configured package or run a previously 
compiled application.

> 
> 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.

Ah, meaning that the instructions in http://www.mono-project.com/AnonSVN 
which now recommends:

svn co svn://svn.myrealbox.com/source/trunk/mcs
svn co svn://svn.myrealbox.com/source/trunk/mono
svn co svn://svn.myrealbox.com/source/trunk/gtk-sharp

should actually suggest:

svn co svn://svn.myrealbox.com/source/trunk/mcs
svn co svn://svn.myrealbox.com/source/trunk/mono
svn co svn://svn.myrealbox.com/source/trunk/gtk-sharp
svn co svn://svn.myrealbox.com/source/branches/gtk-sharp-1-0-branch

at least until gtk-sharp-2.0 subsumes gtk-sharp-1.0.

(It might also mention svn list svn://svn.myrealbox/source/branches )

> 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.

Again, a configure time patch.

But, you're right, pulling both from SVN and installing both was the 
right thing to do at this point.

Thanks,

-- rec --




More information about the Mono-devel-list mailing list