LinuxQuestions.org
Visit Jeremy's Blog.
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-17-2011, 01:15 PM   #1
scabbage
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Rep: Reputation: 0
Unhappy Problem installing httpd-devel on RHEL5 using yum


Machine:

Code:
RHEL5 2.6.18-194.el5 x86_64
I need to compile something, which requires httpd-devel. Yum indicates that httpd is installed:

Code:
# yum list installed | grep httpd
This system is not registered with RHN.
RHN support will be disabled.
httpd.x86_64                              2.2.3-43.el5                 installed
httpd-manual.x86_64                       2.2.3-43.el5                 installed
system-config-httpd.noarch                5:1.3.3.3-1.el5              installed
So I tried:

Code:
# yum install httpd-devel
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package httpd-devel available.
Nothing to do
And also

Code:
yum install httpd-devel.x86_64
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package httpd-devel.x86_64 available.
Nothing to do
My /etc/yum.conf is as default:


Code:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

And I have the following in my /etc/yum.repos.d/:

Code:
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
rhel-debuginfo.repo
rpmforge.repo

Not sure why yum cannot find httpd-devel
 
Old 02-17-2011, 01:42 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
If you don't have a license then you should install CentOS.

This package may work though:

http://centos.mirrors.tds.net/pub/li...tos.x86_64.rpm
 
Old 02-17-2011, 01:52 PM   #3
scabbage
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by andrewthomas View Post
If you don't have a license then you should install CentOS.

This package may work though:

http://centos.mirrors.tds.net/pub/li...tos.x86_64.rpm
Is there a reason why yum cannot find this package? Does it have anything to do with that my RHEL is unregistered?

I tried the following:

Code:
# rpm -i httpd-devel-2.2.3-43.el5.centos.x86_64.rpm 
warning: httpd-devel-2.2.3-43.el5.centos.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
        apr-devel is needed by httpd-devel-2.2.3-43.el5.centos.x86_64
        apr-util-devel is needed by httpd-devel-2.2.3-43.el5.centos.x86_64
        httpd = 2.2.3-43.el5.centos is needed by httpd-devel-2.2.3-43.el5.centos.x86_64
But I have the correct version of httpd installed. Not sure why it is complaining.

And also

Code:
# yum search apr-devel
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Warning: No matches found for: apr-devel
No Matches found
Still stuck

Last edited by scabbage; 02-17-2011 at 01:54 PM.
 
Old 02-17-2011, 02:13 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by scabbage View Post
Does it have anything to do with that my RHEL is unregistered?
Yes, that is why I said to just install CentOS

But, if you must. You could just build the packages from source yourself.

http://centos.mirrors.tds.net/pub/li...centos.src.rpm
http://centos.mirrors.tds.net/pub/li...l5_3.1.src.rpm
http://centos.mirrors.tds.net/pub/li...11.el5.src.rpm
 
Old 02-17-2011, 03:12 PM   #5
scabbage
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by andrewthomas View Post
Yes, that is why I said to just install CentOS

But, if you must. You could just build the packages from source yourself.

http://centos.mirrors.tds.net/pub/li...centos.src.rpm
http://centos.mirrors.tds.net/pub/li...l5_3.1.src.rpm
http://centos.mirrors.tds.net/pub/li...11.el5.src.rpm
Using the CentOS is a good suggestion. In the meantime, I'm requesting a CenOS box from our IT.

That said, it seems that even the RHN does not maintain a 64bit version of the httpd-devel. Someone suggested me replacing the 64bit httpd with a 32bit one, so that I can install the regular httpd-devel.

Also, for the src RPMs you gave me, I'm not quite sure how I should use them. I have only compiled something from a tar.gz file, but not from an .rpm file. How can I compile from an .rpm file then?

Thanks.
 
Old 02-17-2011, 04:20 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by scabbage View Post
Using the CentOS is a good suggestion. In the meantime, I'm requesting a CenOS box from our IT. That said, it seems that even the RHN does not maintain a 64bit version of the httpd-devel. Someone suggested me replacing the 64bit httpd with a 32bit one, so that I can install the regular httpd-devel.
The EPEL repo for Centos 6 may have what you need.


Quote:
Originally Posted by scabbage View Post
Also, for the src RPMs you gave me, I'm not quite sure how I should use them.
'man rpmbuild' (as in learn where to find nfo): 'rpmbuild --rebuild /path/to/package.src.rpm' and run this from an unprivileged user account.
 
Old 02-17-2011, 05:21 PM   #7
scabbage
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
The EPEL repo for Centos 6 may have what you need.



'man rpmbuild' (as in learn where to find nfo): 'rpmbuild --rebuild /path/to/package.src.rpm' and run this from an unprivileged user account.

EPEL does not have the version of httpd-devel I need.
 
  


Reply



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
x264-devel and lame-devel cannot be installed by yum yzhang738@hotmail.com Linux - Software 3 12-09-2010 07:19 PM
problem installing packages with yum through httpd for local resopisory eboy98 Linux - Server 1 05-01-2010 05:22 PM
Problems installing mozilla-devel, strange yum dependency error Fegenbush Linux - Software 1 02-01-2007 12:38 PM
httpd-devel rhuser Linux - Software 1 02-03-2003 12:26 AM
i try to rpm httpd-devel-2.0.40-11 rhuser Linux - Software 1 01-21-2003 10:36 AM

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

All times are GMT -5. The time now is 08:18 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