Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114896

Summary: Cannot install PEAR-PEAR-1.3.6-r1, missing PHP CLI
Product: Gentoo Linux Reporter: Jan Van Uytven <ysgard>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Van Uytven 2005-12-08 10:57:42 UTC
While attempting to install PEAR-PEAR-1.3.6-r1:

frostmourne ~ # emerge -u horde horde-imp horde-sork
Calculating dependencies ...done!
>>> emerge (1 of 36) dev-php/PEAR-PEAR-1.3.6-r1 to /
>>> md5 files   ;-) PEAR-PEAR-1.3.6-r1.ebuild
>>> md5 files   ;-) PEAR-PEAR-1.3.5-r1.ebuild
>>> md5 files   ;-) PEAR-PEAR-1.3.5.ebuild
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.5
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.5-r1
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.6-r1
>>> md5 src_uri ;-) Archive_Tar-1.3.1.tgz
>>> md5 src_uri ;-) Console_Getopt-1.2.tgz
>>> md5 src_uri ;-) XML_RPC-1.4.3.tgz
>>> md5 src_uri ;-) PEAR-1.3.6.tgz

!!! ERROR: dev-php/PEAR-PEAR-1.3.6-r1 failed.
!!! Function require_php_cli, Line 360, Exitcode 0
!!! No PHP CLI installed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge PEAR-PEAR
2.
3.

Actual Results:  
PEAR-PEAR failed to emerge (missing dependency?)

Expected Results:  
emerge PEAR-PEAR

Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 crypt cups curl
dba eds emboss encode expat foomaticdb fortran gd gdbm gif glut gmp gpm
gstreamer gtk gtk2 idn imap imlib ipv6 jpeg ldap libg++ libwww mad maildir mhash
mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib
perl php png python qt quicktime readline sasl sdl spell ssl tcpd truetype
truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 11:05:26 UTC
Unless you are using dev-lang/php, this PEAR-PEAR version won't work for you...
So, are you using dev-php/{mod_}php?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 12:08:07 UTC
If you are using dev-lang/php, then you need to re-emerge it with cli in your
USE flags, that's what the error says. 

However, I need to warn you that horde will miserably fail to emerge later on
because horde.eclass is in no way ready/aware of dev-lang/php and checks for
dev-php/{mod_}php use flags.
Comment 3 Jan Van Uytven 2005-12-09 16:50:20 UTC
Thanks, placing 'cli' in my use flags allowed me to emerge PEAR-PEAR. It's
curious as this is listed as a dependency for horde...