LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Need php-devel for php-5.1.6-23.2 on RHEL Workstation (http://www.linuxquestions.org/questions/red-hat-31/need-php-devel-for-php-5-1-6-23-2-on-rhel-workstation-863545/)

glt 02-18-2011 09:51 AM

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

szboardstretcher 02-18-2011 09:56 AM

Here is a link to the src rpm..

http://rpm.pbone.net/index.php3/stat...23.el5.src.rpm

glt 02-18-2011 10:05 AM

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

TB0ne 02-18-2011 01:10 PM

Quote:

Originally Posted by glt (Post 4262811)
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.

glt 02-18-2011 01:13 PM

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

glt 02-18-2011 01:37 PM

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

TB0ne 02-18-2011 03:31 PM

Quote:

Originally Posted by glt (Post 4263056)
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.

glt 02-18-2011 03:41 PM

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

glt 02-18-2011 03:54 PM

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

TB0ne 02-18-2011 04:37 PM

Quote:

Originally Posted by glt (Post 4263200)
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....

glt 02-22-2011 10:23 AM

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

glt 02-24-2011 09:47 AM

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


All times are GMT -5. The time now is 05:42 PM.