You are not logged in.
I am trying to compile fillets-ng-0.7.3-2 from the AUR (loved it in Gentoo, I want it in Arch as well!). Here is the error I'm getting
make[2]: Entering directory `/var/abs/local/fillets-ng/src/fillets-ng-0.7.3/src/game'
g++ -march=i686 -O2 -pipe -Wall -W -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual -Wconversion -Wshadow -o fillets Application.o GameAgent.o main.o ../menu/libmenu.a ../level/liblevel.a ../state/libstate.a ../option/liboption.a ../plan/libplan.a ../widget/libwidget.a ../effect/libeffect.a ../gengine/libgengine.a ../SDL_gfx/libSDL_gfx.a -lSDL_ttf -lSDL_image -lSDL_mixer -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/include -llua -llualib -lfribidi -L/usr/local/lib -lm
/usr/bin/ld: cannot find -llualib
collect2: ld returned 1 exit status
make[2]: *** [fillets] Error 1
make[2]: Leaving directory `/var/abs/local/fillets-ng/src/fillets-ng-0.7.3/src/game'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/fillets-ng/src/fillets-ng-0.7.3/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...
I have lua installed, and the files seem to be in a logical place:
[chris@toaster fillets-ng]# pacman -Ql lua
lua /usr/
lua /usr/bin/
lua /usr/bin/lua
lua /usr/bin/luac
lua /usr/include/
lua /usr/include/lauxlib.h
lua /usr/include/lua.h
lua /usr/include/lua.hpp
lua /usr/include/luaconf.h
lua /usr/include/lualib.h
lua /usr/lib/
lua /usr/lib/liblua.a
lua /usr/lib/liblua.so
lua /usr/lib/liblua.so.5.1
lua /usr/lib/lua/
lua /usr/lib/lua/5.1/
lua /usr/lib/pkgconfig/
lua /usr/lib/pkgconfig/lua.pc
lua /usr/man/
lua /usr/man/man1/
lua /usr/man/man1/lua.1.gz
lua /usr/man/man1/luac.1.gz
lua /usr/share/
lua /usr/share/lua/
lua /usr/share/lua/5.1/
And for reference, here is the PKGBUILD:
# Contributor: mpie <michael>
pkgname=fillets-ng
pkgver=0.7.3
pkgrel=2
pkgdesc="Puzzle game based on an old classic"
url="http://fillets.sf.net"
license=""
depends=('sdl' 'lua' 'fribidi' 'sdl_mixer' 'sdl_ttf' 'sdl_image')
install=()
source=(http://dl.sourceforge.net/fillets/$pkgname-$pkgver.tar.gz
http://dl.sourceforge.net/fillets/fillets-ng-data-0.7.1.tar.gz)
md5sums=('3cdb20616c8bf4498f2990f4e0d526a1'
'dabb8aa5dcce57e782a2a27343c40cc6')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-lua=/usr/include --disable-sdltest --datadir=/usr/share
make || return 1
install -d -m755 $startdir/pkg/usr/share/games/fillets
make DESTDIR=$startdir/pkg install
cd ..
cp -a fillets-ng-data-0.7.1/* $startdir/pkg/usr/share/games/fillets
}
Any help would be greatly appreciated
Cheers,
Chris
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
fillets-ng requires lua 5.0 while Arch is using 5.1. It'll need to be patched to work with lua 5.1
Possible workarounds would be:
a) if you only use lua for fillet-ng, you can use abs to make a lua 5.0 package. Look in the wiki for more info.
b) to modify the fillet-ng PKGBUILD such that it uses the precompiled fillet-ng:
http://dl.sourceforge.net/fillets/fille … 7.3.tar.gz
instead of compiling it from source.
Offline
Cheers, I'll give it a go
Chris
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
Waiting for a patch......
normally it's prefereble to use source for pkgbuilds, but I will amend it to use the binary as an interim fix till a patch is available..
Offline
what does -ng mean? i've seen it on other software as well...
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
Next Generation
Offline