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
Perlbrew installation at /opt/perl5 problem. #700
Comments
@lifeboatpres thanks for the report... could you elaborate a bit more aboutt how it was installed in the first place ? I'm asking because the installationg process does a bit of work in order to tell where "system perl" is: https://github.com/gugod/App-perlbrew/blob/develop/lib/App/perlbrew.pm#L1643 ... and if it is finding the 'perl' under your perlbrew installation that process is buggy. If it is possible for you to recall the process that would be very helpful to reprodce this bug. |
"thanks for the report... could you elaborate a bit more aboutt how it was installed in the first place ?" "I did this installation after I had already installed perlbrew in my home directory (with the idea that I would delete that perlbrew after /opt/perl5 worked.)" So I had first installed perlbrew in my home directory, then decided to install it in /opt for everyone, then removed perlbrew from my home directory, then noticed that perlbrew was connected to the old perlbrew in my home directory, instead of the regular perl that was already installed on the machine. Not a huge bug as now I just install perlbrew in /opt on all machines but it seemed a flaw for perlbrew to not use /usr/bin/perl for the location of Perl. |
Thanks! |
To install in /home/lifeboat, I typed the following as lifeboat: curl -kL http://install.perlbrew.pl | bash To install in /opt, I typed the following as root: export PERLBREW_ROOT=/opt/perl5 |
I was installing perlbrew at /opt/perl5 so multiple people could use the same version of Perl.
I did this installation after I had already installed perlbrew in my home directory (with the idea that I would delete that perlbrew after /opt/perl5 worked.)
This caused /opt/perl5/bin/perlbrew to start with #!/home/lifeboat/perl5/perlbrew/perls/perl-5.22.0/bin/perl which was a problem once the perlbrew in /home/lifeboat was deleted. It would have been better if the perlbrew installation script had used #!/usr/bin/perl instead.
The text was updated successfully, but these errors were encountered: