~amd64, default/linux/amd64/10.0/no-multilib Tried to update world. # equery d qt-sql * These packages depend on qt-sql: app-text/poppler-0.14.0-r1 (qt4 ? x11-libs/qt-core:4) (qt4 ? x11-libs/qt-gui:4) dev-java/gnu-classpath-0.98-r3 (qt4 ? x11-libs/qt-gui:4) dev-util/cmake-2.8.1-r2 (qt4 ? x11-libs/qt-gui:4) dev-vcs/subversion-1.6.12 (kde ? x11-libs/qt-core) (kde ? x11-libs/qt-dbus) (kde ? x11-libs/qt-gui) games-puzzle/colorcode-0.6.1 (x11-libs/qt-gui:4) net-dns/avahi-0.6.25-r1 (qt4 ? x11-libs/qt-core:4) net-wireless/wpa_supplicant-0.7.2-r2 (qt4 ? x11-libs/qt-gui:4) (qt4 ? x11-libs/qt-svg:4) Reproducible: Always Steps to Reproduce: emerge =x11-libs/qt-sql-4.6.3-r2 Actual Results: [ebuild U ] x11-libs/qt-sql-4.6.3-r2 [4.6.3-r1] USE="exceptions iconv mysql odbc postgres qt3support sqlite (-aqua) -debug (-firebird) -freetds -pch" 0 kB ... DB2 auto-detection... () x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o db2.o db2.cpp db2.cpp:42:20: error: sqlcli.h: no such file or directory db2.cpp:43:21: error: sqlcli1.h: no such file or directory gmake: *** [db2.o] Error 1 DB2 disabled. MySQL (thread-safe) auto-detection... () x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o mysql.o ../mysql/mysql.cpp x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,-rpath,/usr/lib64/qt4 -o mysql_r mysql.o -L/usr/lib64/mysql -L/usr//lib -lz -lpthread -lcrypt -lnsl -lm -L/usr/lib/ -lssl -lcrypto -L/usr/lib64 -lmysqlclient_r MySQL (thread-safe) enabled. OCI auto-detection... () x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o oci.o oci.cpp oci.cpp:42:17: error: oci.h: no such file or directory gmake: *** [oci.o] Error 1 OCI disabled. ODBC auto-detection... () x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o odbc.o odbc.cpp x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,-rpath,/usr/lib64/qt4 -o odbc odbc.o -L/usr/lib64 -L/usr/lib64/mysql -lodbc ODBC enabled. PostgreSQL auto-detection... () x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -I../../../mkspecs/linux-g++ -I. -IUse -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/freetype2 -o psql.o psql.cpp psql.cpp:42:22: error: libpq-fe.h: no such file or directory psql.cpp: In function ‘int main(int, char**)’: psql.cpp:46: σφάλμα: ‘PQescapeBytea’ was not declared in this scope psql.cpp:47: σφάλμα: ‘PQunescapeBytea’ was not declared in this scope gmake: *** [psql.o] Error 1 PostgreSQL disabled. PostgreSQL support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. * ERROR: x11-libs/qt-sql-4.6.3-r2 failed: * ./configure failed emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 08 Jul 2010 09:00:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -mno-tls-direct-seg-refs" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" 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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -mno-tls-direct-seg-refs" DISTDIR="/mnt/RAID0/usr-distfiles" FEATURES="assume-digests buildpkg distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://phenom/ ftp://dwarfy/ ftp://ftp:moz-bookmarks-sync-merge@laptop/ http://gentoo.supp.name/ http://gentoo.mneisen.org/ http://gentoo.virginmedia.com/ http://mirrors.evolva.ro/gentoo/ ftp://ftp.udc.es/gentoo/ ftp://ftp.romnet.org/gentoo/ http://ftp.udc.es/gentoo/ http://mirrors.ludost.net/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en el" MAKEOPTS="-j8 -l12" PKGDIR="/mnt/RAID0/usr-packages" PORTAGE_CONFIGROOT="/" 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="/dev/shm" PORTDIR="/mnt/RAID0/usr-portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/Spring" SYNC="rsync://dwarfy/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avahi bash-completion branding bzip2 cairo cdparanoia cdr clamav cli cracklib crypt cscope cups curl curlwrappers cxx dbus dga djvu dri dv dvd dvdr eds encode esd evo exif expat fam fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm gif gmp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml hal iconv icu idn imagemagick imlib innodb ipv6 java javascript joystick jpeg jpeg2k lcms libgda libnotify lm_sensors mad mbox mikmod mime mmx mng modules mono motif mozilla mp3 mpeg msn mudflap mule musepack musicbrainz mysql mysqli ncurses networkmanager nls nptl nptlonly nsplugin nvidia odbc ogg openal opengl openmp oracle oss pam pcre pdf perl php pic png policykit posix postgres ppds pppd prelude python quicktime rdesktop readline reflection samba sasl scanner sdl session sharedext slp sndfile snmp sockets sox spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora threads tiff truetype unicode usb v4l2 vcd vim-syntax vnc vorbis wavpack wifi wmf wxwindows x264 xine xinerama xinetd xml xorg xosd xpm xsl xulrunner xv xvid yahoo 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 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" LINGUAS="en el" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Check whether that header exists (it belongs to postgresql-base) and 'eselect postgresql'.
(In reply to comment #1) > Check whether that header exists (it belongs to postgresql-base) > and 'eselect postgresql'. > That did it. eselect postgresql set 9.0 Thanks ;-)