Re: [CentOS] CPAN not working, or is it?

2019-03-12 Thread Bruce Ferrell
On 3/11/19 9:25 PM, Warren Young wrote: On Mar 11, 2019, at 6:16 PM, Bruce Ferrell wrote: What I've learned to do when I have this sort of issue is to pop out of CPAN and into ~/.cpan/build. If you mean that you do that manually, you don’t have to. The “look” command in the cpan shell or

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Warren Young
On Mar 11, 2019, at 6:16 PM, Bruce Ferrell wrote: > > What I've learned to do when I have this sort of issue is to pop out of CPAN > and into ~/.cpan/build. If you mean that you do that manually, you don’t have to. The “look” command in the cpan shell or the --look option to cpanm does that

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Warren Young
On Mar 11, 2019, at 5:24 PM, Pete Biggs wrote: > I use both RPM and CPAN and install into system locations. That’s the advice I’m responding to: you don’t need to install CPAN modules only to system locations to make Perl-based programs work. CPAN’s defaults on CentOS 7 are perfectly usable

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Bruce Ferrell
On 3/11/19 9:53 AM, Gary Stainburn wrote: On Monday 11 March 2019 16:42:21 Pete Biggs wrote: I'm afraid I'm not expert on these things - I tend to do the naughty thing of using CPAN to install in system locations! Hi Peter, Do you have any instructiions on how to do this? I realise it's far

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Pete Biggs
> > I started off as always by using RPM's for everything I possibly can. > > I try to do that, too. The claim in another reply that RPM CPAN > modules and cpan- or cpanm-installed modules cannot work together is > incorrect. Since I'm the only other person to reply, I presume you mean

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Alice Wonder
On 3/11/19 1:57 PM, Warren Young wrote: *snip* What is correct is that the CentOS-provided RPMs are often sufficiently outdated that they no longer work with the latest releases that cpanm wants to download by default. Often I end up downloading a src.rpm from Fedora for perl modules and

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Warren Young
On Mar 11, 2019, at 8:01 AM, Gary Stainburn wrote: > > Anyone got any ideas what I need to do? First, use cpanm instead of the old cpan shell: $ sudo yum install perl-App-cpanminus It has a number of advantages: 1. It’s much smarter about chasing dependencies, which is your core

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Pete Biggs
> > Do you have any instructiions on how to do this? I realise it's far from > ideal, but I need to get this system working, and can do it on a stand alone > server. It's a long time since I've done it, but I think CPAN puts some variables in your .bashrc to configure the process. First you

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Gary Stainburn
On Monday 11 March 2019 16:42:21 Pete Biggs wrote: > I'm afraid I'm not expert on these things - I tend to do the naughty > thing of using CPAN to install in system locations! Hi Peter, Do you have any instructiions on how to do this? I realise it's far from ideal, but I need to get this system

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Pete Biggs
On Mon, 2019-03-11 at 15:48 +, Gary Stainburn wrote: > On Monday 11 March 2019 14:28:38 Pete Biggs wrote: > > > However, as I went for bigger modules, anything that had dependences > > > were then failing as the dependencie were installed OK but then did not > > > appear to be available. > >

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Gary Stainburn
On Monday 11 March 2019 14:28:38 Pete Biggs wrote: > > However, as I went for bigger modules, anything that had dependences > > were then failing as the dependencie were installed OK but then did not > > appear to be available. > A number of things you can do. The sort of recommended way is to >

Re: [CentOS] CPAN not working, or is it?

2019-03-11 Thread Pete Biggs
> However, as I went for bigger modules, anything that had dependences were > then failing as the dependencie were installed OK but then did not appear to > be available. CPAN on CentOS 7 doesn't install things in the system locations by default (and by design). This is to stop CPAN from

[CentOS] CPAN not working, or is it?

2019-03-11 Thread Gary Stainburn
(I've just tried this on a second C7 box, literally clean install, only did it on Friday, with the same results) I'm replacing a dead F19 box with a new C7 one and I'm trying to get my Perl install completed. Ultimately, I need to get Selenium::Remote::Driver working, but I'm struggling