Skip Menu |

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

Report information
The Basics
Id: 81790
Status: open
Priority: 0/
Queue: App-perlbrew

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

Bug Information
Severity: Important
Broken in: 0.58
Fixed in: (no value)



Subject: Fails to install on dragonfly BSD
The script has perl hardcoded as /usr/bin/perl. It is bad practice to hard code paths. In dragonfly it's in /usr/pkg/bin/perl. -bash-4.2$ curl -kL http://install.perlbrew.pl | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 315 100 315 0 0 782 0 --:--:-- --:--:-- --:--:-- 851 100 1022 100 1022 0 0 1612 0 --:--:-- --:--:-- --:--:-- 6551 ## Download the latest perlbrew ## Installing perlbrew bash: ./perlbrew-44669: /usr/bin/perl: bad interpreter: No such file or directory
在 2012-十二月-07 23:17:39 星期五 時,NHORNE 寫到: Show quoted text
> The script has perl hardcoded as /usr/bin/perl. It is bad practice to > hard code paths. In dragonfly it's in /usr/pkg/bin/perl. > > -bash-4.2$ curl -kL http://install.perlbrew.pl | bash > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 100 315 100 315 0 0 782 0 --:--:-- --:--:-- --:--:-- > 851 > 100 1022 100 1022 0 0 1612 0 --:--:-- --:--:-- --:--:-- > 6551 > > ## Download the latest perlbrew > > ## Installing perlbrew > bash: ./perlbrew-44669: /usr/bin/perl: bad interpreter: No such file or > directory
It was intended to make refer to a perl in "pre-perlbrew state" . Usually vendor perl. I had been wondering if doing this in installer make sens: # After cleanup PATH to exclude PERLBREW_PATH ( echo '#!'$(which perl); cat perlbrew ) > perlbrew_ mv -f perlbrew_ perlbrew That is, assuming vendor perl can be found in PATH, and use that as the shebang for perlbrew command.