LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to tell rpm of "installed from source" packages (https://www.linuxquestions.org/questions/linux-software-2/how-to-tell-rpm-of-installed-from-source-packages-210099/)

hfreeman 07-27-2004 01:58 AM

How to tell rpm of "installed from source" packages
 
I have successfully installed apache-2.0.48 from source, and it even runs! Thanks to the Apache Group for great stuff.

Now, I want to add mod_perl-2.0.48 to the system as well. I have that as an RPM, but when I try to install it, it reports several failed dependencies against the httpd-2.0.48 libraries, etc.

How do I update RPM to know that the package(s) I install from source are present?

Thanks in advance!
hfreeman

jailbait 07-27-2004 01:19 PM

"How do I update RPM to know that the package(s) I install from source are present? "

I use checkinstall when I install packages from source. checkinstall creates a rpm package which you then install in the normal way. Here is a thread that explains how to use checkinstall.

http://www.linuxquestions.org/questi...hreadid=181146

Another solution is to use the rpm --nodeps option. --nodeps tells rpm to go ahead and install the package anyway even though there are dependencies missing in the rpm data base.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

hfreeman 07-28-2004 01:55 AM

Thanks JailBait! That's a great tool. I'll be sure to use it in the future. I tried it on this apache install though, and it threw an error that is mentioned many times on the mailing list, but I did not find a solution for it there or on usenet, or in general www searches either. Seems the best way around this "fatal error: getUname: too many uid's" is to upgrade RPM and hope for the best. I tried that but the dependency maze was just too much for me tonight. It would be nice to find a solution for the issue in checkinstall because that is a sweet tool. thanks anyway.


All times are GMT -5. The time now is 12:07 PM.