in reply to Re: CPAN - error with installation
in thread CPAN - error with installation

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.

Replies are listed 'Best First'.
Re^3: CPAN - error with installation
by marto (Cardinal) on May 17, 2012 at 17:52 UTC

    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.

        Again, this is using the system perl. Not a good idea, messing with the system perl and the modules shipped by the vendor can result in an unstable (or broken) system. Super Search will find examples of this.

        Update: For quick reference it's easy to install your own version of perl elsewhere either manually or using perlbrew.