0

When I run the command pecl install uploadprogress, outputs the following:

downloading uploadprogress-1.0.1.tgz ...
Starting to download uploadprogress-1.0.1.tgz (8,536 bytes)
.....done: 8,536 bytes

Why does it not install pecl or extract it? It seems that I can extract and install it manually, but I'd like to be able to install it using pecl. I'm running Ubuntu 10.04.

Thanks

avaleske
  • 137
  • 1
  • 1
  • 5

1 Answers1

0

On Debian/Ubuntu the tool you should probably be using dh-make-php to build pecl extensions for the packaged version of PHP.

I just built it on a spare system using these commands.

cd /usr/src
pecl download uploadprogress
dh-make-pecl --only 5 uploadprogress-1.0.1.tgz 
cd php-uploadprogress-1.0.1/
dpkg-buildpackage -rfakeroot
cd ..
dpkg -i php5-uploadprogress_1.0.1-1_i386.deb

If you don't already have build-essential, php5-dev, and apache2-prefork-dev installed you will also need to add those packages.

Zoredache
  • 130,897
  • 41
  • 276
  • 420