Hi, I'm using CentOS 4.3 on all my PC's, and I'm very happy with it. Everything *just* works. I want to give DVD::RIP 0.97.10 a try. I enabled rpmforge and kbs repos, but there's only 0.52.2 available, which has an annoying bug in it. So I installed the main dependency, transcode, via yum. Then I downloaded the (PERL) sources of DVD::RIP 0.97.10, ran configure (e. g. perl Makefile.PL), and it complains about the following missing PERL modules: AnyEvent 1.02 Event::ExecFlow 0.61 Event::RPC 0.89 Gtk2 1.081 Gtk2::Ex::FormFactory 0.62 Locale::TextDomain 0 [sic!] Next step was to hunt these down with yum. Alas, yum install perl- AnyEvent return a missing dependency error (Coro::Signals) and says it won't be installed. Each of these modules has quite an impressive list of dependencies in return. Now I already performed a manual install of these on Slackware, and it ran fine. So I gave it a try here. Following a suggestion on IRC, I used cpan2rpm for this. But I couldn't get past the second module. The first two dependencies are ExtUtils::Depends and ExtUtils::PkgConfig. Now I can install *one* of these fine with cpan2rpm, but when I get to the second module, I can't rpm -ivh it, because RPM complains about a clash with the other module. Which leaves me clueless. Any suggestions? Niki Kovacs
Hi Niki, Niki Kovacs wrote:>Next step was to hunt these down with yum. Alas, yum install perl- >AnyEvent return a missing dependency error (Coro::Signals) and says it >won't be installed. > >Each of these modules has quite an impressive list of dependencies in >return. Now I already performed a manual install of these on Slackware, >and it ran fine. So I gave it a try here. Following a suggestion on IRC, >I used cpan2rpm for this. But I couldn't get past the second module. > >The first two dependencies are ExtUtils::Depends and >ExtUtils::PkgConfig. Now I can install *one* of these fine with >cpan2rpm, but when I get to the second module, I can't rpm -ivh it, >because RPM complains about a clash with the other module. > >Which leaves me clueless. Any suggestions? > >It seems you want to stick with rpm, but it you are willing to try perl's own "package installer" -- CPAN -- , you should be able to do this with no problems after some initial config. To run CPAN, $ perl -MCPAN -e shell It'll ask you a bunch of config questions to set up for your environment. You can typically accept the default. Say you want to be asked before installing dependies. Choose a mirror or 2 or 3 near you when that choice comes up. Then, when that is done... cpan> install DVD::RIP It'll find all the cascading dependencies and install them for you after asking. You might get some install errors due to compile problems or test errors. Watch for them and, if they happen, try to install that package alone and fix the errors. I've been using this for years and been very happy with it. I understand there are other, newer installers for perl as well. Take care, Kurt Hansen
Jim Perrin wrote:> > In fact, the quality of the perl-related rpms from Red Hat is > > the main reason I'm not using RHEL and using CentOS > > Your logic is confusing to me. It does not resemble what I would > consider to be rational thought.I think I understand what he was trying to say. When I built my last system, I decided to go with rpms for everything. It worked great until I got to the Perl modules and then it fell apart. Every time I have tried to install Perl modules from rpms, it quickly evolves into a massive game of "find the missing dependency". Either the module I want can't be found anywhere, or when I do find it, it depends on a module that can't be found. I finally gave up and decided to use CPAN for Perl modules. It is simple, and work amazingly well. It does cause some annoyance when you get other rpms that have dependencies on Perl modules, but that is a problem that I have only seen once or twice. There is a program that will create rpms from CPAN. I considered it and then rejected it as being WAY too much trouble for the number of modules that I typically deal with. -- Bowie
Hi Niki, On Thu, 2006-06-01 at 17:22 +0200, Niki Kovacs wrote:> I want to give DVD::RIP 0.97.10 a try. I enabled rpmforge and kbs repos, > but there's only 0.52.2 available, which has an annoying bug in it.Let me give this a completely different shot: does fixing the bug take substantial changes, or is it fairly simple to fix? If so, I guess it is best to rebuild 0.52.2 with the source RPM, adding the patch. This will avoid all the Perl module upgrade havoc. As for upgrading/installing via CPAN: I wouldn't do it. I have seen it break things earlier, and it makes system/package administration a lot more difficult. -- Daniel
Karanbir Singh wrote:> Bowie Bailey wrote: > > > > I think I understand what he was trying to say. When I built my > > last system, I decided to go with rpms for everything. It worked > > great until I got to the Perl modules and then it fell apart. > > details please :)This was a couple of months ago, so I don't remember the details. I think the main problem was SpamAssassin and all of its related modules. I may give it another attempt on my next build. I know the repos are constantly getting better and more complete. -- Bowie