The only problem is that it needs /usr/games/lib64 in the LD_LIBRARY_PATH. After fixing this the game appears to be running fine
It doesn't compile for me, here's the emerge output: x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/campaign.o campaign.cpp In file included from fight.cpp:51: ../libClient/attalSound.h:38:21: SDL/SDL.h: No such file or directory ../libClient/attalSound.h:39:27: SDL/SDL_mixer.h: No such file or directory In file included from fight.cpp:51: ../libClient/attalSound.h:86: error: ISO C++ forbids declaration of `Mix_Music' with no type ../libClient/attalSound.h:86: error: expected `;' before '*' token ../libClient/attalSound.h:87: error: ISO C++ forbids declaration of `Mix_Chunk' with no type ../libClient/attalSound.h:87: error: expected `;' before '*' token make[1]: *** [obj/fight.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/attal-0.9.4/work/attal-src-0.9.4/libFight' make: *** [sub-libFight] Error 2 make: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/fightAnalyst.o fightAnalyst.cpp x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/fightEngine.o fightEngine.cpp x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/gameData.o gameData.cpp x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/parser.o parser.cpp x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/questManager.o questManager.cpp /usr/qt/3/bin/moc attalServer.h -o moc/moc_attalServer.cpp /usr/qt/3/bin/moc fightEngine.h -o moc/moc_fightEngine.cpp x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/moc_attalServer.o moc/moc_attalServer.cpp x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_SOUND -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I/usr/qt/3/include -Imoc/ -o obj/moc_fightEngine.o moc/moc_fightEngine.cpp test -d ../ || mkdir -p ../ rm -f libAttalServer.so.6.0.0 libAttalServer.so libAttalServer.so.6 libAttalServer.so.6.0 x86_64-pc-linux-gnu-g++ -shared -Wl,-soname,libAttalServer.so.6 -o libAttalServer.so.6.0.0 obj/attalServer.o obj/campaign.o obj/fightAnalyst.o obj/fightEngine.o obj/gameData.o obj/parser.o obj/questManager.o obj/moc_attalServer.o obj/moc_fightEngine.o -L/usr/qt/3/lib64 -L.. -lAttalCommon -lqt-mt ln -s libAttalServer.so.6.0.0 libAttalServer.so ln -s libAttalServer.so.6.0.0 libAttalServer.so.6 ln -s libAttalServer.so.6.0.0 libAttalServer.so.6.0 rm -f ../libAttalServer.so.6.0.0 rm -f ../libAttalServer.so rm -f ../libAttalServer.so.6 rm -f ../libAttalServer.so.6.0 mv -f libAttalServer.so.6.0.0 libAttalServer.so libAttalServer.so.6 libAttalServer.so.6.0 ../ make[1]: Leaving directory `/var/tmp/portage/attal-0.9.4/work/attal-src-0.9.4/libServer' !!! ERROR: games-strategy/attal-0.9.4 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile attal-0.9.4.ebuild, line 46: Called die !!! emake libs failed !!! If you need support, post the topmost build error, and the call stack if relevant. gentoo ~ # emerge --info Portage 2.1.1_pre1-r2 (default-linux/amd64/2006.0, gcc-3.4.4/amd64-vanilla, glibc-2.4-r3, 2.6.16-suspend2-r7-Dudebox-Edition x86_64) ================================================================= System uname: 2.6.16-suspend2-r7-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect confcache distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://server/gentoo-portage" USE="amd64 X alsa apache2 avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_dummy" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This would mean that it requires media-libs/libsdl - I didn't notice because I had it already installed
There's more to this than meets the eye. /usr/games/lib64 seems to be the right place to install the libraries, but it is not included in LDPATH. I have files another bug on this (bug 137997) which will need to be resolved before attal can enter ~amd64. There are also two dependencies missing, namely media-libs/libsdl and media-libs/sdl-mixer. We will need to wait for the lib64 issue to be sorted out before this package can be added to ~amd64.
This would be a 'global' problem - I mean the missing deps. Maybe it should be fixed sooner regardless of the LDPATH bug? Seeing SpanKYs response I wouldn't count for a fast solution - multilib has many entries in the bugzilla and the discussion gets usually quite heated...
You're right about that, I just opened bug 138461 to adress the missing dependencies in attal 0.9.4 and 0.9.4.
fixed in cvs