#36191: Octave 3.6.2_1 fails to build -------------------------------+------------------------- Reporter: mikhail.zyatin@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-devel | -------------------------------+------------------------- Comment (by michaelld@…): The actual issue is: {{{ :info:build ld: warning: directory not found for option '-L/Volumes/work/macports/bin/../lib/gcc45/gcc/x86_64-apple- darwin11/4.5.4' :info:build ld: warning: directory not found for option '-L/Volumes/work/macports/bin/../lib/gcc45/gcc' :info:build ld: warning: directory not found for option '-L/Volumes/work/macports/bin/../lib/gcc45/gcc/x86_64-apple- darwin11/4.5.4/../../..' :info:build Undefined symbols for architecture x86_64: :info:build "std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)", referenced from: :info:build std::list<regexp::match_element, std::allocator<regexp::match_element>
::operator=(std::list<regexp::match_element, std::allocator<regexp::match_element> > const&) in liboctave_la-regexp.o }}} which is related to the recent GCC / libstdcxx / ld64 changes. If you do: {{{ sudo port selfupdate port outdated }}} and gcc45 is among those to be updated, then do: {{{ sudo port upgrade outdated sudo port clean octave-devel }}} and then try to install octave-devel again as before; hopefully this time it will work.
If gcc45 is not among those to be updated, then do: {{{ sudo port -f uninstall gcc45 libstdcxx ld64 sudo port clean octave-devel }}} and then try to install octave-devel again as before; hopefully this time it will work. If there are multiple versions of "gcc45 libstdcxx ld64", then you'll want to force uninstall all of them. -- Ticket URL: <https://trac.macports.org/ticket/36191#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS