CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced: Re: [rpaskudniak] cpan Couldn't create directory /.cpan: Edit Log

Veteran / Moderator

Aug 31, 2015, 8:26 AM

Views: 14876
Re: [rpaskudniak] cpan Couldn't create directory /.cpan

Note the error message in red:

The items in red are not errors. The first one is simply an info message. The second one is a warning, not an error.

I'm not sure what you were expecting make Log::Log4perl to do. That's not how to install a module or how make is used.

The permission warning is not referring to creating the .cpan directory under your home directory; it's referring to the / directory and at this point I'm not sure if you were running the command with sudo rights or not.

What System (OS) are you working on? You can get a fairly good idea if the latest cpan will work on your system from here: You can also look at older releases to see which one has the best chances of working on older perl's.

Since you're wanting to install this for the system perl, then start by doing what I first suggested, which was to sudo bash first, then do the install. This resolves the possible problem of forgetting to run one or more of the commands under sudo rights.

(This post was edited by FishMonger on Aug 31, 2015, 8:27 AM)

Edit Log:
Post edited by FishMonger (Veteran) on Aug 31, 2015, 8:27 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives