You are not logged in.

#1 2015-02-13 23:13:27

Tom B
Member
Registered: 2014-01-15
Posts: 187
Website

[SOLVED] gltron - Makefile:154: recipe for target 'liolib.o' failed

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 smile

Last edited by Tom B (2015-02-14 17:34:36)

Offline

#2 2015-02-14 13:08:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] gltron - Makefile:154: recipe for target 'liolib.o' failed

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

#3 2015-02-14 14:23:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] gltron - Makefile:154: recipe for target 'liolib.o' failed

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

#4 2015-02-14 17:34:18

Tom B
Member
Registered: 2014-01-15
Posts: 187
Website

Re: [SOLVED] gltron - Makefile:154: recipe for target 'liolib.o' failed

Thanks Trilby! that worked smile

Offline

#5 2015-02-17 19:48:43

drag0nl0rd
Package Maintainer (PM)
From: Czech Republic
Registered: 2007-10-24
Posts: 127
Website

Re: [SOLVED] gltron - Makefile:154: recipe for target 'liolib.o' failed

And I've added the sed line to the PKGBUILD in AUR. Thanks for the notification!

Offline

Board footer

Powered by FluxBB