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

Re: cpan module in Jessie



Le 07/07/2015 21:27, Joel Roth a écrit :
> On Tue, Jul 07, 2015 at 10:05:38AM +0200, Erwan David wrote:
>> On Tue, Jul 07, 2015 at 08:44:41AM CEST, Erwan David <erwan@rail.eu.org> said:
>>> 	Hi,
>>>
>>> I need to install the perl module Net::SSH::Expect on a jessie.  Since
>>> it is notpackaged, I tried cpan Net::SSH::Expect It needs the IO::Pty
>>> module, so I installed the libio-pty-perl package.  However the cpan
>>> version of Net:SSH:Expect wants at least IO::Pty 1.11 and the packaged
>>> one is 1.08. So I tried to install it through cpan. It then tells me
>>> it does not find cc (which is /usr/bin/cc).
>>>
>>> What am I doing wrong ?
>>>
>> Sorry for the trouble : I just lacked libc6-dev package. All is working now.
> FWIW, using perlbrew it's relatively easy to have multiple
> perl versions, and switch between them so that you don't end
> up borking the system perl by installing various modules.
> Root privileges are not required. 
>
>

I do not use perl that much. I just had to use a script I was given.
And it was not a problem of perlversion but of some lib version.

However thanks for the tip


Reply to: