Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: CPAN - error with installation

by Jeri (Scribe)
on May 17, 2012 at 17:46 UTC ( [id://971134]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://971134]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 22:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found