Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 68207
Status: resolved
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.20
Fixed in: (no value)



Subject: After installing perl 5.14.0, can't switch to it :-/
[ambs@rachmaninoff ~]$ perlbrew install perl-5.14.0 [...] [ambs@rachmaninoff ~]$ perlbrew list custom * default_perl perl-5.14.0 /opt/local/bin//perl (5.12.3) /usr/bin/perl (5.12.3) [ambs@rachmaninoff ~]$ perlbrew switch perl-5.14.0 Switched to perl-5.14.0. To use it immediately, run this line in this terminal: exec /bin/bash [ambs@rachmaninoff ~]$ perlbrew list custom * default_perl perl-5.14.0 /opt/local/bin//perl (5.12.3) /usr/bin/perl (5.12.3) [ambs@rachmaninoff ~]$ ecec /bin/bash -bash: ecec: command not found [ambs@rachmaninoff ~]$ exec /bin/bash [ambs@rachmaninoff ~]$ perlbrew list custom * default_perl perl-5.14.0 /opt/local/bin//perl (5.12.3) /usr/bin/perl (5.12.3) [ambs@rachmaninoff ~]$
On Sun May 15 09:23:52 2011, AMBS wrote: Show quoted text
> > [ambs@rachmaninoff ~]$ perlbrew install perl-5.14.0 > [...] > [ambs@rachmaninoff ~]$ perlbrew list > custom > * default_perl > perl-5.14.0 > /opt/local/bin//perl (5.12.3) > /usr/bin/perl (5.12.3) > [ambs@rachmaninoff ~]$ perlbrew switch perl-5.14.0 > Switched to perl-5.14.0. To use it immediately, run this line in this > terminal: > > exec /bin/bash > > [ambs@rachmaninoff ~]$ perlbrew list > custom > * default_perl > perl-5.14.0 > /opt/local/bin//perl (5.12.3) > /usr/bin/perl (5.12.3) > [ambs@rachmaninoff ~]$ ecec /bin/bash > -bash: ecec: command not found > [ambs@rachmaninoff ~]$ exec /bin/bash > [ambs@rachmaninoff ~]$ perlbrew list > custom > * default_perl > perl-5.14.0 > /opt/local/bin//perl (5.12.3) > /usr/bin/perl (5.12.3) > [ambs@rachmaninoff ~]$
I noticed that your using bash, the switch message there suggests that you did not put "source ~/perl5/perlbrew/etc/bashrc" in your ~/.bashrc Please do so and see if it's still breaks.
On Mon May 16 02:02:12 2011, GUGOD wrote: Show quoted text
> On Sun May 15 09:23:52 2011, AMBS wrote:
> > > > [ambs@rachmaninoff ~]$ perlbrew install perl-5.14.0 > > [...] > > [ambs@rachmaninoff ~]$ perlbrew list > > custom > > * default_perl > > perl-5.14.0 > > /opt/local/bin//perl (5.12.3) > > /usr/bin/perl (5.12.3) > > [ambs@rachmaninoff ~]$ perlbrew switch perl-5.14.0 > > Switched to perl-5.14.0. To use it immediately, run this line in
> this
> > terminal: > > > > exec /bin/bash > > > > [ambs@rachmaninoff ~]$ perlbrew list > > custom > > * default_perl > > perl-5.14.0 > > /opt/local/bin//perl (5.12.3) > > /usr/bin/perl (5.12.3) > > [ambs@rachmaninoff ~]$ ecec /bin/bash > > -bash: ecec: command not found > > [ambs@rachmaninoff ~]$ exec /bin/bash > > [ambs@rachmaninoff ~]$ perlbrew list > > custom > > * default_perl > > perl-5.14.0 > > /opt/local/bin//perl (5.12.3) > > /usr/bin/perl (5.12.3) > > [ambs@rachmaninoff ~]$
> > > I noticed that your using bash, the switch message there suggests that > you did not put > "source ~/perl5/perlbrew/etc/bashrc" in your ~/.bashrc > > Please do so and see if it's still breaks.
Hello With previous versions it just worked. I have that line in .bash_profile (as I didn't have a .bashrc). How's that different? Thank you Alberto
On Mon May 16 07:08:33 2011, AMBS wrote: Show quoted text
> On Mon May 16 02:02:12 2011, GUGOD wrote:
> > On Sun May 15 09:23:52 2011, AMBS wrote:
> Hello > > With previous versions it just worked. I have that line in .bash_profile > (as I didn't have a .bashrc). How's that different?
It should be good using either .bashrc or .bash_profile. I have a feeling that the just released 0.21 might fix issue for you. Can you upgrade and try it ? FYI, If you install or upgrade perlbrew with cpan or cpanm, you'll need to run 'perlbrew init' afterward.
CC: ambs [...] cpan.org
Subject: Re: [rt.cpan.org #68207] After installing perl 5.14.0, can't switch to it :-/
Date: Tue, 17 May 2011 11:13:15 +0100
To: bug-App-perlbrew [...] rt.cpan.org
From: Alberto Simoes <ambs [...] perl-hackers.net>
On 17/05/2011 04:35, Kang-min Liu via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68207> > > On Mon May 16 07:08:33 2011, AMBS wrote:
>> On Mon May 16 02:02:12 2011, GUGOD wrote:
>>> On Sun May 15 09:23:52 2011, AMBS wrote:
>> Hello >> >> With previous versions it just worked. I have that line in .bash_profile >> (as I didn't have a .bashrc). How's that different?
> > It should be good using either .bashrc or .bash_profile. > > I have a feeling that the just released 0.21 might fix issue for you. Can you upgrade and try it > ? > > FYI, If you install or upgrade perlbrew with cpan or cpanm, you'll need to run 'perlbrew init' > afterward.
Ok, it might be that. I upgraded perlbrew a couple of times and never re-inited it. I'll test and give feedback real soon. Thanks :)
On Tue May 17 06:13:37 2011, ambs@perl-hackers.net wrote: Show quoted text
> On 17/05/2011 04:35, Kang-min Liu via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=68207> > > > > On Mon May 16 07:08:33 2011, AMBS wrote:
> >> On Mon May 16 02:02:12 2011, GUGOD wrote:
> >>> On Sun May 15 09:23:52 2011, AMBS wrote:
> >> Hello > >> > >> With previous versions it just worked. I have that line in
> .bash_profile
> >> (as I didn't have a .bashrc). How's that different?
> > > > It should be good using either .bashrc or .bash_profile. > > > > I have a feeling that the just released 0.21 might fix issue for
> you. Can you upgrade and try it
> > ? > > > > FYI, If you install or upgrade perlbrew with cpan or cpanm, you'll
> need to run 'perlbrew init'
> > afterward.
> > Ok, it might be that. I upgraded perlbrew a couple of times and never > re-inited it. > > I'll test and give feedback real soon. > Thanks :)
Hello, Updated App::perlbrew to 0.21, run perlbrew init, and installed a new perl. I still can't switch to it :( Any way I can help you debug it? Thanks
On Tue May 17 09:50:24 2011, AMBS wrote: Show quoted text
> On Tue May 17 06:13:37 2011, ambs@perl-hackers.net wrote:
> > On 17/05/2011 04:35, Kang-min Liu via RT wrote:
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=68207> > > > > > > On Mon May 16 07:08:33 2011, AMBS wrote:
> > >> On Mon May 16 02:02:12 2011, GUGOD wrote:
> > >>> On Sun May 15 09:23:52 2011, AMBS wrote:
> > >> Hello > > >> > > >> With previous versions it just worked. I have that line in
> > .bash_profile
> > >> (as I didn't have a .bashrc). How's that different?
> > > > > > It should be good using either .bashrc or .bash_profile. > > > > > > I have a feeling that the just released 0.21 might fix issue for
> > you. Can you upgrade and try it
> > > ? > > > > > > FYI, If you install or upgrade perlbrew with cpan or cpanm, you'll
> > need to run 'perlbrew init'
> > > afterward.
> > > > Ok, it might be that. I upgraded perlbrew a couple of times and never > > re-inited it. > > > > I'll test and give feedback real soon. > > Thanks :)
> > Hello, > Updated App::perlbrew to 0.21, run perlbrew init, and installed a new > perl. I still can't switch to it :( > > Any way I can help you debug it? > > Thanks >
Hello again. After opening a new terminal I was able to install a new perl and switch to it. This means that after installing a new App::perlbrew version we should issue perlbrew init and force the reloading of bash_profile/bashrc, before trying to use it. I think this bug is solved and you can close it. I'll reopen or create a new one in case of further problems. Thank you Alberto
Show quoted text
> Hello again. > > After opening a new terminal I was able to install a new perl and switch > to it. This means that after installing a new App::perlbrew version we > should issue perlbrew init and force the reloading of > bash_profile/bashrc, before trying to use it. > > I think this bug is solved and you can close it. I'll reopen or create a > new one in case of further problems. > > Thank you > Alberto
Thank you. If perlbrew is installed with the installer, but not cpan, the given bashrc is automatically updated without having to run 'perlbrew init' again. I can also try hack into Makefile.PL to do that someday. :)