James Gibbs wrote: []
There are a couple of things wrong besides the URLs. First, mldonkey requires ocaml 3.07 to work. No problem, as this is still in fink, so we can just add a build dependency.
Secondly, it requires lablgtk that was built with ocaml 3.07. See, just like programs built with different versions of gcc or perl or python will be different and incompatible, so, too, will programs built with different versions of ocaml be incompatible. Right now, lablgtk's dependency on ocaml is un-versioned, which is incorrect.
In the meantime, Todd Heidesch made lablgtk and mldonkey packages that work with ocaml-3.08 and have dependencies on ocaml (>=3.08). If nobody protests in the very near future, I will put them into cvs. The maintainers of both packages have left, AFAICT, so they cannot protest.
I'm guessing there should be two versions of lablgtk, or maybe variants can handle this. I've been out of the loop here, so I don't know.
The problem with ocaml is that they don't care about compatibility between different versions, but don't provide versioned file names or directories or any other mechanism to let several versions coexist.
I don't think it is worth while for Fink to invent a version management system for ocaml. I can imagine several different scenarios to deal with the situation, but introducing, for the three or four packages that depend on ocaml, a variants circus like for perl or for python isn't one of them. One could do one of the following
a) include lablgtk as a splitoff in ocaml
b) build private copies of ocaml and liblgtk while building mldonkey. This is a default option in the mldonkey build system
c) when updating ocaml to a new version, warn the maintainers of the packages depending on ocaml so that they can update their packages if necessary.
Option c) seems to be the most realistic to me. Apparently new incompatible versions of ocaml do not appear very frequently, so they can be dealt with by updating this handful of packages, sort of like we handle new versions of Mac OSX, but on a smaller scale :-)
-- Martin
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel