#5154: Trouble porting GHC to Haiku: wrong shebang in Perl boot script
----------------------------------+-----------------------------------------
Reporter: mcandre | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 7.0.3
Resolution: | Keywords: perl boot shebang compile
source
Testcase: | Blockedby:
Difficulty: | Os: Other
Blocking: | Architecture: Unknown/Multiple
Failure: Building GHC failed |
----------------------------------+-----------------------------------------
Comment(by mcandre):
{{{
~> perl --version
This is perl, v5.10.1 (*) built for BePC-haiku
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
~> echo '#!/tmp/perl' > q.pl; echo 'print "Hello\n"'>> q.pl; perl q.pl
Hello
}}}
A recent Perl is installed in Haiku, it's just in a different place than
most Unixes.
{{{
~> which perl
/boot/common/bin/perl
}}}
That's why I'm asking for Perl shebangs to be changed to the more general
{{{ /usr/bin/env perl }}}, or even better, simply {{{ perl }}}. In the
boot script, the {{{ system }}} call should also be modified.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5154#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs