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

Re: Please help ! rpm doesn't recognize that apache installed



Hi everyone

My last email didn't include all the error messages, so i'll elaborate a littel more here


Once you have installed the source rpm, you can cd to /usr/src/redhat/SPECS
and execute rpm -ba apache.spec, and it should build. The binary RPM's will
be found in /usr/src/redhat/RPMS/i386 (if i386 is your arch). This is the
same as building apache from source, but you end up with rpm's to install and
take care of dependencies for you.

When i do 'rpm -ba apache.spec' i get:


error: Unable to open /usr/lib/rpm/macros.perl: No such file or directory
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

THus, i'm pretty much stumped here. Isn't there any way that i can get rpm to regocnize that apache is installed without having to reinstall apache via the rpm's?


My motives are really just to install some modules (ie apacheconf, mod_per, etc) but they all complain that apache or a webserver is not installe (but it really is, rpm just doesn't know abou it). I don't wanna install the modules w/o the no deps becasue things might not work latter.



>From the dependency failures above it sounds like you got a RawHide or other
contributed RPM that wasn't built on the same distribution as you box.


I retried it again and made sure this time they were meant for redhat 7.3. Still no luck.

thanks guys

Desmond

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com





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