php-pear should depend on php5-dev

Bug #634359 reported by Behnam Esfahbod "ZWNJ"
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Debian)
Fix Released
Unknown
php5 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: php5

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.

The worst issue is that /usr/bin/pecl (or "/usr/bin/pear install pecl/...") doesn't give user any clue on how to resolve the problem.

A simple solution is to add php5-dev to php-pear's dependencies. Another one is to introduce another package, php-pecl, that contains /usr/bin/pecl and set php5-dev as a dep of php-pecl.

Related branches

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Behnam, thanks for taking the time to file this bug report and help make Ubuntu better!

I concur that the pecl binary included makes assumptions about what is available on the system, and one of those assumptions is phpize.

Marking as Triaged, I believe we can and should make this change, and that it should be forwarded to Debian as well.

Setting Importance to Medium. Anybody installing pecl modules will be affected by this.

Changed in php5 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php5 - 5.3.5-1ubuntu4

---------------
php5 (5.3.5-1ubuntu4) natty; urgency=low

  * debian/control: Recommend php5-dev for php-pear. (LP: #634359)
  * debian/rules: --enable-pcntl for cgi as well. (LP: #658346)
 -- Chuck Short <email address hidden> Mon, 14 Mar 2011 10:34:00 -0400

Changed in php5 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

I added the forwarded bug to Debian. It was resolved in a different way in Debian, so I think we'll drop the dependency on php5-dev from php-pear once we merge again, since the new solution will still address the problem (phpize missing) and allow php-pear to be installed without php5-dev.

Changed in php5 (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.