You are not logged in.
I've tried to install gltron for both AUR and the source ( http://www.gltron.org/ ) configure runs fine, but as soon as I run make it gives the error:
Makefile:154: recipe for target 'liolib.o' failed
make[3]: *** [liolib.o] Error 1
make[3]: Leaving directory '/tmp/gltron-0.70/lua/src/lib'
Makefile:212: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/gltron-0.70/lua/src'
Makefile:112: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/gltron-0.70/lua'
Makefile:252: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I'm not really sure where to go from here. Is this a problem with the program itself or a dependency issue? liolib seems to be an LUA library but I cannot find an arch package for this. Any help much appreciated!
I'll add and updated pkgbuild to aur if I can install it
Last edited by Tom B (2015-02-14 17:34:36)
Offline
Tom B, please post the FULL build log.
The part you posted lacks the information needed to troubleshoot this.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
liolib.c is missing a needed header file. The following sed line in the PKGBUILD will workaround it:
./configure --prefix=/usr --enable-warn=off
sed -i 's/#include <ctype.h>/&\n#include <stdint.h>/' lua/src/lib/liolib.c
make
Please report this as a bug upstream. You could also inform the maintainer of the PKGBUILD that it needs some work. Makepkg -e failed for me as they have improperly put all the patching in the build function instead of a prepare function.
Edit: I just posted a comment on the AUR page suggesting the maintainer look into these points.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks Trilby! that worked
Offline
And I've added the sed line to the PKGBUILD in AUR. Thanks for the notification!
Offline