Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17095 - PHP Ebuilds do not install build information for PHP extensions
Summary: PHP Ebuilds do not install build information for PHP extensions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-08 12:00 UTC by Bjorn
Modified: 2003-04-24 13:11 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 Bjorn 2003-03-08 12:00:13 UTC
when trying to add an extension that is not in PHP you will need to run phpize 
in the source directory of the new extension. However, because the PHP ebuilds 
do not perform the install-build step of the PHP Makefile, phpize will fail.


Reproducible: Always
Steps to Reproduce:
1. unpack the a php tarball (does not matter what version)
2. cd into ext/gd (as an example)
3. run phpize

Actual Results:  
korn gd # phpize
/usr/bin/phpize: line 18: cd: /usr/lib/php/build: No such file or directory
/usr/bin/phpize: line 19: cd: /usr/lib/php/build: No such file or directory
/usr/bin/phpize: line 22: /usr/lib/php/build/pear.m4: No such file or 

Expected Results:  
root@soulfly gd # phpize
You should update your `aclocal.m4' by running aclocal.


Notice no errors about missing directories or files.

all that needs to be done is in the src_install() section of the php ebuilds, 
modify the line to add the Makefile option, install-build

make INSTALL_ROOT=${D} install-cli install-pear install-headers install-
programs install-modules install-build || die
Comment 1 Alessandro Pisani 2003-03-11 09:15:14 UTC
this is an already fixed bug and a dup.
see i.e. #13525, #15772 etc..

solved in php-4.3.1-r1 and later
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-24 13:11:49 UTC
confirmed, closed.