Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349245 - dev-php5/pecl-http-1.6.6 Cannot find php-config
Summary: dev-php5/pecl-http-1.6.6 Cannot find php-config
Status: RESOLVED DUPLICATE of bug 349353
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-21 04:10 UTC by naytro
Modified: 2010-12-24 10:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,12.04 KB, text/plain)
2010-12-21 22:06 UTC, naytro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description naytro 2010-12-21 04:10:44 UTC
configure: error: Cannot find php-config. Please use --with-php-config=PATH

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-php5/pecl-http-1.6.6/work/pecl_http-1.6.6/config.log
 * ERROR: dev-php5/pecl-http-1.6.6 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3981:  Called php-ext-pecl-r1_src_compile
 *   environment, line 3201:  Called php-ext-source-r1_src_compile
 *   environment, line 3237:  Called econf '--prefix=/usr/lib64/php5' '--with-php-config=/usr/lib64/php5/bin/php-config' '--enable-http' '--with-http-curl-requests' '--with-http-zlib-compression' '--with-http-curl-libevent' '--with-http-magic-mime'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-php5/pecl-http-1.6.6',
 * the complete build log and the output of 'emerge -pqv =dev-php5/pecl-http-1.6.6'.
 * The complete build log is located at '/var/tmp/portage/dev-php5/pecl-http-1.6.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php5/pecl-http-1.6.6/temp/environment'.
 * S: '/var/tmp/portage/dev-php5/pecl-http-1.6.6/work/pecl_http-1.6.6'

>>> Failed to emerge dev-php5/pecl-http-1.6.6, Log file:


# eselect php show cli
php5.3
# eselect php show cgi
php5.3

--with-php-config should be /usr/lib64/php5.3/bin/php-config instead of /usr/lib64/php5/bin/php-config

the problem occurs with other pecl-* packages

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-21 16:26:22 UTC
Please paste your `emerge --info' output in a comment, attach the entire build log as a file.

Comment 2 naytro 2010-12-21 22:06:09 UTC
Created attachment 257714 [details]
build.log
Comment 3 naytro 2010-12-21 22:06:49 UTC
Portage 2.1.9.25 (hardened/linux/amd64, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_975_@_3.33GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 21 Dec 2010 03:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
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 "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm hardened iconv justify mmx modules mudflap multilib ncurses nls nptl nptlonly ntpl ntplonly openmp pam pcre perl pic pppd python readline session sse sse2 ssl sysfs tcpd unicode urandom xorg 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" 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="pl" PHP_TARGETS="php5-2" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-23 20:06:08 UTC
Also of interest:
 * QA Notice: econf called in src_compile instead of src_configure
Comment 5 Michal Belica 2010-12-24 00:07:16 UTC
Hi, I also stumbled upon this problem, so I tried upgrading to dev-php5/pecl-http-1.7.0-r1, and that one seems to work fine for me. Although that was on x86 and I had to accept ~x86 keyword and set PHP_TARGETS="php5-3" in make.conf.
Comment 6 naytro 2010-12-24 02:03:56 UTC
dev-php5/pecl-http-1.7.0-r1 working fine
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2010-12-24 10:10:32 UTC
Duplicate of bug 349353. A case of incompatible packages installed concurrently on the same system.

*** This bug has been marked as a duplicate of bug 349353 ***