[GHC] #9465: configure: sed: illegal option -- r

GHC ghc-devs at haskell.org
Fri Aug 22 07:33:17 UTC 2014


#9465: configure: sed: illegal option -- r
-------------------------------------+-------------------------------------
              Reporter:  jrp         |            Owner:  pgj
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Build       |          Version:  7.8.3
  System                             |         Keywords:  sed
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Easy (less than 1
  Unknown/Multiple                   |  hour)
       Type of failure:  Building    |       Blocked By:
  GHC failed                         |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by pgj):

 Replying to [comment:7 jrp]:
 > (Exercise for the reader: do it in bash script :-))

 For what is worth, doing this in pure {{{sh}}} would not be much more
 complicated... I should have thought about this earlier :-)


 > PPS: The patch executes OK.  In an ideal world the test might come after
 the configure script
 > tests for perl (although, as you point out, the check is (presumably)
 redundant as you would not
 > have got that far without a perl boot.

 Indeed.  I have checked it without Perl being in the {{{PATH}}} and
 {{{configure}}} failed okay.  That is, although it did not find Perl when
 it tried to evaluate the expression, but it will say {{{configure: perl
 not found}}} -- and then at the check for Perl it will stop and display
 the corresponding error message ({{{You must install perl before you can
 continue...}}}).

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9465#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list