emerge --info ---------------------------------------------------- Gentoo Base System version 1.6.14 Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) Processor app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=i686 -pipe -march=athlon -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="#{CFLAGS}" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.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://rsync.europe.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm arts avi bcmath berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri dvd eds emboss encode esd exif foomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib innodb ipv6 isdnlog jpeg kde libg++ libwww mad memlimit mhash mikmod mime ming mmx motif mp3 mpeg mysql mysqli ncurses nls nptl ogg opengl oss pam pcre pdf pdflib perl php png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml sockets spell spl sqlite ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ---------------------------------------------------- error message ---------------------------------------------------- checking style of gethostname_r routines... other checking 3 argument to gethostname_r routines... char checking "args to pthread_getspecific"... POSIX checking "args to pthread_mutex_init"... POSIX checking "args to readdir_r"... POSIX checking "style of sigwait"... POSIX checking "for pthread_attr_setscope"... yes checking "can netinet files be included"... "yes" checking for OpenSSL... yes checking for yaSSL... no checking libedit variant of rl_completion_entry_function... no checking defined rl_compentry_func_t and rl_completion_func_t... no checking HIST_ENTRY is declared in readline/readline.h... configure: error: Could not find system readline or libedit libraries Use --with-readline or --with-libedit to use the bundled versions of libedit or readline !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/mysql-5.0.24/work/mysql/config.log !!! ERROR: dev-db/mysql-5.0.24 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called mysql_src_compile mysql.eclass, line 419: Called econf '--libexecdir=/usr/sbin' '--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql' '--sharedstatedir=/usr/share/mysql' '--libdir=/usr/lib/mysql' '--includedir=/usr/include/mysql' '--with-low-memory' '--enable-local-infile' '--with-mysqld-user=mysql' '--with-client-ldflags=-lstdc++' '--enable-thread-safe-client' '--with-comment=Gentoo Linux mysql-5.0.24' '--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--without-readline' '--without-docs' '--enable-shared' '--enable-static' '--without-libwrap' '--with-openssl' '--without-debug' '--with-server' '--with-extra-tools' '--with-charset=utf8' '--with-collation=utf8_general_ci' '--with-extra-charsets=all' '--with-berkeley-db=./bdb' '--with-geometry' '--without-ndbcluster' '--without-big-tables' '--without-embedded-privilege-control' '--without-embedded-server' '--with-bench' '--enable-assembler' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. ---------------------------------------------------- config.log ---------------------------------------------------- http://loci.urban-breed.de/public/config.log ---------------------------------------------------- info ---------------------------------------------------- readline 5.1 p4 installed libedit 20050118 installed compiling mysql 5.0.22 ended with the same bug ----------------------------------------------------
i686-pc-linux-gnu-g++: #{CFLAGS}: No such file or directory EH? It's ${CFLAGS}, we're talking about BASh vars for Portage. :) Best regards, CHTEKK.
To fix basically open /etc/make.conf and change: CXXFLAGS="#{CFLAGS}" with: CXXFLAGS="${CFLAGS}" That should do it. ;) Best regards, CHTEKK.
shame on me ;) thanks