[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm doesn't recognize that apache installed



> I tried doing a rpm install of apache and there were some errors:
> error: failed dependencies:
>         /usr/bin/getgid   is needed by apache-2.0.39-0.2
>         /bin/id   is needed by apache-2.0.39-0.2
>         rc-scripts   is needed by apache-2.0.39-0.2
>         apr   is needed by apache-2.0.39-0.2
>         db4   is needed by apache-2.0.39-0.2
>         libapr.so.0   is needed by apache-2.0.39-0.2
>         libcrypto.so.0.9.6.1   is needed by apache-2.0.39-0.2
>         libdb-4.0.so   is needed by apache-2.0.39-0.2
>         libssl.so.0.9.6.1   is needed by apache-2.0.39-0.2

At first glance it looks like you're installing apache2 from another 
distribution than redhat.  It looks like PLD to me.

In general you should try to only install rpm's from the same dist, and 
even better, the same version as the one you're on.

Failing that (if there isn't one around for redhat, and you don't want to 
write your own spec file or convert another dist's spec file to something 
more redhat-ish), you will have to hunt down the other dependencies which 
will probably be available in packages of that other dist as well.

rpmfind.net is your friend; you can type in most dependencies there and 
find a package that provides them.  Don't start installing packages from a 
whole range of vendors however; in general, stick to redhat packages, as a 
second choice freshrpms, and as third choices PLD and sourceforge stuff.

As an alternative in your situation, you could always write a spec file 
that doesn't actually contains files, but has
Provides: apache
in it.

You probably need to make it provide other stuff, like webserver, as well, 
under Red Hat.

This way you as the user tell the rpm database that apache exists on your 
system.  As an administrator you will have to remember that this is a 
DUMMY package and doesn't actually contain anything, but is just there to 
satisfy the dependencies.

The BEST way to fix this is to just get a REAL Red Hat package of apache 
2, and I'm sure someone out there will at least have made some.

Thomas

-- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
You know well
Just never tell
If someone's got a secret hell
<-*- thomas@apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []