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
Download (untitled) / with headers
text/plain 639b
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
Download (untitled) / with headers
text/plain 1.1k
在 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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.