Package Details: instead 3.5.1-1

Git Clone URL: https://aur.archlinux.org/instead.git (read-only, click to copy)
Package Base: instead
Description: a quest interpreter
Upstream URL: https://github.com/instead-hub/instead
Keywords: fiction interactive quest
Licenses: MIT
Submitter: Barthalion
Maintainer: btimofeev (gl00my)
Last Packager: btimofeev
Votes: 9
Popularity: 0.000000
First Submitted: 2018-01-06 20:56 (UTC)
Last Updated: 2023-09-07 19:44 (UTC)

Dependencies (7)

Required by (1)

Sources (1)

Latest Comments

gl00my commented on 2020-04-19 14:49 (UTC)

It can be build with gtk3, just add -DWITH_GTK3 to cmake

gl00my commented on 2018-09-01 07:53 (UTC)

3.2.2 is out.

https://instead-hub.github.io/post/2018-09-01-instead-3-2-2/ Now, the package can be build with LuaJIT (cmake -DWITH_LUAJIT=1);

btimofeev commented on 2018-06-07 06:39 (UTC)

Please change "arch=('x86_64')" to "arch=('i686' 'x86_64')" in PKGBUILD.

KokPok commented on 2018-04-29 14:33 (UTC) (edited on 2018-04-29 14:34 (UTC) by KokPok)

Having same problem as @dark-saber on one of my computers. Building it on Manjaro, but I think it's not essential.

I see in package dependencies lua (which is by now 5.3), on newly installed system it might work, but if lua51 is installed in system to, Instead's cmake scripts including it instead of 5.3, and somewhere in Rules.make.standalone file, at linking, error occurs. To override this error I modified pkgbuild script and added before cmake string the following:

export LUA_DIR=/usr/include/lua5.1

Compilled successefuly, games are running, everything is working. I don't know, is there any difference in using lua 5.1 or 5.3, but, maybe you could add this line to pkgbuild and change dependency to lua51 for everyone?

Oh, and change optional dependency to insteadman. instead-launcher is so outdated.

pio commented on 2018-04-19 21:46 (UTC) (edited on 2018-04-19 21:47 (UTC) by pio)

https://github.com/instead-hub/instead/blob/master/INSTALL says:

Warning, in some systems (like Arch linux) you need to define LUA dir, to help cmake. For example (Arch linux): $ LUA_DIR=/usr/include/lua5.1/ cmake ..

And it works for me. However I couldn't make it build with lua5.3.

dluciv commented on 2018-03-06 14:16 (UTC)

@dark-saber yes I have the same problem with it

dark-saber commented on 2018-02-17 13:31 (UTC)

Package build breaks if you have extra/lua51 installed in addition to extra/lua. lua52 doesn't cause any problems.

==> Starting build()...
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test WEXTRA_FLAG_SUPPORTED
-- Performing Test WEXTRA_FLAG_SUPPORTED - Success
-- Performing Test WNO_UNUSED_PARAMETER_FLAG_SUPPORTED
-- Performing Test WNO_UNUSED_PARAMETER_FLAG_SUPPORTED - Success
-- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/libm.so (found version "") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found SDL2: -I/usr/include/SDL2, /usr/lib/libSDL2.so
-- Found SDL2_mixer: -I/usr/include/SDL2, /usr/lib/libSDL2_mixer.so
-- Found SDL2_image: -I/usr/include/SDL2, /usr/lib/libSDL2_image.so
-- Found SDL2_ttf: -I/usr/include/SDL2, /usr/lib/libSDL2_ttf.so
-- Found Iconv: -I/usr/include, library not needed
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/makepkg/instead/src/build
Scanning dependencies of target sdl-instead
[ 10%] Building C object src/CMakeFiles/sdl-instead.dir/SDL_rotozoom.c.o
[ 10%] Building C object src/CMakeFiles/sdl-instead.dir/SDL_gfxBlitFunc.c.o
[ 10%] Building C object src/CMakeFiles/sdl-instead.dir/SDL_anigif.c.o
[ 13%] Building C object src/CMakeFiles/sdl-instead.dir/config.c.o
[ 16%] Building C object src/CMakeFiles/sdl-instead.dir/game.c.o
[ 20%] Building C object src/CMakeFiles/sdl-instead.dir/graphics.c.o
[ 23%] Building C object src/CMakeFiles/sdl-instead.dir/input.c.o
[ 26%] Building C object src/CMakeFiles/sdl-instead.dir/noise1234.c.o
[ 30%] Building C object src/CMakeFiles/sdl-instead.dir/ioapi.c.o
[ 33%] Building C object src/CMakeFiles/sdl-instead.dir/main.c.o
[ 36%] Building C object src/CMakeFiles/sdl-instead.dir/menu.c.o
[ 40%] Building C object src/CMakeFiles/sdl-instead.dir/sound.c.o
[ 43%] Building C object src/CMakeFiles/sdl-instead.dir/themes.c.o
[ 46%] Building C object src/CMakeFiles/sdl-instead.dir/unpack.c.o
[ 50%] Building C object src/CMakeFiles/sdl-instead.dir/unzip.c.o
[ 53%] Building C object src/CMakeFiles/sdl-instead.dir/utils.c.o
[ 56%] Building C object src/CMakeFiles/sdl-instead.dir/instead_bits.c.o
[ 60%] Building C object src/CMakeFiles/sdl-instead.dir/instead_sprites.c.o
[ 63%] Building C object src/CMakeFiles/sdl-instead.dir/instead_timer.c.o
[ 66%] Building C object src/CMakeFiles/sdl-instead.dir/instead_sound.c.o
[ 70%] Building C object src/CMakeFiles/sdl-instead.dir/instead_paths.c.o
[ 73%] Building C object src/CMakeFiles/sdl-instead.dir/instead/instead.c.o
[ 76%] Building C object src/CMakeFiles/sdl-instead.dir/instead/util.c.o
[ 80%] Building C object src/CMakeFiles/sdl-instead.dir/instead/list.c.o
[ 83%] Building C object src/CMakeFiles/sdl-instead.dir/instead/cache.c.o
[ 86%] Building C object src/CMakeFiles/sdl-instead.dir/instead/idf.c.o
[ 90%] Building C object src/CMakeFiles/sdl-instead.dir/instead/tinymt32.c.o
[ 93%] Building C object src/CMakeFiles/sdl-instead.dir/instead/lfs.c.o
[ 96%] Building C object src/CMakeFiles/sdl-instead.dir/unix.c.o
[100%] Linking C executable sdl-instead
CMakeFiles/sdl-instead.dir/instead_sprites.c.o: In function `pixels_fill_poly':
instead_sprites.c:(.text+0x3b69): undefined reference to `lua_rawlen'
instead_sprites.c:(.text+0x3cc0): undefined reference to `lua_tonumberx'
instead_sprites.c:(.text+0x3d02): undefined reference to `lua_tonumberx'
CMakeFiles/sdl-instead.dir/instead_sound.c.o: In function `luaB_load_sound_mem':
instead_sound.c:(.text+0xc1d): undefined reference to `lua_rawlen'
instead_sound.c:(.text+0xdc4): undefined reference to `lua_tonumberx'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `docall':
instead.c:(.text+0x30): undefined reference to `lua_pcallk'
instead.c:(.text+0x74): undefined reference to `lua_rotate'
instead.c:(.text+0xb9): undefined reference to `lua_rotate'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `luaB_maxn':
instead.c:(.text+0x4dc): undefined reference to `lua_tonumberx'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `luaB_print':
instead.c:(.text+0x52b): undefined reference to `lua_getglobal'
instead.c:(.text+0x5ac): undefined reference to `lua_callk'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `traceback':
instead.c:(.text+0x656): undefined reference to `luaL_traceback'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `loadfile':
instead.c:(.text+0x8ab): undefined reference to `lua_rotate'
instead.c:(.text+0x943): undefined reference to `lua_rotate'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `luaB_dofile':
instead.c:(.text+0xa4f): undefined reference to `lua_callk'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `luaB_doencfile':
instead.c:(.text+0xac2): undefined reference to `lua_callk'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_function.constprop.7':
instead.c:(.text+0xf5d): undefined reference to `lua_getglobal'
instead.c:(.text+0xf89): undefined reference to `lua_rotate'
instead.c:(.text+0xfcc): undefined reference to `lua_pcallk'
instead.c:(.text+0x1078): undefined reference to `lua_rotate'
instead.c:(.text+0x10c8): undefined reference to `lua_rotate'
instead.c:(.text+0x1101): undefined reference to `lua_getglobal'
instead.c:(.text+0x1120): undefined reference to `lua_getglobal'
instead.c:(.text+0x114c): undefined reference to `lua_rotate'
instead.c:(.text+0x116e): undefined reference to `lua_getglobal'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `dostring':
instead.c:(.text+0x11ed): undefined reference to `lua_pcallk'
instead.c:(.text+0x1230): undefined reference to `lua_rotate'
instead.c:(.text+0x1279): undefined reference to `lua_rotate'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_pcall':
instead.c:(.text+0x1404): undefined reference to `lua_pcallk'
instead.c:(.text+0x146c): undefined reference to `lua_rotate'
instead.c:(.text+0x14a9): undefined reference to `lua_rotate'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_eval':
instead.c:(.text+0x1635): undefined reference to `lua_pcallk'
instead.c:(.text+0x1678): undefined reference to `lua_rotate'
instead.c:(.text+0x16b9): undefined reference to `lua_rotate'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_iretval':
instead.c:(.text+0x182d): undefined reference to `lua_tonumberx'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_function':
instead.c:(.text+0x18b3): undefined reference to `lua_getglobal'
instead.c:(.text+0x18df): undefined reference to `lua_rotate'
instead.c:(.text+0x19be): undefined reference to `lua_pcallk'
instead.c:(.text+0x1ad0): undefined reference to `lua_rotate'
instead.c:(.text+0x1b21): undefined reference to `lua_rotate'
instead.c:(.text+0x1b5a): undefined reference to `lua_getglobal'
instead.c:(.text+0x1b79): undefined reference to `lua_getglobal'
instead.c:(.text+0x1ba5): undefined reference to `lua_rotate'
instead.c:(.text+0x1bc7): undefined reference to `lua_getglobal'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_load':
instead.c:(.text+0x226e): undefined reference to `luaL_loadfilex'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_loadfile':
instead.c:(.text+0x2664): undefined reference to `luaL_loadfilex'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_loadscript':
instead.c:(.text+0x2713): undefined reference to `luaL_loadfilex'
instead.c:(.text+0x2806): undefined reference to `lua_setglobal'
instead.c:(.text+0x2818): undefined reference to `luaL_loadfilex'
instead.c:(.text+0x2862): undefined reference to `lua_rotate'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_init_lua':
instead.c:(.text+0x2ac8): undefined reference to `luaL_setfuncs'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_init':
instead.c:(.text+0x3132): undefined reference to `luaL_loadfilex'
CMakeFiles/sdl-instead.dir/instead/instead.c.o: In function `instead_api_register':
instead.c:(.text+0x337e): undefined reference to `luaL_setfuncs'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/sdl-instead.dir/build.make:845: src/sdl-instead] Error 1
make[1]: *** [CMakeFiles/Makefile2:176: src/CMakeFiles/sdl-instead.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build instead package(s)