The PHP5 installation in Gentoo doesn't include the header files for the PHP extension gd in the folder /usr/include/php/ext/. It does include headers for other extensions, so I am requesting that this extension be added to the list. This will allow people to install programs from PEAR/PECL that need the GD header files. The workaround is to download the PHP5 source and put the needed header files in /usr/include/php/ext/gd/ The gd extension for PHP5 can be found in the PHP5 source code. I found this when trying to install pdflib for PHP5 with: `pear install pdflib` Here is my `emerge info`: Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 Intel(R) XEON(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jun 30 2004, 08:05:47)] ccache version 2.3 [enabled] dev-lang/python: 2.3.3-r1 sys-devel/autoconf: 2.59-r4 sys-devel/automake: 1.8.3 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.4.3-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 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.gentoo.org/gentoo-portage" USE="x86 apache2 apm arts avi bitmap-fonts calendar cpdflib crypt curl dba emboss encode f77 font-server foomaticdb fortran gd gdbm gif gpm gtk2 imap imlib innodb ipv6 jpeg libg++ libwww mad mikmod mime motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl simplexml slang soap spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce:
same problem here.
Can you retest, and confirm that this remains a problem in php-5.0.4? Thanks, Stu
It looks like the dir /usr/include/php/ext/* is owned by the dev-php/php ebuild. It doesn't look like there is a php-5.0.4 ebuild though.. http://packages.gentoo.org/packages/?category=dev-php;name=php Is that ebuild somewhere other than the main portage tree?
I just had a chance to run a clean install and test this bug. It looks good! Thanks! However, theres a new bug, but its in PEAR (phpize is no longer included, but PEAR-PEAR doesn't depend on phpconfig).
User no longer experiences the issue, closing.