Andrew McNaughton wrote:
On Fri, 22 Aug 2003, Michael Lake wrote:
This is a perl question. I have installed CPAN.pm which will pull down
and install packages via a shell like interface - its very similat to
[...]
Scanning cache yes/build for sizes
gzip: yes/sources/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz: No such file or
directory
I'd say the CPAN config process asced you for a path where you wanted to
store files while building stuff, and you answered 'yes'. That's not a
path it can find, so everything screws up from there.
Two things there:
1. yes there is a place where it stores the files and I did find it
strange that it created a directory called ~/yes/sources/authors rather
than one under ~/.cpan
Therefore i suspect that you are right and I answered a question with
'yes' and thats why its placed these author lists under that directory.
2.
locate CPAN/Config.pm
That file contains the preferences you set up.
Yes I had looked at that and it says
'keep_source_where' = q[/home/mikel/yes/sources blah blah]
so it looks like the Config.pm file is looking in the directory that
somehow was setup during initial configuration but that directory is
wrong; it should not be ~/yes/sources/ but ~/.cpan/sources/
could just back it up somewhere and delete it, in which case
`perl -MCPAN -e shell` should ask you to provide the configuration details
yeah on Friday arvo I did run it all over again when it wasnt at first
working and just as suggested by Angus ie
.. or type o conf init at the CPAN prompt.
and I again selected manual configuration and it again put ~/yes as the
top level directoty. I will try again monday with close attention to the
questions. I think somehow there is a question I am getting wrong.
Note I have just set it up using my Debian/GNU Alpha box using auto
configuration and the sources dir was placed under ~/.cpan/sources.
It works fine, working out dependencies and getting them for me.
The one that didnt work is on my Debian/GNU box an powerpc
PS: How do ppl setup their system so that it can install the modules.
If one uses sudo what does one enter for the sudoers line as its a make
install that would normally run. But entering that would allow possible
security breaches.
ie something like
mikel martel=NOPASSWD: /use/bin/make
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug