Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.