When I try to emerge games-engines/stratagus-2.1 it fails to configure: [...] checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for main in -lbz2... yes checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking vorbis/vorbisfile.h usability... yes checking vorbis/vorbisfile.h presence... yes checking for vorbis/vorbisfile.h... yes checking for lua-config... no checking for lua-config50... no checking for luaconfig5.0... no checking for lua_getfenv in -llua... yes checking for luaopen_base in -llualib... no checking for luaopen_base in -llualib50... no checking for luaopen_base in -llualib5.0... no configure: error: Lualib5 is required !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/games-engines/stratagus-2.1/work/stratagus-040702/config.log !!! ERROR: games-engines/stratagus-2.1 failed. Call stack: ebuild.sh, line 1580: Called dyn_compile ebuild.sh, line 945: Called src_compile stratagus-2.1.ebuild, line 48: Called econf '--disable-debug' '--without-mikmod' '--with-flac' '--with-mad' '--with-opengl' '--disable-ogg' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. lua is installed, though: $ emerge -pv lua These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/lua-5.1.1 USE="readline -static" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB $ emerge --info Portage 2.1.2_rc3-r8 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1-mw i686) ================================================================= System uname: 2.6.19-suspend2-r1-mw i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.8 Last Sync: Wed, 20 Dec 2006 11:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.3.6, 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.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/" LANG="C" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d aac aalib acpi alsa alsa_cards_emu10k1 alsa_cards_hda-intel aoss apache apache2 bash-completion berkdb bitmap-fonts blender-game branding bzip2 cairo cdparanoia cdr cli cracklib crypt css cups curl dba dbus dedicated devmap dga directfb divx dlloader doc dri dvd dvdr dvi editor elibc_glibc emboss encode escreen exif expat fam fbcon ffmpeg firefox flac ftp gd gdbm gif gimpprint glut gnome gnutls gstreamer gtk gtk2 gtkhtml hal hddtemp i8x0 iconv icq idn imagemagick imap input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 jabber java john jpeg jpeg2k kernel_linux lame ldap libcaca libg++ libnotify logrotate mad mbox mmx mmxext mng mozbranding mozdevelop mozilla mozsvg mp3 mpeg mysql nautilus ncurses nfs nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg openal opengl openssl oscar oss pam pcre pdf perl php png pop postfix postgres ppds python qt3 qt4 quicktime readline real realmedia rtc ruby samba sdl server session silverxp spell spl sqlite sse sse2 ssl startup-notification svg tcpd tetex theora thunderbird tiff tools truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_fglrx vim vim-with-x visualization vorbis win32codecs wmf x264 xanim xchattext xine xml xorg xpm xprint xsl xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 104448 [details] config.log that shall be attached
> ld: cannot find -llualib5.0 Looks like the dep should be on lua-5.0
yep. needs lua-5. Fixed in CVS.
This is not fixed. ">=dev-lang/lua-5" doesn't fix the problem that lua-5.1 isn't recognized.
OK...
Here some test I made... as far as I understand ld... ld -l liblua -L/usr/lib -llua ld: cannot find -lliblua ld -l liblua5 -L/usr/lib -llua ld: cannot find -lliblua5 ld -l liblua50 -L/usr/lib -llua ld: cannot find -lliblua50 ld -l liblua51 -L/usr/lib -llua ld: cannot find -lliblua51 find /usr/lib -name "*liblua*" 2>/dev/null /usr/lib/liblua.la /usr/lib/liblua.a /usr/lib/liblua.so.5 /usr/lib/liblua.so /usr/lib/liblua.so.5.1.1
Just waiting for the slotted lua to be unmasked.
You'll probably wait forever. Slotted lua is not worth the fight, you'd need to change the dep anyway. Please depend on ~dev-lang/lua-5.0*
No, that will cause version bouncing for lua.
I tried compiling stratagus with lua-5.1.1, and it didn't work. It does work with lua-5.0.2, though.
*** Bug 164305 has been marked as a duplicate of this bug. ***
--> see bug 164305 for this bugs resolution
thanks
*** Bug 194407 has been marked as a duplicate of this bug. ***