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

Unable to switch to new perl installation #761

Open
mvsjes2 opened this issue Sep 1, 2022 · 4 comments
Open

Unable to switch to new perl installation #761

mvsjes2 opened this issue Sep 1, 2022 · 4 comments

Comments

@mvsjes2
Copy link

mvsjes2 commented Sep 1, 2022

I installed perl-5.37.3 on Ubuntu 20.04.4 and everything looked like it worked fine. The last couple of messages I got from the log file were:

/home/robin/perl5/perlbrew/perls/perl-5.37.3/man/man1/zipdetails.1
##### Brew Finished #####

I see the directory created properly:

ll ~/perl5/perlbrew/perls
total 32
drwxrwxr-x 8 robin robin 4096 Aug 31 14:48 ./
drwxrwxr-x 7 robin robin 4096 Sep  1 10:42 ../
drwxr-xr-x 5 robin robin 4096 Aug 23  2021 perl-5.28.3/
drwxr-xr-x 5 robin robin 4096 Dec 15  2021 perl-5.30.3/
drwxr-xr-x 5 robin robin 4096 Dec  8  2021 perl-5.32.1/
drwxr-xr-x 5 robin robin 4096 Dec 14  2021 perl-5.34.0/
drwxr-xr-x 5 robin robin 4096 Aug 12 12:29 perl-5.37.2/
drwxr-xr-x 5 robin robin 4096 Aug 31 14:48 perl-5.37.3/

However, perlbrew list doesn't show it:

perlbrew list
  perl-5.34.0                               
  perl-5.32.1                               
  perl-5.30.3                               
  perl-5.28.3

If I try to use it I get:
$ perlbrew use perl-5.37.3 ERROR: The installation "perl-5.37.3" is unknown.

Anything I can check?

@happy-barney
Copy link

check existence of perl-5.37.3/bin/perl

@mvsjes2
Copy link
Author

mvsjes2 commented Sep 1, 2022

There is no perl there:

total 4300
drwxr-xr-x 2 robin robin    4096 Sep  1 11:10 ./
drwxr-xr-x 5 robin robin    4096 Aug 31 14:48 ../
-rwxr-xr-x 1 robin robin   15467 Sep  1 11:10 corelist5.37.3*
-rwxr-xr-x 1 robin robin    8452 Sep  1 11:10 cpan5.37.3*
-rwxr-xr-x 1 robin robin   41972 Sep  1 11:10 enc2xs5.37.3*
-rwxr-xr-x 1 robin robin    3161 Sep  1 11:10 encguess5.37.3*
-rwxr-xr-x 1 robin robin   29319 Sep  1 11:10 h2ph5.37.3*
-rwxr-xr-x 1 robin robin   61026 Sep  1 11:10 h2xs5.37.3*
-rwxr-xr-x 1 robin robin    4382 Sep  1 11:10 instmodsh5.37.3*
-rwxr-xr-x 1 robin robin    5084 Sep  1 11:10 json_pp5.37.3*
-rwxr-xr-x 1 robin robin   15870 Sep  1 11:10 libnetcfg5.37.3*
-rwxr-xr-x 1 robin robin 3850104 Sep  1 11:10 perl5.37.3*
-rwxr-xr-x 2 robin robin   45271 Sep  1 11:10 perlbug5.37.3*
-rwxr-xr-x 1 robin robin     354 Sep  1 11:10 perldoc5.37.3*
-rwxr-xr-x 1 robin robin   10948 Sep  1 11:10 perlivp5.37.3*
-rwxr-xr-x 2 robin robin   45271 Sep  1 11:10 perlthanks5.37.3*
-rwxr-xr-x 1 robin robin    8452 Sep  1 11:10 piconv5.37.3*
-rwxr-xr-x 1 robin robin    4628 Sep  1 11:10 pl2pm5.37.3*
-rwxr-xr-x 1 robin robin    4229 Sep  1 11:10 pod2html5.37.3*
-rwxr-xr-x 1 robin robin   15126 Sep  1 11:10 pod2man5.37.3*
-rwxr-xr-x 1 robin robin   10895 Sep  1 11:10 pod2text5.37.3*
-rwxr-xr-x 1 robin robin    4153 Sep  1 11:10 pod2usage5.37.3*
-rwxr-xr-x 1 robin robin    3704 Sep  1 11:10 podchecker5.37.3*
-rwxr-xr-x 1 robin robin   13751 Sep  1 11:10 prove5.37.3*
-rwxr-xr-x 1 robin robin    3658 Sep  1 11:10 ptar5.37.3*
-rwxr-xr-x 1 robin robin    2737 Sep  1 11:10 ptardiff5.37.3*
-rwxr-xr-x 1 robin robin    4487 Sep  1 11:10 ptargrep5.37.3*
-rwxr-xr-x 1 robin robin   10074 Sep  1 11:10 shasum5.37.3*
-rwxr-xr-x 1 robin robin   19541 Sep  1 11:10 splain5.37.3*
-rwxr-xr-x 1 robin robin    8153 Sep  1 11:10 streamzip5.37.3*
-rwxr-xr-x 1 robin robin    5259 Sep  1 11:10 xsubpp5.37.3*
-rwxr-xr-x 1 robin robin   70285 Sep  1 11:10 zipdetails5.37.3*

@mvsjes2
Copy link
Author

mvsjes2 commented Sep 1, 2022

If I manually symlink it to perl-5.37.3 then it works fine. I shouldn't have to do that though, right?

@gugod
Copy link
Owner

gugod commented Sep 2, 2022

This is perhaps an regression. perlbrew is supposed to detrct thar 5.37 is a dev release and do whatever adjustment for you. The symlink you've done manually (perl -> perl5.37.3) should have happened automatically.

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

3 participants