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
p6doc does not work on OSX (Rakudo * 2014.09) #3623
Comments
From @szabgabThis is a fresh compillation using MoarVM $ p6doc /Users/gabor/rakudo-star-2014.09/install/bin/p6doc: line 4: my: command not /Users/gabor/rakudo-star-2014.09/install/bin/p6doc: line 5: has: command /Users/gabor/rakudo-star-2014.09/install/bin/p6doc: line 6: syntax error /Users/gabor/rakudo-star-2014.09/install/bin/p6doc: line 6: ` multi |
From @szabgabSame in Rakudo Star 2014.12 and 2014.12.1 |
From @szabgabWhen running as perl6 /Users/gabor/rakudo-star-2014.12.1/install/bin/p6doc or as perl6-m /Users/gabor/rakudo-star-2014.12.1/install/bin/p6doc |
From @szabgabThe same happens with panda. If I try to run directly I get /Users/gabor/rakudo-star-2014.12.1/install/bin/panda: line 2: use: command /Users/gabor/rakudo-star-2014.12.1/install/bin/panda: line 3: use: command /Users/gabor/rakudo-star-2014.12.1/install/bin/panda: line 4: use: command /Users/gabor/rakudo-star-2014.12.1/install/bin/panda: line 5: use: command /Users/gabor/rakudo-star-2014.12.1/install/bin/panda: line 9: syntax error /Users/gabor/rakudo-star-2014.12.1/install/bin/panda: line 9: ` @*ARGS = but if I run perl6 /Users/gabor/rakudo-star-2014.12.1/install/bin/panda then it works. Is there something broken in my environment? |
From @szabgabIf I put #!/usr/bin/env perl6 as the sh-bang of either of those script, they start to work. Gabor |
From @FROGGSwhat was in there before? Am 10.01.2015 um 12:45 schrieb Gabor Szabo:
|
The RT System itself - Status changed from 'new' to 'open' |
From @szabgab/Users/gabor/rakudo-star-2014.12.1/install/bin/perl6-m On Sat, Jan 10, 2015 at 1:49 PM, Tobias Leich via RT <
|
From @szabgabOr more specifically #!/Users/gabor/rakudo-star-2014.12.1/install/bin/perl6-m On Sat, Jan 10, 2015 at 1:57 PM, Gabor Szabo <gabor@szabgab.com> wrote:
|
From @moritzOn 10.01.2015 12:45, Gabor Szabo wrote:
That's quite dangerous. Precompiled modules (on which scripts often Does #!/usr/bin/env /full/path/to/perl6-m work? Cheers, |
From @szabgabOn Sat, Jan 10, 2015 at 2:27 PM, Moritz Lenz via RT <
Well, I am not suggesting it should be set that way, I don't know how it
yes, I just tried putting this in p6doc: #!/usr/bin/env /Users/gabor/rakudo-star-2014.12.1/install/bin/perl6-m Gabor |
From @moritzHi Gabor, On Thu Dec 25 11:42:56 2014, gabor@szabgab.com wrote:
Can you please try http://rakudo.org/downloads/star/rakudo-star-2014.12.2.tar.gz and see if it fixes your issue? Cheers, |
From eam@frap.netOn Tue Feb 03 02:36:35 2015, moritz wrote:
I just stumbled across this today. It looks like this issue has been partially worked-around by adding #!/usr/bin/env to the shebang line for p6doc. The original problem is caused by /usr/local/bin/perl6 being a shell script. OSX does not allow a shebang script as the interpreter for another shebang script. On my system this is: $ cat /usr/local/bin/perl6 A proper fix could be to replace /usr/local/bin/perl6 with a native binary executable which does the same work as the above shell script. |
Migrated from rt.perl.org#123497 (status was 'open')
Searchable as RT123497$
The text was updated successfully, but these errors were encountered: