#51399: octave-4.0.2_0 upgrade fails ---------------------+-------------------------------- Reporter: neil@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: octave | ---------------------+-------------------------------- Comment (by gnwiii@…): For me, after uuninstalling octave (built with {{{+gcc5}}}), "{{{port install octave}}}" worked on Mavericks and El Capitan, but fails on Snow Leopard (10.6.8 using the Apple C++ runtime): {{{ :info:build CXX array/array_libarray_la-Array-idx-vec.lo :info:build In file included from array/Array-idx-vec.cc:29: :info:build In file included from ./array/idx-vector.h:29: :info:build In file included from /usr/include/c++/4.2.1/cstring:52: :info:build ../libgnu/string.h:723:84: error: no member named 'strndup' in the global namespace :info:build namespace gnulib { static char * (*strndup) (char const *__string, size_t __n) = ::strndup; } extern "C" int _gl_cxxalias_dummy; :info:build ~~^ :info:build 1 error generated. :info:build make[3]: *** [array/array_libarray_la-Array-idx-vec.lo] Error 1 }}} I assume this is [https://trac.macports.org/wiki/LibcxxOnOlderSystems Libcxx on older systems]. -- Ticket URL: <https://trac.macports.org/ticket/51399#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X