On Wed, Nov 12, 2003 at 02:23:17PM -0600, Raymond Norton wrote:
> I am trying to install rrdtool-1.40-1.src.rpm with  rpmbuild --rebuild
> rrdtool-1.0.40-1.src.rpm. I get the following error when trying to install
> the rpm.
> rpm -i rrd*
> 
> error: Failed dependencies:
> 
> /usr/local/bin/perl is needed by rrdtool-1.0.40-1

This is probably a packaging bug.  Whoever made the rpm had perl in
/usr/local/bin.  

 1. Install the src.rpm, the files will go in /usr/src/redhat (or
    whatever your rpm build root is.)
 2. edit the spec file /usr/src/redhat/SPECS/rrdtool.spec and remove
    /usr/local/bin/perl.  rpmbuild should find this dependency
    automatically.
 3. Build the rpm using rpmbuild -bb rrdtool.spec. If you want a new
    src.rpm at the end of this, use -ba instead.
 4. Congratulate yourself.  You're learning how to make rpms. :)

Nate

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list