games-engines/stratagus-2.2.2 fails to configure >>> Emerging (2 of 3) games-engines/stratagus-2.2.2 to / * stratagus-2.2.2-src.tar.gz MD5 ;-) ... [ ok ] * stratagus-2.2.2-src.tar.gz RMD160 ;-) ... [ ok ] * stratagus-2.2.2-src.tar.gz SHA1 ;-) ... [ ok ] * stratagus-2.2.2-src.tar.gz SHA256 ;-) ... [ ok ] * stratagus-2.2.2-src.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking stratagus-2.2.2-src.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking stratagus-2.2.2-src.tar.gz to /var/tmp/portage/games-engines/stratagus-2.2.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-engines/stratagus-2.2.2/work/stratagus-2.2.2 ... ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-debug --without-bzip2 --without-mikmod --with-mng --with-opengl --with-theora --with-vorbis --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for strcasestr... yes checking for strnlen... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... libraries , headers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for library containing glViewport... -lGL checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for vorbis_info_init in -lvorbis... yes checking for ogg/ogg.h... (cached) yes checking theora/theora.h usability... yes checking theora/theora.h presence... yes checking for theora/theora.h... yes checking for theora_decode_init in -ltheora... yes checking libmng.h usability... yes checking libmng.h presence... yes checking for libmng.h... yes checking for main in -lmng... no configure: error: mng headers and/or libraries could not be found !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/games-engines/stratagus-2.2.2/work/stratagus-2.2.2/config.log !!! ERROR: games-engines/stratagus-2.2.2 failed. Call stack: ebuild.sh, line 1611: Called dyn_compile ebuild.sh, line 968: Called qa_call 'src_compile' environment, line 3238: Called src_compile stratagus-2.2.2.ebuild, line 40: Called econf '--disable-debug' '--without-bzip2' '--without-mikmod' '--with-mng' '--with-opengl' '--with-theora' '--with-vorbis' ebuild.sh, line 574: Called die Portage 2.1.2-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64) ================================================================= System uname: 2.6.18-gentoo-r1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System version 1.12.9 Timestamp of tree: Tue, 30 Jan 2007 12:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -ggdb" 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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="en nl" MAKEOPTS="-j4" 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" PORTDIR_OVERLAY="/home/marijn/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acpi alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri dts dvd dvdr dvdread fortran gdbm gif gpm gtk iconv ipv6 isdnlog jpeg kde kdeenablefinal libg++ lm_sensors mad midi mng mp3 ncurses nls nptl nptlonly nvidia offensive opengl pam pcre pdf perl png ppds pppd python readline reflection session smp spl ssl svg tcpd theora truetype-fonts type1-fonts udev unicode vorbis xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 108637 [details] config.log
libmng-1.0.9-r1 is installed
I disabled the "mng" use flag. Now it fails compiling with: x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -DUSE_OPENGL -DUSE_VORBIS -DUSE_THEORA -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_ZLIB -I. -I./src/include -I./src/guichan/include -O2 -pipe -ggdb -fsigned-char src/tolua/tolua.cpp -o src/tolua/obj/tolua.o src/tolua/tolua.cpp: In function ‘int tolua_stratagus_open(lua_State*)’: src/tolua/tolua.cpp:16182: error: ‘lua_dobuffer’ was not declared in this scope src/tolua/tolua.cpp:16245: error: ‘lua_dobuffer’ was not declared in this scope src/tolua/tolua.cpp:16493: error: ‘lua_dobuffer’ was not declared in this scope src/tolua/tolua.cpp:16889: error: ‘lua_dobuffer’ was not declared in this scope src/tolua/tolua.cpp:17089: error: ‘lua_dobuffer’ was not declared in this scope parallel build error?
I guess not since it already makes with -j1... I got dev-lang/lua-5.1.1. dev/lang/tolua is not installed (all versions masked). Maybe I should unmask it.
Try it again after running revdep-rebuild and/or emerge -1 libmng. The lua thing is bug 158652.
re-emerging libmng helped to configure. Lua issue still there.