AWallBuilder has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

So I'm having problems installing perl modules. Specifically DBD::SQLite.

When using CPAN, I got the following error.

cpan[1]> install Data::Dumper + CPAN::SQLite not installed, trying to work without Malformed urllist; ignoring. Configuration file corrupt? Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz Catching error: "Can't write to '/home/waller/.cpan/sources/authors/01 +mailrc.txt.gz.tmp62575-62575': Input/output error at /g/bork3/x86_64/ +lib/perl5/site_perl/5.16.0/LWP/Protocol.pm line 115.\cJ" at /g/bork3/ +x86_64/lib/perl5/5.16.0/CPAN.pm line 392. CPAN::shell() called at -e line 1 Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz Lockfile removed. Can't write to '/home/waller/.cpan/sources/authors/01mailrc.txt.gz.tmp +62575-62575': Input/output error at /g/bork3/x86_64/lib/perl5/site_pe +rl/5.16.0/LWP/Protocol.pm line 115.

When trying manually I got the following error.

perl -MDBI::DBD::SQLite -e 1 Can't locate DBI/DBD/SQLite.pm in @INC (@INC contains: /g/bork2/smash/ +smash1.6/lib /g/bork2/smash/smash3 /g/bork2/smash/smash3/lib /g/bork6 +/mende/local/perl /g/bork2/smash/smash1.6/lib /g/bork2/smash/smash3 / +g/bork2/smash/smash3/lib /g/bork6/mende/local/perl /g/bork2/smash/sma +sh1.6/lib /g/bork2/smash/smash3 /g/bork2/smash/smash3/lib /g/bork6/me +nde/local/perl /g/bork2/smash/smash1.6/lib /g/bork2/smash/smash3 /g/b +ork2/smash/smash3/lib /g/bork6/mende/local/perl /g/bork2/smash/smash1 +.6/lib /g/bork2/smash/smash3 /g/bork2/smash/smash3/lib /g/bork6/mende +/local/perl /g/software/bin/perl-5/lib /g/typas/Alison/bin/myperl/lib +/x86_64-linux-thread-multi /g/typas/Alison/bin/myperl/lib /g/software +/bin/perl-5/lib /g/typas/Alison/bin/myperl/lib/x86_64-linux-thread-mu +lti /g/typas/Alison/bin/myperl/lib /home/waller/myperl/lib /g/softwar +e/bin/perl-5/lib /g/typas/Alison/bin/myperl/lib/x86_64-linux-thread-m +ulti /g/typas/Alison/bin/myperl/lib /home/waller/myperl/lib /g/softwa +re/bin/perl-5/lib /g/typas/Alison/bin/myperl/lib/x86_64-linux-thread- +multi /g/typas/Alison/bin/myperl/lib

the directory where my DBD-SQLite-1.40 directory is located is in the @INC list.

any help appreciated thanks Any help appreciated.

Replies are listed 'Best First'.
Re: problems installing modules
by marto (Cardinal) on Dec 04, 2013 at 11:34 UTC
    perl -MDBI::DBD::SQLite -e 1 Can't locate DBI/DBD/SQLite.pm in

    DBI::DBD::SQLite does not exist, I think you mean DBD::SQLite. If you're looking to instll CPAN::SQLite it will install DBD::SQLite as a dependency, when you have a working cpan...

    Data::Dumper is a core module, which version of Perl are you using?

    D:\>corelist Data::Dumper Data::Dumper was first released with perl 5.005

    Check the permissions within /home/waller/.cpan/, do you have enough disk space free or other disk related issues? Consider refreshing your cpan configuration:

    cpan> o conf init

    Also, please use code tags when posting code and data: <code>your code/data here</code>.

      Yes, i think you were right on both accounts. Thanks for spotting the DBI::DBD::SQLite mistake. the other error was related to free disk space