in reply to CPAN - error with installation

Are you installing this with the Perl that ships with Ubuntu? If so be warned that Ubuntu uses Perl to perform system tasks, this installation is best left to the operating system. I suggest installing a modern version of Perl to another location, this can be done quite easily from source (see the Installation section of the README) or via perlbrew.

If you aren't using the system Perl could you please post more of the installation attempt, we only see the failure, if it's going to be a lot please use readmore tags (<readmore>lots of text</readmore>).

Replies are listed 'Best First'.
Re^2: CPAN - error with installation
by Jeri (Scribe) on May 17, 2012 at 17:46 UTC

    I just re-installed Ubuntu again and did

    sudo perl -MCPAN -e shell
    install Bundle::CPAN

    and it worked! No errors.

    I'm not sure what was going on before, but I really didn't want to re-install Ubuntu. And to answer your question, I was just using the perl that was shipped with Ubuntu. Thanks for responding.

      Well, I'm glad it worked for whatever reason. I do discourage installing modules in the system perl, this could come back to bite you later on.

        Just use apt-get for install binary and not source whit cpan. sudo apt-get install libxml-parser-perl After you can use cpan to install the order module who is dependent of XML::Parser This is how I solved the same problem on my Ubuntu 12.04 LTS x64.