On Wed, May 25, 2011 at 19:23, Clint Byrum <cl...@ubuntu.com> wrote: > Package: php5 > Version: 5.3.5-1 > Severity: normal > Tags: patch > User: ubuntu-de...@lists.ubuntu.com > Usertags: origin-ubuntu oneiric ubuntu-patch > > > Forwarded from Ubuntu: > > https://launchpad.net/bugs/634359 > > In Ubuntu, the attached patch was applied to achieve the following: > > Binary package hint: php-pear > > Quoting from the bug report: >> Most of PECL packages require /usr/bin/phpize and some other php5-dev >> files to get installed/compiled (i.e. pecl/fribidi), but php5-dev is >> not always installed.
Are there any PECL packages which don't require php5-dev? The most elegant solution would be to move /usr/bin/pecl to php5-dev and maybe add some note about missing php5-dev when installing PECL package via pear install. Or what about adding those two prints to PEAR/Builder.php: $err = $this->_runCommand($this->config->get('php_prefix') . "phpize" . $this->config->get('php_suffix'), array(&$this, 'phpizeCallback')); if (PEAR::isError($err)) { return $err; } if (!$err) { print "If the command failed with 'phpize: not found' then you need to install php5-dev package"; print "You can do it by running 'apt-get install php5-dev' as a root user"; return $this->raiseError("`phpize' failed"); } This seems less intrusive then installing php5-dev for all php-pear users. What do you think? O. -- Ondřej Surý <ond...@sury.org> http://blog.rfc1925.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org