Notice: Undefined variable: name in /srv/http/vhosts/ on line 248

Package Details: brutalchess 0.5.2-6

Git Clone URL: (read-only)
Package Base: brutalchess
Description: Chess game inspired by 'Battle Chess'. Features full 3D graphics.
Upstream URL:
Licenses: GPL2
Submitter: None
Maintainer: boenki
Last Packager: boenki
Votes: 51
Popularity: 0.620099
First Submitted: 2006-08-02 16:06
Last Updated: 2015-12-27 10:02

Latest Comments

boenki commented on 2015-12-27 10:03

thanks pat_brat, included in -6.

pat_brat commented on 2015-12-25 16:09

I too had the same error. I changed the <freetype2/~g to <freetype2/freetype/~g, so my line now reads as:
sed 's~#include\ <freetype/~#include\ <freetype2/freetype~g' -i fontloader.h

Compiled fine now.

tomjtoth commented on 2015-10-22 10:49

Hello! I get the following error if I run "makepkg -si" with the current PKGBUILD:

In file included from brutalchess.cpp:26:0:
fontloader.h:16:32: fatal error: freetype2/freetype.h: No such file or directory
compilation terminated.
Makefile:421: recipe for target 'brutalchess.o' failed
make[2]: *** [brutalchess.o] Error 1
make[2]: Leaving directory '/ntfsE/Letoltes/brutalchess/src/brutalchess-0.5.2/src'
Makefile:273: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/ntfsE/Letoltes/brutalchess/src/brutalchess-0.5.2/src'
Makefile:250: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().

But if I remove the following line, suggested by @milko, everything works fine:

sed 's~#include\ <freetype/~#include\ <freetype2/~g' -i fontloader.h

ArnaudNux commented on 2015-10-11 22:21

Makefile:250: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build brutalchess.
==> Restart building brutalchess ? [y/N]

boenki commented on 2014-04-24 20:42

@milko: thank you very much! It's updated.

milko commented on 2014-04-19 12:09

Hello there.

I got the following error while building, in fontloader.h file:
freetype/freetype.h no such file or directory

So i added in PKGBUILD, in prepare():
sed 's~#include\ <freetype/~#include\ <freetype2/~g' -i fontloader.h

mmm commented on 2013-04-12 16:44

Guys, thanks for posting the solutions! Better yet, if you notified upstream, so this could be fixed out-of-the box. Thanks

agaskins commented on 2012-05-20 22:45

I also had to do what dubtheat mentioned below to get this to build.

dubtheat commented on 2012-04-21 11:00

I needed to include unistd.h in two of the files, so some users may find it handy to add these lines to the PKGBUILD file.

sed 's/GLvoid/void/g' -i src/objview.cpp
sed '/<string>/ a\#include <unistd.h>' -i src/xboardplayer.cpp
sed '/<string>/ a\#include <unistd.h>' -i src/faileplayer.cpp
# Build and install