Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83122 - PHP5 ebuild/eclass doesn't include /usr/include/php/ext/gd needed for building (at least) PDFlib with PEAR
Summary: PHP5 ebuild/eclass doesn't include /usr/include/php/ext/gd needed for buildin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60438
  Show dependency tree
 
Reported: 2005-02-23 17:19 UTC by Ian Neubert
Modified: 2005-07-17 02:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Neubert 2005-02-23 17:19:30 UTC
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:
Comment 1 Mike Valstar 2005-03-09 10:01:34 UTC
same problem here.
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2005-05-31 15:10:29 UTC
Can you retest, and confirm that this remains a problem in php-5.0.4?

Thanks,
Stu
Comment 3 Ian Neubert 2005-06-02 10:20:21 UTC
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?
Comment 4 Ian Neubert 2005-06-27 18:12:59 UTC
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).
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-17 02:38:21 UTC
User no longer experiences the issue, closing.