Can't emerge dev-db/mysql-5.0.70-r1: Configure: error: Could not find system readline or libedit libraries sys-libs/readline-5.2_p12-r1 already installed, I've tried to re-emerge, but that didn't help Reproducible: Always Steps to Reproduce: 1. emerge dev-db/mysql Actual Results: checking for strcasecmp... yes checking for strerror... yes checking for strsignal... yes checking for strnlen... yes checking for strpbrk... yes checking for strstr... yes checking for strtol... yes checking for strtoll... yes checking for strtoul... yes checking for strtoull... yes checking for tell... no checking for tempnam... yes checking for thr_setconcurrency... no checking for vidattr... no checking for clock_gettime... no checking for isinf in <math.h>... yes checking whether isinf() can be used in C++ code... no checking for fseeko... yes checking style of gethost* routines... checking whether madvise is declared... no other 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 seeking support: !!! /var/tmp/portage/dev-db/mysql-5.0.70-r1/work/mysql/config.log * * ERROR: dev-db/mysql-5.0.70-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3580: Called mysql_src_compile * environment, line 3182: 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' '--with-client-ldflags=-lstdc++' '--enable-thread-safe-client' '--with-comment=Gentoo Linux mysql-5.0.70-r1' '--without-docs' '--without-big-tables' '--enable-local-infile' '--with-extra-charsets=all' '--with-mysqld-user=mysql' '--with-server' '--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--without-libwrap' '--enable-shared' '--enable-static' '--without-debug' '--with-charset=utf8' '--with-collation=utf8_general_ci' '--without-embedded-privilege-control' '--without-embedded-server' '--with-bench' '--enable-assembler' '--with-extra-tools' '--with-innodb' '--without-readline' '--with-openssl' '--without-berkeley-db' '--with-geometry' '--without-ndbcluster' ferrari ~ # emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.0 Timestamp of tree: Wed, 14 Jan 2009 11:05:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="{-O2 -march=athlon64 -pipe}" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirror.ovh.net/gentoo-distfiles/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog ldap mailwrapper midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl ssl sysfs tcpd truetype unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-db/mysql-5.0.70-r1/work/mysql/config.log
Created attachment 178500 [details] /var/tmp/portage/dev-db/mysql-5.0.70-r1/work/mysql/config.log config.log
Please attach your /etc/make.conf file.
Created attachment 178503 [details] /etc/make.conf
(In reply to comment #4) > Created an attachment (id=178503) [edit] > /etc/make.conf CXXFLAGS="{$CFLAGS}" ^^ Fix that and you should be fine.
Oh, thanks, sorry for my inattention! :)
Oh, sorry for my inattention! :) Thanks!
I missed, CXXFLAGS="{$CFLAGS}" is already in my /etc/make.conf, I've changed my string with your, double checked everything and started emerging - same problem, I think the summary must be like: "dev-db/mysql-5.0.70-r1: Configure: error: Could not find system readline or libedit libraries" g++ exists in my system and works fine.
And just what do you mean by 'I've changed my string with your', cause if something other than 'I've changed it to CXXFLAGS="${CFLAGS}"', then it was wrong.
My fault, sorry. Thx!