Hi, when I try to emerge libqalculate-0.8 it fails with the following output: checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool ./configure: line 20407: test: too many arguments checking for pthread_create in -lpthread... yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 >= 2.4 libxml-2.0 ... yes checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 checking GLIB_LIBS... -lglib-2.0 -lxml2 -lpthread -lz -lm checking for cln-config... /usr/bin/cln-config checking for CLN - version >= 1.1.0... no *** Could not run CLN test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding CLN or finding the wrong *** version of CLN. If it is not finding CLN, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location. Also, make sure you have run ldconfig if that *** is required on your system. configure: error: No suitable installed version of CLN could be found. [1] root@inspiron> But I have cln installed: root@inspiron> cln-config --version 1.1.9 Here's the output of emerge info: root@inspiron> emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-nitro2 i686) ================================================================= System uname: 2.6.12-nitro2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=pentium4m -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=i686 -mtune=pentium4m -Os -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.lug.ro/gentoo/ http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aac alsa aotuv auctex avi bash-completion berkdb bzip2 c++ cdparanoia cdr crypt css cups curl dga divx4linux dvd emacs emboss encode fam fbcon ffmpeg flac foomaticdb freetype gdbm gif glibc-omitfp glut gnutls gpgme gpm graphviz gsl gstreamer gtk gtk2 hal iconv imagemagick imap imlib imlib2 ipv6 jack java jpeg jpeg2k junit kde kdeenablefinal libg++ libwww live lzo mad mikmod mmx mmxext mng motif mozsvg mp3 mpeg ncurses nls nntp nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pcre pdf pdflib pic png pnp qt quicktime readline real rtc ruby samba sdl slang smtp speex spell sse sse2 ssl subversion svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode userlocales uudeview visualization vorbis win32codecs wmf xine xinetd xml2 xosd xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS Regards, Tassilo
Created attachment 64593 [details] The config.log of the emerge
same error here... Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Sempron(tm) 2600+ Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.unina.it/pub/linux/distributions/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" LC_ALL="it_IT.UTF-8" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/gentoo-de" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apm avi bitmap-fonts browserplugin cdr crypt cups divx4linux dvd dvdr emboss encode fam flac foomaticdb gif gpm gtk gtk2 jpeg libg++ libwww minimal mmx mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl png ppds quicktime readline scanner spell sse ssl svga tiff truetype truetype-fonts type1-fonts unicode usb vorbis xvid linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS
Created attachment 65025 [details] A modified ebuild file that acts as a work-around for the bug. Had the same problem. I edited the file /usr/portage/sci-libs/libqalculate/libqalculate-0.8.0.ebuild to configure with the option '--disable-clntest' (my modified ebuild is attached). Ran 'ebuild libqalculate-0.8.0.ebuild digest' from the libqalculate directory, then emerge'd it. Qalculate compiled and appears to run fine.
Thomas: Works for me as well. Thanks.
I can't reproduce the problem. Just emerged latest cln and libqalculate without any problem. I guess it was broken dependencies for libcln in some way - please try to re-emerge cln and check if you still have this problem.
Yes, it detects cln now. But, the ebuild file now doesn't include the dependency on cln like it should. DEPEND="sci-libs/libqalculate x11-libs/qt kde-base/kdelibs" You win some, you lose some I suppose. :)
Disregard that, depends on libqalculate, which depends on cln (doh!). My bad.
So I'd say: let's close this as invalid.