duckduckgo / community-platform

DuckDuckGo Community Platform
https://duck.co/
Other
456 stars 128 forks source link

Problem while installing duckpan #52

Closed cosinuz closed 10 years ago

cosinuz commented 10 years ago

Hi folks,

I've been running the command "curl http://duckpan.org/install.pl | perl" and here is the error message I get : "local::lib (or perlbrew) is not active. If you ran this script for the first time, please re-login to your user account or reload your shell configuration and run it again!"

I've then run "cpan App::cpanminus" and "cpan local::lib" as well as "apt-get install perlbrew" and still get this error message. I'm using Ubuntu 13.10 (installed yesterday)

Thank you for the help !

malbin commented 10 years ago

hey @cosinuz I'm not sure about this specific error but did you try re-logging into your shell and then re-running the script? also, there is a pre-built virtual machine available to help you get up and running more quickly if you are still struggling to resolve this issue

djinn commented 10 years ago

When you get local::lib running, it updates the ~/.bashrc with

  # added by duckpan installer
  eval $(perl -I${HOME}/perl5/lib/perl5 -Mlocal::lib)

Check if this line exists in ~/.bashrc. Secondly check if ~/perl5/lib/perl5 directory exists. After that just fire a new session of the terminal or re-login. This is required for new ~/.bashrc to kick in.

cosinuz commented 10 years ago

It seems like it's running all right now ! I simply had to re-log in my shell. Thank you guys !

[Edit] well I should be more concentrated when trying to find things out, the answer was actually definitely in the error message x)