Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot create standalone lib #437

Closed
mstreuhofer opened this issue Jan 7, 2015 · 6 comments
Closed

cannot create standalone lib #437

mstreuhofer opened this issue Jan 7, 2015 · 6 comments

Comments

@mstreuhofer
Copy link
Contributor

perlbrew version 0.71

$ perlbrew lib create test
ERROR: '' is not installed yet, '@test' cannot be created.
@pwr22
Copy link

pwr22 commented Jan 12, 2015

Whats the output of

perlbrew version
perlbrew list

@mstreuhofer
Copy link
Contributor Author

$ perlbrew version
/Users/manito/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.72

$ perlbrew list
perl-5.005_04 (5.5.4)
perl-5.8.9
perl-5.10.1
perl-5.10.1@scratch
perl-5.16.3
perl-5.18.4
perl-5.20.1
perl-5.20.1@module-install-repository
perl-5.20.1@plack-middleware-docomoguid


it also happened with 0.71

@pwr22
Copy link

pwr22 commented Jan 12, 2015

There is no asterix next to any Perl install so have you done a perlbrew switch-off? I ask because the man page makes it look like a lib without an install prefix is simply a shorthand for specifying the current install

I've just tried it myself and get the same error you got

> perlbrew lib create test
ERROR: '' is not installed yet, '@test' cannot be created.

Either specify an install prefix explicitly or switch over to one first

@mstreuhofer
Copy link
Contributor Author

reading the docs (again) i see it now. it really is not clear that "perlbrew lib" depends on an installation being used or switched too unless the lib name includes an installation name. maybe the docs should be rewritten because most of it (beside a sentence at the very end) make it look like a lib without a perl-name is a free-agent lib which can be used in combination with any perl installation one has. beside the fact that this might not be a good idea (XS) it still seemed like this might be a feature.

@pwr22
Copy link

pwr22 commented Jan 12, 2015

Perhaps so, feel free to improve the docs and send @gugod a pull request :P, besides that I think this issue can be closed

@mstreuhofer
Copy link
Contributor Author

i'll let @gugod close this issue by merging my upcoming PR :-P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants