Forum Moderators: phranque

Message Too Old, No Replies

httpd-devel rpm package install in order to get apxs

does the vendor portion of an rpm package matter?

         

rsgalloway

8:20 pm on Oct 2, 2008 (gmt 0)

10+ Year Member




I've currently got apache 2.2 running on a centos box, installed by the service provider from the package:

httpd-2.2.3-11.el5.centos

I need to recompile mod_python so I can use Python 2.5. In order to do that, I need to get apxs installed. To get that, I need the development package of apache, http-devel.

I can't find the exact corresponding package anywhere:

httpd-devel-2.2.3-11.el5.centos.i386.rpm

(I get an error with the _x64 version) but I can find this one:

httpd-devel-2.2.3-11.el5.i386.rpm

Of course, when I try to install it I get a dependency error because the package is not exactly the same.. or is it?

My question is, can I safely ignore the dependency in this case? Or can anyone point me to the right rpm?

Receptional Andy

8:30 pm on Oct 2, 2008 (gmt 0)



Just in case you hadn't looked, there are quite a few Google hits for the package name, including a (Plesk) page with a link to an RPM with the same filename:

[google.com...]

rsgalloway

8:40 pm on Oct 2, 2008 (gmt 0)

10+ Year Member



Hi Andy,

Oh, I absolutely utilized Google before coming here. That particular search only yields 3 results. The first one doesn't have a link, the second one has links to the http-2.2.3 package (not httpd-devel), and the third one has no links to rpms.

There are lots of hits for http-devel-2.2.3-11 but not the _exact_ match of

httpd-devel-2.2.3-11.el5.centos.i386.rpm

Which is why I asked if I can safely ignore the dependencies and use this rpm instead:

httpd-devel-2.2.3-11.el5.i386.rpm

rsgalloway

9:29 pm on Oct 2, 2008 (gmt 0)

10+ Year Member



Ok, thanks Andy. I was able to install httpd-devel no problem. I've also downloaded and configured mod_python 3.3.1 to use python 2.5 (the old mod_python is using 2.4)

Before I 'make install' it, is there anything I should be concerned about? I don't have a dev server for testing. I haven't got any SetHandler mod_python lines in my apache config, but I do have lots of python cgi scripts, ex: http://example.com/blah.py?foo=bar

Does apache use mod_python to execute these python cgi scripts? Or does it use the /usr/bin/python interpreter?

[edited by: jdMorgan at 10:33 pm (utc) on Oct. 2, 2008]
[edit reason] example.com [/edit]