Subject: | intall cperl-stable fails - creates wrong build directory |
$ perlbrew install -j20 cperl-stable -Accflags="$CFLAGS" -Duseithreads -Dusemultiplicity -Dusedevel
Fetching perl 5.26.0 as /home/njh/perl5/perlbrew/dists/cperl-5.26.0.tar.gz
Download https://github.com/perl11/cperl/archive/cperl-5.26.0.tar.gz to /home/njh/perl5/perlbrew/dists/cperl-5.26.0.tar.gz
Installing /home/njh/perl5/perlbrew/build/cperl-5.26.0 into ~/perl5/perlbrew/perls/cperl-5.26.0
This could take a while. You can run the following command on another shell to track the status:
tail -f ~/perl5/perlbrew/build.cperl-5.26.0.log
Installation process failed. To spot any issues, check
/home/njh/perl5/perlbrew/build.cperl-5.26.0.log
If some perl tests failed and you still want to install this distribution anyway,
do:
(cd /home/njh/perl5/perlbrew/build/cperl-5.26.0; make install)
You might also want to try upgrading patchperl before trying again:
perlbrew install-patchperl
Generally, if you need to install a perl distribution known to have minor test
failures, do one of these command to avoid seeing this message
perlbrew --notest install cperl-stable
perlbrew --force install cperl-stable
njh@microcenter:/usr/local/bin$ tail -f ~/perl5/perlbrew/build.cperl-5.26.0.log
sh: 1: cd: can't cd to /home/njh/perl5/perlbrew/build/cperl-5.26.0
##### Brew Failed #####
^C
njh@microcenter:~$ cd ~/perl5/perlbrew/build
njh@microcenter:~/perl5/perlbrew/build$ ls
cperl-cperl-5.26.0
njh@microcenter:~/perl5/perlbrew/build$ # note created as cperl-cperl-5.26.0 instead of cperl-5.26.0