LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Yum, Apache and mod_dav_svn Install (https://www.linuxquestions.org/questions/linux-server-73/yum-apache-and-mod_dav_svn-install-926019/)

Matt-M 01-27-2012 11:46 AM

Yum, Apache and mod_dav_svn Install
 
OK, having a problem with a cloud-based CentOS 5.5 server.

Everything on it was installed via yum except Apache and PHP. These were built from source because I needed a version newer than yum had, and I needed some specific configure stuff in both.

Now trying to install mod_dav_svn. Have searched extensively and the right version (one that matches the yum-installed version of subversion) seems to only be available via yum or as a downloaded RPM. Problem is, since Apache was built from source, it is not in the RPM database and yum wants to install it again as a dependency of mod_dav_svn.

There does not seem to be any way to override the dependency check, which leaves:

1) Allow yum to install the new copy of httpd. This would not be in the same directory as my current install, so it should not conflict. Then remove it with "yum erase", hopefully leaving mod_dav_svn behind.

2) Somehow add the current httpd install to the RPM database.

3) Something I have not thought of.

Any ideas or opinions? Thanks!

MartinStrec 01-28-2012 10:11 PM

Hi Matt!

When you have your own compilation of apache httpd I recommend you install modules from source instead of yum.
see http://kelmadics.blogspot.com/2011/0...ource-and.html

'yum erase' is not applicable, it removes all that dependants.

Matt-M 01-29-2012 09:03 AM

I ended up installing httpd with yum, then copying the needed modules to my existing apache install, and then doing a yum erase.

Works fine.


All times are GMT -5. The time now is 04:29 AM.