Package Details: jvgs 0.5.1-1

Git Clone URL: https://aur.archlinux.org/jvgs.git (read-only)
Package Base: jvgs
Description: minimalistic platform game loosely based on xkcd webcomic
Upstream URL: http://jvgs.sourceforge.net/
Licenses: GPL, CCPL
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 36
Popularity: 0.002506
First Submitted: 2010-02-18 20:12
Last Updated: 2015-06-12 19:56

Latest Comments

jose1711 commented on 2013-08-30 17:39

it's working just fine for me.
..
-- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/libm.so
-- Lua has been found:
-- CFLAGS : /usr/include
-- LDFLAGS: /usr/lib/liblua5.1.so;/usr/lib/libm.so
..

Boskote commented on 2013-08-03 06:25

I got the following error while attempting to build:

Scanning dependencies of target bind
[ 98%] Building CXX object src/bind/CMakeFiles/bind.dir/jvgslua.cpp.o
/tmp/makepkg/jvgs/src/jvgs-0.5.1-src/src/bind/jvgslua.cpp:733:17: fatal error: lua.h: No such file or directory
#include "lua.h"
^
compilation terminated.

jose1711 commented on 2013-06-01 15:54

@Cravix: thank you, updated

Cravix commented on 2013-05-31 15:11

ah, sorry, pkgrel should be changed as well.

Cravix commented on 2013-05-31 15:10

0.5.1 is out, and my pkgbuild:
http://pastebin.ca/2385910
feel free to take it, hmm

Cravix commented on 2013-05-27 01:36

jose1711,
recently, more strict rule has been implemented in makepkg, now PKGBUILD can only touch file and dir in package() function,

so please move the first 3 lines that touch $pkgdir in build() into package() to make it work again, thanks!

JohnDVD,
just adjust the PKGBUILD as i said above, and remove src, pkg dir and remove ~/.ccache (if you have one) before rebuild.

Cravix commented on 2013-05-27 01:34

jose1711,
recently, the more strict rule is implemented in makepkg, now PKGBUILD can only touch file or dir in package() function,

so please move the first 3 lines that touch $pkgdir in build() into package(),
thanks!

JohnDVD,
just adjust the PKGBUILD as i said above, and remove src, pkg dir and remove ~/.ccache if you have one before rebuild.

Cravix commented on 2013-05-27 01:31

JohnDVD,
if it still doesn't work, remove src and pkg dir, and remove ~/.ccache if you have one.

Cravix commented on 2013-05-27 01:28

JohnDVD,
the problem is produced by the recently introduced more strict makepkg rule,
PKGBUILD can only touch file or dir in package() function,
so the solution is simple:
move the first 3 lines that touch $pkgdir in build() into package(),
then it works.

and, jose1711, please update the PKGBUILD, thanks!

JohnDVD commented on 2013-05-21 18:08

I got this error on x86_64, I can't solve except executing as root

==> Beginne build()...
mkdir: das Verzeichnis „/tmp/yaourt-tmp-johnd/aur-jvgs/pkg“ kann nicht angelegt werden: Keine Berechtigung
mkdir: das Verzeichnis „/tmp/yaourt-tmp-johnd/aur-jvgs/pkg“ kann nicht angelegt werden: Keine Berechtigung
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...
==> ERROR: Makepkg was unable to build jvgs.

Tried as root gave me this error:

[ 99%] Building CXX object src/bind/CMakeFiles/bind.dir/ScriptManager.cpp.o
/tmp/yaourt-tmp-root/aur-jvgs/src/jvgs-0.5-src/src/bind/ScriptManager.cpp: In Konstruktor »jvgs::bind::ScriptManager::ScriptManager()«:
/tmp/yaourt-tmp-root/aur-jvgs/src/jvgs-0.5-src/src/bind/ScriptManager.cpp:23:33: Fehler: »lua_open« wurde in diesem Gültigkeitsbereich nicht definiert
luaState = lua_open();
^
make[2]: *** [src/bind/CMakeFiles/bind.dir/ScriptManager.cpp.o] Fehler 1
make[1]: *** [src/bind/CMakeFiles/bind.dir/all] Fehler 2
make: *** [all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...
==> ERROR: Makepkg was unable to build jvgs.


Please be so kind and fix the PKGBUILD or tell me what I'm doing wrong...

Cravix commented on 2013-02-17 04:02

@jose1711:
now it works again;
the problem appeared when i forgot to install lua51 before makepkg, and after i recognized that (install lua51 and rebuild), the compilation cache make it still impossible to successfully build jvgs.

so my solution is: clean ccache (rm -rf ~/.ccache) and remove srcdir then rebuild, and now it works again :)

and, please change dep "lua" to "lua51" to ensure that users have installed lua51 before building jvgs.

Cravix commented on 2013-02-17 03:01

@jose1711:
now it works again;
the problem appeared when i forgot to install lua51 before makepkg, and after i recognized that (install lua51 and rebuild), the compilation cache make it still impossible to successfully build jvgs.

so my solution is: clean ccache (rm -rf ~/.ccache) and remove srcdir then rebuild, and now it works again :)

jose1711 commented on 2013-02-13 20:21

if you want i can upload (i686 only) pkg.tar.xz for you to test

Cravix commented on 2013-02-06 13:32

got same error as ShadowfoxXXX.
add
sed -i '8i\#define lua_open luaL_newstate' src/bind/ScriptManager.cpp
before
cmake .
and it works again, but sadly when i run it, i got another error:
Error - resources/player/script.lua: resources/player/script.lua:65: invalid escape sequence near '\/'

jose1711 commented on 2013-01-27 13:10

@ShadowFoxXXX: interesting, it compiles just fine on my box.

$ pacman -Q|grep lua
lua 5.2.1-3
lua51 5.1.5-3
luajit 2.0.0-3

Anonymous comment on 2013-01-27 07:59

/tmp/yaourt-tmp-root/aur-jvgs/src/jvgs-0.5-src/src/bind/ScriptManager.cpp: In constructor ‘jvgs::bind::ScriptManager::ScriptManager()’:
/tmp/yaourt-tmp-root/aur-jvgs/src/jvgs-0.5-src/src/bind/ScriptManager.cpp:23:33: error: ‘lua_open’ was not declared in this scope
make[2]: *** [src/bind/CMakeFiles/bind.dir/ScriptManager.cpp.o] Error 1
make[1]: *** [src/bind/CMakeFiles/bind.dir/all] Error 2
make: *** [all] Error 2

jose1711 commented on 2012-12-20 17:18

@schiantaberetti: thank you, fixed

Anonymous comment on 2012-12-20 10:51

Hi,
in order to compile I had to change this line in CMakeCache.txt:
LUA_INCLUDE_DIR:PATH=/usr/include
in this one:
LUA_INCLUDE_DIR:PATH=/usr/include/lua5.1

jose1711 commented on 2010-10-06 19:57

thank you, fixed

mar77i commented on 2010-10-06 00:05

missing mesa dependency?

/SDL_opengl.h:46:60: fatal error: GL/gl.h: No such file or directory
/usr/include/GL/gl.h is owned by mesa 7.8.2-3