Thread

Posted on Tue Mar 22 18:41:01 2005 by nutcake
Could anyone help with installation problem?
Hello I'm trying to install some modules for use by spamassassin and am having problems. The module I'm most interested in is NET::DNS, but I get the same error when trying to install anything. It looks like everything downloads ok, but it then says: 'Cannot gzopen y/sources/authors/id/C/CR/CREIN/Net-DNS-0.48.tar.gz: No such file or directory'. The file does exist in /root/y/sources/authors/id/C/CR/CREIN/ and my system HOME env variable is set to /root. I don't know if this helps, but I've included relevant looking entries from my CPAN configuration settings (displayed after typing 'o conf') build_dir y/build cpan_home y keep_source_where y/sources I have successfully installed a previous version of this module, as well as some others before, and don't think I've changed any CPAN settings. Could anyone tell me what the problem could be? Also, if I would be better off posting this elsewhere, please point me in the right direction. Thanks :)
Direct Responses: 251 | Write a response
Posted on Tue Mar 22 22:38:35 2005 by szabgab in response to 249
Re: Could anyone help with installation problem?

So are you running this as root or as a regular user?

Try to install at least one module manually: download
unzip
perl Makefile.PL
make
make test
make install

Maybe you ran out of disk space ? just to guess something.

Direct Responses: 253 | 790 | Write a response
Posted on Wed Mar 23 17:35:40 2005 by nutcake in response to 251
Re: Could anyone help with installation problem?
Thanks - will try that and get back. I've tried running both as root and a regular user. Looks like disk space is ok.
Write a response
Posted on Tue Jul 26 13:18:23 2005 by davidepstein in response to 251
Re: Could anyone help with installation problem?
That's very helpful advice from an expert, BUT

1. Which directory should one be in for downloading?

2. To which directory should one unzip?

3. There seems to be a mysterious (to me) database somewhere maintained by the cpan command on my computer. If this is correct then the database needs to be synced after manual intervention. How should one do this syncing??

A related question: why do the manual commands (given as root) work (on my system) for szabgab's commands (including sudo ftp for the download), while sudo cpan's invocations of ftp (in many different guises, including wget, etc) all fail?

Thanks

David

Write a response