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

Can not find perlbrew after installation #749

Open
KES777 opened this issue Jul 14, 2022 · 2 comments
Open

Can not find perlbrew after installation #749

KES777 opened this issue Jul 14, 2022 · 2 comments
Labels

Comments

@KES777
Copy link

KES777 commented Jul 14, 2022

How to reproduce:

$ \curl -L https://install.perlbrew.pl | PERLBREW_ROOT=./pb bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   170  100   170    0     0    205      0 --:--:-- --:--:-- --:--:--   205
100  1574  100  1574    0     0   1331      0  0:00:01  0:00:01 --:--:--  1331

## Download the latest perlbrew

## Installing perlbrew
Using Perl </usr/bin/perl>
perlbrew is installed: ./pb/bin/perlbrew

perlbrew root (./pb) is initialized.
## Installing patchperl

## Done.
kes@work ~/c/proj $ ./pb/bin/perlbrew
bash: ./pb/bin/perlbrew: No such file or directory
@KES777
Copy link
Author

KES777 commented Jul 14, 2022

This seems works:

$ \curl -L https://install.perlbrew.pl | PERLBREW_ROOT=$PWD/pb bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   170  100   170    0     0    207      0 --:--:-- --:--:-- --:--:--   207
100  1574  100  1574    0     0   1567      0  0:00:01  0:00:01 --:--:-- 16744

## Download the latest perlbrew

## Installing perlbrew
Using Perl </usr/bin/perl>
perlbrew is installed: ~/c/proj/pb/bin/perlbrew

perlbrew root (~/c/proj/pb) is initialized.
## Installing patchperl

## Done.

Should perlbrew find absolute path for its home directory?

@gugod gugod added the BUG label Jul 14, 2022
@erickpaquin
Copy link

This seems to be a bash issue and not with perlbrew? If one simply follows the documentation and exports the variable with an absolute path I think it should work fine. Just a thought.

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

No branches or pull requests

3 participants