Summary: | dev-lang/php-5.3.8 dev-db/postgresql-9.0 - configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | progserega <progserega> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | bug |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Created attachment 290393 [details]
build.log
emerge --info Portage 2.1.10.11 (default/linux/amd64/10.0/server, gcc-4.4.5, glibc-2.12.2-r0, 2.6.36-sata-64_32 x86_64) ================================================================= System uname: Linux-2.6.36-sata-64_32-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.0.3 Timestamp of tree: Thu, 20 Oct 2011 03:00:01 +0000 distcc[4353] (dcc_trace_version) distcc 3.1 x86_64-pc-linux-gnu; built Dec 24 2010 23:36:59 [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.1-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo jmbsvicetto rion zugaina x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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" CXXFLAGS="-O2 -march=nocona -pipe -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distcc distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors/terra-byte.com/pub/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j17" PKGDIR="/usr/portage/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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/jmbsvicetto /var/lib/layman/rion /var/lib/layman/zugaina /usr/local/portage" SYNC="rsync://172.21.250.34/gentoo-portage" USE="7zip aac acpi admin ads agent amd64 apache2 bash-completion bcmath berkdb bzip2 cgi clamdtop cli cpudetection cracklib crypt ctype curl cxx dedicated djvu dri enca encode exif expat ffmpeg flac fontconfig fortran fpx frontend gd gif gnutls gpm graphviz heartbeat iconv imagemagick imap ithreads jabber jpeg jpeg2k json kerberos ldap libvirtd logrotate lvm matroska mbox milter mmx mod_admin_extra mod_irc mod_muc mod_pubsub mod_register_web mod_statsdx modules mp3 mudflap multilib musepack mysql ncurses nfs nls nptl nptlonly ntpl ntplonly odbc ogg openal openipmi openmp pam passwordsave pcre plugins png pop3d postgres pppd proxy qemu qemu-ifup ratio readline rrdcgi rtc sasl sdl search-screen server session sidebar smux snmp sockets speex srt sse sse2 ssh ssl svg svnserve swat sysfs syslog tcpd theora threads tiff tools tordns truetype udev unicode utf8 vhosts vorbis web webinterface winbind x264 xml xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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, PORTAGE_RSYNC_EXTRA_OPTS gpw bin # slocate libpq-fe.h /usr/include/postgresql-9.0/libpq-fe.h gpw bin # equery b /usr/include/postgresql-9.0/libpq-fe.h * Searching for /usr/include/postgresql-9.0/libpq-fe.h ... dev-db/postgresql-base-9.0.4-r3 (/usr/include/postgresql-9.0/libpq-fe.h) if I link: cd /usr/include ln -s postgresql-9.0 postgresql then configure failed on "Cannot find libpq.so": checking for pg_config... not found configure: error: Cannot find libpq.so. Please specify correct PostgreSQL installation path Could you please do: - ls -lah /usr/bin/pg_config - eselect postgresql list and paste output? Next please do: - eselect postgresql update and please give feedback if php compiles. (In reply to comment #0) > !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/dev-lang/php-5.3.8/work/sapis-build/cli/config.log Well? Thank you very much! eselect postgres set 9.0 resolv this problem. Thank you very much again! May be need add text about eselect postgres to postgres ebuild, which will showed in end of merging of postgres? |
checking for PostgreSQL support... yes checking for pg_config... not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/php-5.3.8/work/sapis-build/cli/config.log * ERROR: dev-lang/php-5.3.8 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 4515: Called eblit-run 'src_configure' 'v2' * environment, line 1708: Called eblit-php-src_configure * src_configure-v2.eblit, line 274: Called econf '--prefix=/usr/lib64/php5.3' '--mandir=/usr/lib64/php5.3/man' '--infodir=/usr/lib64/php5.3/info' '--libdir=/usr/lib64/php5.3/lib' '--with-libdir=lib64' '--without-pear' '--enable-maintainer-zts' '--enable-bcmath' '--with-bz2' '--disable-calendar' '--with-curl' '--without-curlwrappers' '--without-enchant' '--enable-exif' '--disable-ftp' '--with-gettext' '--without-gmp' '--without-mhash' '--disable-intl' '--disable-ipv6' '--with-kerberos=/usr' '--enable-mbstring' '--with-mcrypt' '--without-mssql' '--with-onig=/usr' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--with-pgsql' '--without-pspell' '--without-recode' '--disable-shmop' '--with-snmp' '--disable-soap' '--enable-sockets' '--without-sqlite3' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--enable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--disable-flatfile' '--without-gdbm' '--disable-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--with-imap' '--with-imap-ssl' '--with-ldap' '--without-ldap-sasl' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mysqli' '--with-unixODBC=/usr' '--without-adabas' '--without-birdstep' '--without-dbmaker' '--without-empress' '--without-esoob' '--without-ibm-db2' '--without-sapdb' '--without-solid' '--without-oci8' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite' '--with-pcre-regex=/usr' '--with-pcre-dir=/usr' '--with-config-file-path=/etc/php/cli-php5.3' '--with-config-file-scan-dir=/etc/php/cli-php5.3/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2' * ebuild.sh, line 561: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-lang/php-5.3.8', * the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.8'. * The complete build log is located at '/var/tmp/portage/dev-lang/php-5.3.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.8/temp/environment'. * S: '/var/tmp/portage/dev-lang/php-5.3.8/work/php-5.3.8' >>> Failed to emerge dev-lang/php-5.3.8, Log file: Reproducible: Always