LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-18-2011, 09:51 AM   #1
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Rep: Reputation: 15
Question Need php-devel for php-5.1.6-23.2 on RHEL Workstation


Hi All,

I am trying to install Horde on RHEL Workstation.
Horde requires some php modules compiled using pecl.
pecl is in php-devel and php-devel does not come
with RHEL WS (which is completely inexplicable).

I can only find php-devel-5.1.6-27.el5.i386.rpm
But the php that comes with RHEL WS is at 5.1.6-23.2.
So when I try to install php-devel, I get:
Code:
php = 5.1.6-27.el5 is needed by package php-devel-5.1.6-27.el5.i386
I could upgrade php directly from a package, but I thought it would
be cleaner to simply install the correct version of php-devel. So I
would like to find php-devel-5.1.6-23*.el5.i386.rpm.

I checked RedHat and CentOS and alot of Google with no luck.
Does anyone have this package? Or know where I could get it?

Cheers,
Geoff
 
Old 02-18-2011, 09:56 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Here is a link to the src rpm..

http://rpm.pbone.net/index.php3/stat...23.el5.src.rpm
 
Old 02-18-2011, 10:05 AM   #3
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi szboardstretcher,

Thanks for (quick!) response.
I just found a binary:
http://www.soft30.com/rpm-download/p...86-rpm/details
(for those who encounter similar problems).

But I still get errors from yum:

Code:
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
  --> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
I don't understand this at all. Can anyone explain why it still doesn't work? Is it the missing
".i386" in the name for php??

Cheers,
Geoff
 
Old 02-18-2011, 01:10 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,695

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by glt View Post
Hi szboardstretcher,

Thanks for (quick!) response.
I just found a binary:
http://www.soft30.com/rpm-download/p...86-rpm/details
(for those who encounter similar problems).

But I still get errors from yum:

Code:
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
  --> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
I don't understand this at all. Can anyone explain why it still doesn't work? Is it the missing
".i386" in the name for php??

Cheers,
Geoff
No, you've got packages missing. Install them, with the "yum install" command. But if you're not paying for RHEL support, you won't be able to get the missing packages.
 
Old 02-18-2011, 01:13 PM   #5
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi TB0ne,

We do have RedHat support.

If its not php at the indicated version that's missing,
what is missing? How can I find out?

Cheers,
Geoff
 
Old 02-18-2011, 01:37 PM   #6
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Sorry TB0ne

I should clarify that a little. php is installed:

Code:
# yum list installed php
Loaded plugins: rhnplugin, security
Installed Packages
php.i386                       5.1.6-23.2.el5_3                        installed
So then I do
Code:
# yum install /home/user/php-devel-5.1.6-23.el5.i386.rpm

Loaded plugins: rhnplugin, security
Setting up Install Process
Examining /home/user/php-devel-5.1.6-23.el5.i386.rpm: php-devel-5.1.6-23.el5.i386
Marking /home/user/php-devel-5.1.6-23.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package php-devel.i386 0:5.1.6-23.el5 set to be updated
--> Processing Dependency: php = 5.1.6-23.el5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
  --> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
The error doesn't make sense to me because php = 5.1.6-23.el5 is installed.... Isn't it?

Cheers,
Geoff
 
Old 02-18-2011, 03:31 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,695

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by glt View Post
Sorry TB0ne
I should clarify that a little. php is installed:

Code:
# yum list installed php
Loaded plugins: rhnplugin, security
Installed Packages
php.i386                       5.1.6-23.2.el5_3                        installed
So then I do
Code:
# yum install /home/user/php-devel-5.1.6-23.el5.i386.rpm

Loaded plugins: rhnplugin, security
Setting up Install Process
Examining /home/user/php-devel-5.1.6-23.el5.i386.rpm: php-devel-5.1.6-23.el5.i386
Marking /home/user/php-devel-5.1.6-23.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package php-devel.i386 0:5.1.6-23.el5 set to be updated
--> Processing Dependency: php = 5.1.6-23.el5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-23.el5.i386 from /php-devel-5.1.6-23.el5.i386 has depsolving problems
  --> Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
Error: Missing Dependency: php = 5.1.6-23.el5 is needed by package php-devel-5.1.6-23.el5.i386 (/php-devel-5.1.6-23.el5.i386)
The error doesn't make sense to me because php = 5.1.6-23.el5 is installed.... Isn't it?
It would seem to be, yes. You can try to install the package with "--nodeps", and it should go right in. But the best solution would be to call RedHat support. You downloaded a package from a different source, when you could download it right from RedHat, which could be the reason for a dependency problem.
 
Old 02-18-2011, 03:41 PM   #8
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi again,

php-devel is not available from RedHat for RHEL workstation. Otherwise I would
not have gone elsewhere:

Code:
# yum list php-devel
Loaded plugins: rhnplugin, security
Error: No matching Packages to list
I'll try the --nodeps. Fingers crossed.

Cheers,
Geoff
 
Old 02-18-2011, 03:54 PM   #9
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi

# yum --nodeps install /home/user/php-devel-5.1.6-23.el5.i386.rpm

gives:

Command line error: no such option: --nodeps

Cheers,
Geoff
 
Old 02-18-2011, 04:37 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,695

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by glt View Post
Hi
# yum --nodeps install /home/user/php-devel-5.1.6-23.el5.i386.rpm

gives:
Command line error: no such option: --nodeps
Sorry, the --nodeps options is for use with the "rpm -i --nodeps <rpm file name here>" command.

And I'm not sure why you can't get it from the RHN...I was able to install it from there under RHEL WS....
 
1 members found this post helpful.
Old 02-22-2011, 10:23 AM   #11
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi TB0ne,

I tried using rpm. It appeared to work: there were no errors reported. But then there was no
output at all indicating anything changed. The meta-data were there when I did yum list installed php-devel.
But there was no sign that the package really did install. I couldn't locate any pecl or pear files
using find at all. So "removed" it again afterwards.

I've opened a ticket with RedHat asking them why I can't get php-devel from RHN.

Thanks for the suggestions.

Cheers,
Geoff
 
Old 02-24-2011, 09:47 AM   #12
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi TB0ne,

RedHat informed me that php-devel is in a "sub-channel" of the RHEL workstation subscription.
After subscribing to the sub-channel, #yum install php-devel worked.

Thanks for the help!

Cheers,
Geoff
 
  


Reply

Tags
horde, php



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
Help about PHP-DEVEL installation mfalomir Linux - Newbie 2 09-15-2008 12:35 PM
php devel package shoaibahmedkhan Red Hat 1 09-03-2008 01:24 AM
php-devel kocba Red Hat 1 12-04-2007 05:00 AM
Installing php-devel from sources guarriman Fedora 1 07-05-2006 03:46 AM
php-devel & PHP extensions EHCanadian Mandriva 0 06-23-2005 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:38 PM.

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