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

Bug 21440

Summary: PEAR install missing from php-4.3.1-r2 and mod_php-4.3.1-r3
Product: Gentoo Linux Reporter: Matthew Walker <utoxin>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My mod_php ebuild
My php ebuild

Description Matthew Walker 2003-05-21 15:16:18 UTC
I will be attaching my php and mod_php ebuilds that show the problem.

*  dev-php/mod_php
      Latest version available: 4.3.1-r3
      Latest version installed: 4.3.1-r3
      Size of downloaded files: 3,596 kB
      Homepage:    http://www.php.net/
      Description: Apache module for PHP
 
*  dev-php/php
      Latest version available: 4.3.1-r2
      Latest version installed: 4.3.1-r2
      Size of downloaded files: 3,596 kB
      Homepage:    http://www.php.net/
      Description: PHP Shell Interpreter


arsenic bayesspam # emerge info
Portage 2.0.48 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow crypt gif imlib jpeg libg++ mmx mpeg ncurses pdflib spell
truetype xml2 berkdb gdbm libwww mysql nls pam perl python readline slang ssl
tcpd apache2 imap innodb zlib -oss -apm -arts
-avi -cups -encode -gtk -java -kde -mikmod -motif -oggvorbis -opengl -qt
-quicktime -sdl -svga -X -xmms -xv -gpm -png"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Matthew Walker 2003-05-21 15:18:02 UTC
Created attachment 12266 [details]
My mod_php ebuild
Comment 2 Matthew Walker 2003-05-21 15:18:31 UTC
Created attachment 12267 [details]
My php ebuild
Comment 3 Matthew Walker 2003-05-21 15:19:35 UTC
Symptoms:

I updated mod_php and php on one of my servers, and it uninstalled PEAR, and did not install a fresh copy. As far as I can tell from the ebuilds, it doesn't even configure PEAR as part of the install.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-21 15:48:15 UTC
You need to add 'xml' to your USE flags.
PEAR requires on having BOTH xml and xml2 support in PHP.
I'll add a note to that effect.
Comment 5 Matthew Walker 2003-05-21 16:12:11 UTC
Yep, that fixed it. Thanks!