[MacPorts] #46497: octave-tsa 4.2.4_0: g++: error: unrecognized command line option '-stdlib=libc++' (was: octave-tsa-4.2.4_0 configure failure on OS X 10.10.1 due to unrecognized command line option)

MacPorts noreply at macports.org
Sat Jan 10 10:14:17 PST 2015


#46497: octave-tsa 4.2.4_0: g++: error: unrecognized command line option
'-stdlib=libc++'
-------------------------+--------------------------------
  Reporter:  shaeffer@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:  fixed       |   Keywords:
      Port:  octave-tsa  |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: shaeffer@… (removed)
 * cc: ryandesign@…, mschamschula@… (added)
 * resolution:   => fixed
 * port:   => octave-tsa


Old description:

> installation of octave-tea-4.2.4_0 on OS X 10.10.1 fails. Executed this
> command: 'sudo port install octave-tsa' got this failure:
> :info:configure g++: error: unrecognized command line option
> '-stdlib=libc++'
> :info:configure make: *** [covm_mex.mex] Error 1
>
> Be aware I had to install gcc49 to get Atlas to build.

New description:

 installation of octave-tea-4.2.4_0 on OS X 10.10.1 fails. Executed this
 command: 'sudo port install octave-tsa' got this failure:

 {{{
 :info:configure g++: error: unrecognized command line option
 '-stdlib=libc++'
 :info:configure make: *** [covm_mex.mex] Error 1
 }}}

 Be aware I had to install gcc49 to get Atlas to build.

--

Comment:

 I believe this was fixed as part of r131387. (The build system was forcing
 the use of `gcc` and `g++`, which was incorrect; a patch was added to stop
 the build system from doing that.) If you still experience the problem
 with 4.2.7, please re-open this ticket and attach a new log.

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


More information about the macports-tickets mailing list