LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2005, 01:54 PM   #1
paleogryph
Member
 
Registered: Mar 2003
Location: SLC, UT, US
Distribution: Fedora 12
Posts: 34

Rep: Reputation: 15
Php-gd won't install


CentOS 4.1

Up2Date works fine, Yum won't work at all because of header errors...
But thats another story.

Trying to get php-gd-4.2.3-10.i386.rpm to install, but get:

error: Failed dependencies:
php-common = 4.2.3 is needed by php-gd-4.2.3-10.i386
gd(gif) is needed by php-gd-4.2.3-10.i386

Here's the weird part. I know those two packages are installed:

[root@home]# rpm -qi php-common
Name : php-common Relocations: (not relocatable)
Version : 4.2.3 Vendor: PLD
Release : 8 Build Date: Tue 29 Oct 2002 02:45:58 PM MST
Install Date: Thu 25 Aug 2005 03:40:08 PM MDT Build Host: ep09.kernel.pl
Group : Libraries Source RPM: php-4.2.3-8.src.rpm
Size : 935684 License: PHP
Signature : DSA/SHA1, Tue 15 Jul 2003 07:54:01 PM MDT, Key ID 9c9d6c13e01260f1
Packager : PLD bug tracking system ( http://bugs.pld.org.pl/ )
URL : http://www.php.net/
Summary : Common files nneded by both apache module and CGI
Description :
Common files needed by both apache module and CGI.

[root@home]# rpm -qi gd
Name : gd Relocations: (not relocatable)
Version : 2.0.28 Vendor: CentOS
Release : 4 Build Date: Mon 21 Feb 2005 04:48:18 PM MST
Install Date: Wed 24 Aug 2005 09:14:10 AM MDT Build Host: bhrama.build.karan.org
Group : System Environment/Libraries Source RPM: gd-2.0.28-4.src.rpm
Size : 458757 License: BSD-style
Signature : DSA/SHA1, Sat 26 Feb 2005 01:40:11 PM MST, Key ID a53d0bab443e1821
Packager : Karanbir Singh <kbsingh@centos.org>
URL : http://www.boutell.com/gd/
Summary : A graphics library for quick creation of PNG or JPEG images.
Description :
The gd graphics library allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and to write out the result as a PNG or
JPEG file. This is particularly useful in Web applications, where PNG
and JPEG are two of the formats accepted for inline images by most
browsers. Note that gd is not a paint program.


Any ideas on why php-gd won't install via rpm?
 
Old 08-30-2005, 07:34 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Geez, what kind of a system have you got there? One package from PLD distro, another from CentOS...

Stick with packages built for your distribution. Otherwise you'll break much more than just php-gd.
 
  


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
What to type in apt-get install to install mysql PHP libraries sarajevo Debian 1 09-29-2005 05:40 AM
Need guidance on php install westone Linux - Networking 3 07-07-2004 10:07 AM
php install ps_tks Linux - Software 1 08-26-2003 07:20 AM
How to install php ! fat_anis Linux - Software 2 08-19-2003 05:31 AM
Can't install PHP gt3740 Linux - General 3 06-05-2002 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration