Ticket #5154 (closed bug: fixed)
Trouble porting GHC to Haiku: wrong shebang in Perl boot script
~> perl boot Can't exec "/usr/bin/perl": No such file or directory at boot line 8. Running boot-pkgs failed: -1 at boot line 8. ~> which perl /boot/common/bin/perl
Please change all instances of /usr/bin/perl to /usr/bin/env perl in GHC. That way the GHC build process doesn't depend on perl being installed in a specific place.