[MacPorts] #55599: sudo port install source-highlight

MacPorts noreply at macports.org
Thu Dec 28 19:24:41 UTC 2017


#55599: sudo port install source-highlight
-------------------------------+--------------------
  Reporter:  LaurentMaheo      |      Owner:
      Type:  defect            |     Status:  closed
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.4.2
Resolution:  invalid           |   Keywords:
      Port:  source-highlight  |
-------------------------------+--------------------

Comment (by kencu):

 Laurent, it looks like your build is failing when it tries to run `flex`

 {{{
 configure:17355: found /opt/local/bin/flex
 configure:17366: result: flex
 configure:17404: flex conftest.l
 flex: error writing output file lex.yy.c
 configure:17408: $? = 1
 configure:17410: checking lex output file root
 configure:17421: error: cannot find output from flex; giving up
 }}}

 The most probable explanation for that is that your system has become out
 of date. Please `sudo port clean source-hightlight`, then `sudo port
 selfupdate`, then `sudo port -v upgrade outdated`.

 once that is done, your version of `flex` should be up to date, along with
 your other ports.

 Then try `sudo port -v install source-highlight` once again, and see if it
 succeeds. If it does not, please post up your `main.log` and your
 `config.log` again so we can see what might be going on.

--
Ticket URL: <https://trac.macports.org/ticket/55599#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list