Econf fails to find readline Reproducible: Always Steps to Reproduce: 1) USE="+readline" emerge php -> Fail 2) USE="-readline" emerge php -> Fail Actual Results: 1) Econf failed: configure: error: readline library not found But readline is installed: [ebuild R ] sys-libs/readline-6.1_p2 2) See build.log [ebuild U ] dev-lang/php-5.3.6 [5.3.5] USE="apache2 bcmath berkdb bzip2 calendar cgi cli crypt ctype curl curlwrappers doc exif fileinfo filter ftp gd gdbm gmp hash iconv ipv6 json kerberos ldap mysql nls phar posix postgres readline session simplexml sockets spell ssl sysvipc threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xpm xsl zlib (-adabas) (-birdstep) -cdb -cjk -db2 (-dbmaker) -debug -embed (-empress) (-empress-bcs) -enchant (-esoob) (-firebird) -flatfile -fpm (-frontbase) -gd-external -imap -inifile -interbase -intl -iodbc -kolab -ldap-sasl -libedit -mhash -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap (-solid) -sqlite -sqlite3 (-sybase-ct) -tidy -wddx -zip (-suhosin%)" Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.37-gentoo-r4-nouveau x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-r4-nouveau-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5250_@_1.50GHz-with-gentoo-2.0.2 Timestamp of tree: Mon, 04 Apr 2011 08:45:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.0 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=core2 -O2 -pipe -mssse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-mtune=core2 -O2 -pipe -mssse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr fr_FR" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/excludes" 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="/usr/gentoo/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/gentoo/overlay/nikai /usr/gentoo/overlay/mozilla /usr/gentoo/overlay/sam /usr/gentoo/overlay/various /usr/gentoo/overlay/desktop-effects /usr/gentoo/overlay/roslin /usr/gentoo/overlay/sunrise" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bidi bzip2 cairo cdr cli cracklib crypt cups curl cxx dbus dri dvd dvdr dvdread encode exif fam fbcon ffmpeg fftw flac fortran fuse gallium gdbm gif gmp gnutls gphoto2 gpm gtk gtk2 hardened iconv id3 id3tag ipv6 jack java joystick jpeg jpeg2k ladspa lcms ldap lzo mad mikmod mmx mng modules mozilla mp3 mudflap multilib ncurses nls nptl nptlonly ogg oggvorbis openal openexr opengl openmp oss pam pcre perl php png pnm pppd python qt3support readline ruby samba sasl sdl session slang smp sockets spell sse sse2 sse3 ssl ssse3 svg sysfs tcl tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vaapi vdpau vim-syntax vorbis x264 xorg xpm xrandr xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia fbdev vesa none v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Created attachment 268735 [details] build.log of case 2 (USE="-readline")
Would you mind doing what does error messages tell you first ? That is using 'eselect postgresql' to set a valid version of it.
Before the post I already took a look at eselect postgresql list. I was thinking everything was allright, but didn't note that the installed version of postgresql wasn't "starred" (selected). I still don't understand why readline is not found by econf
Do you have a build log where you try to build with the readline USE flag?
Sorry for this report, even if I don't understand how the eselect postgresql not set the readline library wasn't found.
*** Bug 362743 has been marked as a duplicate of this bug. ***