Lemures Lemniscati via Cygwin-apps writes: > What I'd like to do is to have both lua5.3 and lua5.4 be installed, and > alternatives make a symbolic link to lua5.3 or lua5.4 (new packages > lua5.3-5.3.6-1 and lua5.4-5.4.2-1 which I try packaging.
Multi-version installations are not well supported by setup or cygwin yet, but the alternatives anyway only address the question of how to set the default version for the user. For building packages you'd need to specify which version to use each time you build something, so any occurences of plain "lua" (from PATH) would need to be replaced with the expansion of some variable that would be set appropriately when entering pkg_info. > And I'm trying to package luarocks for lua5.3 and lua5.4 > (lua5.3-luarocks and lua5.4-luarocks) by a single cygport file. The packages should be named lua53-luarocks and lua54-luarocks (no dot in the version number), like OpenSUSE (they seem to be the only distribution with a multi-version lua and that particular naming scheme you've chosen). A different question is if you really want to package this particular feature. Just like all the other "package managers" that come with a specific language or interpreter I'd expect this one to need (maybe extensive) modifications to work correctly on Cygwin, especially if it ends up building dynamic objects. That's one reason I discourage the use of CPAN on Cygwin, since folks tend to shoot themself into the foot more often than not by using it. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds