On Wed, 5 Oct 2016 19:07:49 -0700, in message [email protected], Galen Seitz wrote:
> Hi, > > I'm encountering dependency problems while trying to install an rpm > package that I built. The program is rsnapshot, which is a perl > program similar to dirvish. > > I've got it working under CentOS 6 and Ubuntu 16.04 (using alien), but > I'm having problems with CentOS 5 due to missing dependencies. The > rpm I built under CentOS 5 has the following problematic > dependencies. As far as I know, these dependencies are not readily > available under CentOS 5. I could build them if that's really > necessary, but I have my doubts as to whether they are legit. > > perl(DBI) > perl(Data::Dumper) > perl(XML::Simple) > perl(XML::Validator::Schema) > > I've searched the rsnapshot code looking for something that mentions > DBI or XML, but they don't appear in the code. They do not appear in > the spec file either. Also, the rsnapshot README says "It is written > entirely in perl with no module dependencies". I'm not sure whether > to believe that or not. > > Does anyone have an idea about what might be causing these > dependencies to be listed in the package? Hi Galen, I would guess that if the problematic modules aren't available from the Centos repositories, then you'll have to get them from the CPAN repository. Again, this is a guess, since I don't run Centos. You may have to grep through the configure script to find the references to the missing modules. Remember that rpmbuild actually runs configure when it builds a binary program. I checked the FAQ on the rsnapshot web site, and they did say that the Lchown module might be needed from CPAN (though not one that you mentioned). That was to clear up warnings like "could not lchown() simlinks". Hope this helps. --Dale -- A child of five could understand this! Fetch me a child of five! _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
