LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2010, 08:28 PM   #1
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Rep: Reputation: 16
Trying to install http://pecl.php.net/package/uploadprogress on debian lenny


Hello,

My first linux task of 2010 and failing miserably!

I want to install this package http://pecl.php.net/package/uploadprogress

So I found this tutorial http://www.mosquitonetsleepers.com/node/45

So far so good:

Apt-get install php-pear tells me i need to install php5-cli

then trying apt-get install php5-cli tells me :

php5-cli:
Depends: php5-common (=5.2.6.dfsg.1-1+lenny4) but 5.2.9-0.dotdeb.1 is to be installed

I already have php5-common installed!

Any idea what I should do, before I break yet another linux distro :-) ?
 
Old 01-04-2010, 08:34 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Comment out the dotdeb repo in your sources.list then try try install the needed packages.

You are better off trying to us packages from lenny or backports.org before using packages from dotdeb.
 
Old 01-04-2010, 11:41 PM   #3
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Hi

Thanks for the info:

looked at synaptic package manager software sources

dotdeb is unchecked !!

What gives?
 
Old 01-05-2010, 12:03 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
php5-cli wants exacltly the 5.2.6.dfsg.1-1+lenny4 version of php5-common. Since the dotdeb php5-common you have installed has a higher version number apt craps out. You need to explicitly install the normal, 5.2.6.dfsg.1-1+lenny4 php5-common that it depends on.

Try:
Code:
aptitude install php5-cli php5-common=5.2.6.dfsg.1-1+lenny4
That *should* uninstall the dotdep php5-common package replacing it with the proper Debian package, and also install php5-cli.

Cheers,

Evo2.

Last edited by evo2; 01-05-2010 at 12:04 AM. Reason: typo
 
Old 01-05-2010, 12:18 AM   #5
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Ok

Many thanks for your help, I don't know what I would do without the help of the good folks here.

Now I have pear installed, searched synaptic for pecl uploadprogress without luck!

Not wanting to break my system, what's next ?
 
Old 01-05-2010, 05:49 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Quote:
Originally Posted by ludo33 View Post
Many thanks for your help, I don't know what I would do without the help of the good folks here.

Now I have pear installed, searched synaptic for pecl uploadprogress without luck!

Not wanting to break my system, what's next ?
Now you can follow the tutorial from your original post to install it.
 
Old 01-05-2010, 08:15 AM   #7
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Yahooo!!!!

Upload progress now installed!!! Thanks a bunch guys!

However, a small spanner in the works:

Drupal tells me:

GD Image Filtering Low Quality / Poor Performance
The installed version of PHP GD does not support image filtering(desaturate, blur, negate, etc). It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See http://www.php.net/manual/en/image.setup.php. An implementation of imagefilter in PHP will be used in the interim.

PHPinfo says:

GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

Is this bcos I downgraded php5-common ? Anyway to retrieve the situation?
 
Old 01-05-2010, 10:01 AM   #8
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Is this...

..the last piece of the jigsaw ?

http://blog.pirsig.net/apiBlog/entry/compile_php5_gd

Or will I break yet another server :-)
 
Old 04-14-2010, 01:49 PM   #9
KostaRika
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Hi!
You said that you found some tutorials. I can advice you to look information here: php form tutorial.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install PHP 5.3.0/Lighttpd On Debian (Lenny) With Imap, MySQL, Sqlite3 And Imag LXer Syndicated Linux News 0 07-24-2009 12:00 PM
LXer: Howto: build and install the intl PECL extension for PHP5 in Debian LXer Syndicated Linux News 0 07-25-2008 06:30 AM
Where can I download a debian Lenny minimal net install? sureshot324 Debian 4 09-27-2007 02:00 PM
Weird net behaviour with Debian Lenny analian Linux - Networking 7 06-08-2007 06:28 PM
How to use http://snapshot.debian.net/ PhantmShado Debian 1 02-20-2006 11:58 PM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration