[MacPorts] #36103: octave-devel build: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Thu Sep 13 16:09:12 PDT 2012


#36103: octave-devel build: Undefined symbols for architecture x86_64
---------------------------+-------------------------
  Reporter:  vic@…         |      Owner:  michaelld@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.2
Resolution:                |   Keywords:
      Port:  octave-devel  |
---------------------------+-------------------------

Comment (by gnwiii@…):

 Replying to [comment:26 michaelld@…]:
 > gnwiii : It looks like you're using fortran installed somewhere other
 than MacPorts. Apple does not provided such a program. Do you know where
 this fortran came from? I really cannot test this change without either
 using what Apple or MacPorts provides. Using MacPorts' gfortran from
 gcc47, surprise surprise, results in the same runtime issue.

 I'm using macports gfortran-mp-4.x (both 4.5 and 4.7 seem to work).
 macports adds '-arch x86_64' to the list of flags, so I use a trivial
 wrapper script called "/usr/local/bin/octf77-4.5", etc.  The wrapper
 (listed in a previous post to this thread) just runs gfortran-mp-4.x after
 editing the arg list to change ' -arch x86_64 ' to ' -m64 ' with sed
 (fragile, but good enough to build octave).

-- 
Ticket URL: <https://trac.macports.org/ticket/36103#comment:27>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list