AUR (en) - zerobrane-studio
Popolon commented on 2025-11-10 17:42 (UTC)
@me4twb, the problem is not in this package but in wxlua, also managed by @Alerque.
Just add -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
In the lines of the cmake of wxlua PKGBUILD, like this:
cmake -S . -B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
-D CMAKE_INSTALL_PREFIX=/usr \
This was reported in August in wxlua package, but still no change after 3 months :(.
me4twb commented on 2025-11-10 04:22 (UTC)
CMake Error at CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
ipochto commented on 2025-02-25 07:36 (UTC) (edited on 2025-02-25 07:36 (UTC) by ipochto)
It's not a good habit to give write access in /usr/share/ subdirectories.
-dm644 of course. It was typo. Fixed my comment.
Popolon commented on 2025-02-24 21:29 (UTC)
Instead of compiling lua module coxpall, add "lua-coxpcall" as dependency. It's not a good habit to give write access in /usr/share/ subdirectories. Need to found how to push zerobrane-studio to use more standard ~/.config/... for users.
ipochto commented on 2025-02-20 10:53 (UTC) (edited on 2025-02-25 07:34 (UTC) by ipochto)
This one:
/bin/lua: /usr/share/lua/5.4/timerwheel/init.lua:33: module 'coxpcall' not found:
no field package.preload['coxpcall']
fixing by this:
$ luarocks install coxpcall
But, we have another problem: /usr/share/zbstudio/cfg is forbidden to access, because of rights.
To fix it, need to change the PKGBUILD:
this line
install -dm644 "$pkgdir/usr/share/zbstudio/cfg"
to this:
install -dm655 "$pkgdir/usr/share/zbstudio/cfg"
upd: -dm[6]55 of course
aldum commented on 2024-08-06 15:13 (UTC)
Another missing dependency: lua-coxpcall
/bin/lua: /usr/share/lua/5.4/timerwheel/init.lua:33: module 'coxpcall' not found:
no field package.preload['coxpcall']
no file 'lualibs/coxpcall.lua'
no file 'lualibs/coxpcall/coxpcall.lua'
no file 'lualibs/coxpcall/init.lua'
Popolon commented on 2022-02-20 16:04 (UTC) (edited on 2022-02-20 16:06 (UTC) by Popolon)
Solution:
sudo pacman -S lua-binaryheap pacaur -S lua-timerwheel
- lua-timerwheel and lua-binaryheap should be added in depends
Self-Perfection commented on 2022-02-20 12:34 (UTC)
Looks like it misses dependencies. Right after install it crashes on start with following message:
/usr/bin/lua: /usr/share/lua/5.4/copas.lua:21: module 'binaryheap' not found:
no field package.preload['binaryheap']
no file 'lualibs/binaryheap.lua'
no file 'lualibs/binaryheap/binaryheap.lua'
no file 'lualibs/binaryheap/init.lua'
no file '/usr/share/lua/5.4/binaryheap.lua'
no file '/usr/share/lua/5.4/binaryheap/init.lua'
no file '/usr/lib/lua/5.4/binaryheap.lua'
no file '/usr/lib/lua/5.4/binaryheap/init.lua'
no file './binaryheap.lua'
no file './binaryheap/init.lua'
no file 'bin/linux/x64/clibs54/libbinaryheap.so'
no file 'bin/linux/x64/clibs54/binaryheap.so'
no file '/usr/lib/lua/5.4/binaryheap.so'
no file '/usr/lib/lua/5.4/loadall.so'
no file './binaryheap.so'
stack traceback:
[C]: in function 'require'
/usr/share/lua/5.4/copas.lua:21: in main chunk
[C]: in function 'require'
src/editor/debugger.lua:7: in main chunk
[C]: in function 'dofile'
src/main.lua:597: in main chunk
[C]: in ?
Command exited with non-zero status 1
This error I managed to circumvent by installing community/lua-binaryheap. But now I am stuck with this:
/usr/bin/lua: /usr/share/lua/5.4/copas.lua:1024: module 'timerwheel' not found:
no field package.preload['timerwheel']
no file 'lualibs/timerwheel.lua'
no file 'lualibs/timerwheel/timerwheel.lua'
no file 'lualibs/timerwheel/init.lua'
no file '/usr/share/lua/5.4/timerwheel.lua'
no file '/usr/share/lua/5.4/timerwheel/init.lua'
no file '/usr/lib/lua/5.4/timerwheel.lua'
no file '/usr/lib/lua/5.4/timerwheel/init.lua'
no file './timerwheel.lua'
no file './timerwheel/init.lua'
no file 'bin/linux/x64/clibs54/libtimerwheel.so'
no file 'bin/linux/x64/clibs54/timerwheel.so'
no file '/usr/lib/lua/5.4/timerwheel.so'
no file '/usr/lib/lua/5.4/loadall.so'
no file './timerwheel.so'
stack traceback:
[C]: in function 'require'
/usr/share/lua/5.4/copas.lua:1024: in main chunk
[C]: in function 'require'
src/editor/debugger.lua:7: in main chunk
[C]: in function 'dofile'
src/main.lua:597: in main chunk
[C]: in ?
Command exited with non-zero status 1
dini commented on 2020-08-24 17:10 (UTC)
CMake Error at CMakeLists.txt:35 (message): Lua module "wx" is not found Call Stack (most recent call first): CMakeLists.txt:105 (check_lua_module)
Rulatir commented on 2020-08-24 13:43 (UTC)
/usr/bin/zbstudio is a shell script that invokes /usr/bin/lua. Editing that script to invoke /usr/bin/lua5.3 instead seems like a good interim solution if you need to run zbstudio right now.
PSA: I've started hosting this and all its dependencies as prebuilt packages in my repository for those that want to install them using
pacmanwithout messing around with building from the AUR.