Tiny Core Extensions > TCE Corepure64
[Solved] lua 5.4.6 for TCL14 x86_64
GNUser:
The logic would have to be refined, this approach does not give the expected results:
--- Code: ---$ ls /usr/local/bin/lua*.*
/usr/local/bin/lua5.4 /usr/local/bin/luajit-2.0.5
/usr/local/bin/luac5.4
--- End code ---
Something like this is what we need:
--- Code: ---$ ls /usr/local/bin/lua* | grep -Eo '/usr/local/bin/lua[0-9]+\.[0-9]+' | sort -V
$ ls /usr/local/bin/lua* | grep -Eo '/usr/local/bin/luac[0-9]+\.[0-9]+' | sort -V
--- End code ---
GNUser:
I'm going to submit a third set of extensions. Will do it quick, like ripping off a bandaid.
jazzbiker:
--- Quote from: GNUser on August 18, 2023, 06:23:29 PM ---My only small objection is that lua.5.4 etc is a bit ugly and difficult to type. My vote is keep binary names as lua5.3, luac5.3, lua5.4, luac5.4, etc.
--- End quote ---
I think You don't need to bother about the names' ugliness because the tce.installed will hide all the ugliness behind the beautiful links.
I even see no trouble in lua-5.4 and luac-5.4 binaries. The one thing I want to ask is lua-5.4.pc, in order to the *.pc name will correspond with an extension name.
GNUser:
--- Quote from: jazzbiker on August 18, 2023, 06:54:28 PM ---I think You don't need to bother about the names' ugliness because the tce.installed will hide all the ugliness behind the beautiful links.
--- End quote ---
Not if you have multiple versions installed and are trying to use one of the older versions ;D
Ok, I just submitted a third set of extensions of Lua 5.4 for TCL14 x86_64. Third time's the charm!
Note that in order for these new tce.installed scripts to work well, some changes are recommended in the Lua 5.3 extensions:
* lua-5.3.tcz: binaries should be renamed to lua5.3 and luac5.3
* lua-5.3-dev.tcz: /usr/local/lib/pkgconfig/lua.pc should be renamed /usr/local/lib/pkgconfig/lua-5.3.pc
P.S. Maybe in a future redo the hyphens could vanish from the extension names (to become lua5.4.tcz, for example--to match way python versions are packaged) and from the .pc file names (to lua5.3.pc, for example--to match the binary names). But that's something to consider some other time. I think we've done enough for now.
Rich:
Hi GNUser
--- Quote from: GNUser on August 18, 2023, 06:58:50 PM --- ... * lua-5.3-dev.tcz: /usr/local/lib/pkgconfig/lua.pc should be renamed /usr/local/lib/pkgconfig/lua-5.3.pc ...
--- End quote ---
Doesn't that risk breaking any package that needs to call pkg-config for
lua-dev in order to build it? Possible examples:
--- Code: ---14.x/x86/tcz/edje-dev.tcz.dep lua-dev.tcz
14.x/x86/tcz/gegl-dev.tcz.dep luajit-dev.tcz
14.x/x86/tcz/grilo-plugins-dev.tcz.dep lua-dev.tcz
14.x/x86/tcz/vlc3-dev.tcz.dep lua-dev.tcz
14.x/x86/tcz/wireshark-dev.tcz.dep lua-dev.tcz
14.x/x86_64/tcz/grilo-plugins-dev.tcz.dep lua-5.3-dev.tcz
14.x/x86_64/tcz/mpv-dev.tcz.dep luajit-dev.tcz
14.x/x86_64/tcz/vlc-dev.tcz.dep lua-5.3-dev.tcz
14.x/x86_64/tcz/wireshark-dev.tcz.dep lua-5.3-dev.tcz
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version