[MacPorts] #36551: openmotif @2.3.3 -- Undefined symbols for architecture x86_64: "_main"

MacPorts noreply at macports.org
Tue Sep 2 10:46:45 PDT 2014


#36551: openmotif @2.3.3 -- Undefined symbols for architecture x86_64:   "_main"
------------------------+--------------------------------
  Reporter:  ggpolo@…   |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.2
Resolution:             |   Keywords:
      Port:  openmotif  |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: eriwaldo.teixeira@…, ryandesign@… (added)


Comment:

 Has duplicate #44854.

 The log says:

 {{{
 :info:configure checking for flex... flex
 :info:configure checking lex output file root... lex.yy
 :info:configure checking lex library... none needed
 }}}

 This last line is the problem. In fact "none needed" appears to be
 erroneous; it [https://lists.gnu.org/archive/html/bug-
 autoconf/2011-05/msg00017.html should print] "none found"; whether or not
 it's needed is another matter, and in this case, it seems it is needed. On
 my system, when the flex port is installed, I get:

 {{{
 :info:configure checking for flex... flex
 :info:configure checking lex output file root... lex.yy
 :info:configure checking lex library... -lfl
 }}}

 On my system, when the flex port is not installed, I get:

 {{{
 :info:configure checking for flex... flex
 :info:configure checking lex output file root... lex.yy
 :info:configure checking lex library... -ll
 }}}

 So in my case there is always a lex library, but in both the log attached
 here and the one attached to #44854, there is not. So I would ask anyone
 experiencing this issue:

  * what does `which flex` say?
  * what does `flex -V` say?
  * is the flex port installed?
    * if not, does installing the flex port, then cleaning openmotif and
 trying again help or not?

 I think the preferred resolution would be adding a build dependency on the
 flex port, if that will solve the problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/36551#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list