/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO autoconf: Undefined macros: ***BUG in Autoconf--please report*** AC_DEFINE configure.in:20: AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH) configure.in:63:AC_PROG_LIBTOOL creating cache ./config.cache ./configure: line 528: PHP_INIT_BUILD_SYSTEM: command not found ./configure: line 534: syntax error near unexpected token `config.nice' ./configure: line 534: `PHP_CONFIG_NICE(config.nice)' !!! ERROR: dev-php4/pecl-sqlite-1.0.3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called php-ext-pecl-r1_src_compile php-ext-pecl-r1.eclass, line 40: Called php-ext-source-r1_src_compile php-ext-source-r1.eclass, line 56: Called die ----- erbelix ~ # emerge --info Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) MP 2600+ Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-mp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-mp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en cz" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dlloader dri eds emacs emboss encode esd foomaticdb fortran gdbm gif gimpprint gpm gstreamer ieee1394 imagemagic imlib isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf pdflib perl pic png ppds pppd python qt3 qt4 quicktime readline reflection ruby sdl session spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_cz userland_GNU video_cards_nv video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ----- # less /etc/portage/package.use sys-libs/glibc userlocales dev-php/mod_php imap -mssql dev-lang/ruby doc =dev-lang/php-4.3.11-r5 cli cgi apache2 ctype expat fastbuild force-cgi-redirect ftp gd iconv memlimit mysql nls pcre pic posix session socket ssl tokenizer tru etype xml xsl zlib pear dba imap sqlite -recode -mssql ----- # less /etc/portage/package.mask >=dev-lang/php-4.3.12 >www-apps/horde-3.0.9 >www-apps/horde-imp-4.0.4 >www-apps/horde-turba-2.0.5 ----- # less /etc/portage/package.keywords =www-apps/horde-3.0.9 ~x86 =www-apps/horde-imp-4.0.4 ~x86 =www-apps/horde-turba-2.0.5 ~x86
I have encountered the same problem. I am using dev-lang/php-4.3.11-r5 as well.
This affects all dev-php4/pecl-* packages.
All, I was having the same problems with dev-php4/eaccelerator-9.5_rc1 WANT_AUTOMAKE=1.5 solved this problem, maybe it works for the packages below as well ? The php-ext-source-r1.eclass sets WANT_AUTOMAKE=1.9 Ramon
Very short update: The pecl-eclasses call the ext-source-r1 eclass as well, so it seems likely that this is the cause.
# Mask PHP 4.3/5.0 series: old, unmaintained, unsupported, # various security bugs, please upgrade to 4.4/5.1/5.2 series. =dev-lang/php-4.3* =dev-lang/php-5.0* WONTFIX; feel free to reopen if you can reproduce w/ supported versions.