Gossamer Forum
Quote Reply
CPAN
I am trying to install a module, but run into an error:

Cannot unzip, no unzip program available

Now, I have "unzip" installed on my machine, but somehow the CPAN module doesn't know where to find it.

Does anyone know where the CPAN module hides its configuration file? I guess I have to edit that file and adjust the path to "unzip"

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] CPAN In reply to
What OS are you using?

I'd install tar although I'm not sure why it isn't already there.

You need to make sure it is in your path and then it should work.

The cpan config should be hidden in /root

Try:

cd /root
ls -alg
Quote Reply
Re: [Paul] CPAN In reply to
I'm on linux, and unzip is in my path.

I managed to do the following:
1) go into CPAN shell
2) type: o conf unzip /usr/bin/unzip
3) install SOAP::Lite

The funny thing is that once I quite the CPAN shell, it forgets about the unzip path. And I didn't find any config file in /root (there is a .cpan directory, but I didn't find anything in there).

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] CPAN In reply to
Sorry I was being dense. Look for CPAN/Config.pm in your perl library tree. eg...

/usr/lib/perl5/5.6.0/CPAN/Config.pm
Quote Reply
Re: [Paul] CPAN In reply to
Found it, thanks Paul.

Ivan
-----
Iyengar Yoga Resources / GT Plugins