[MacPorts] #41155: Preparing for new Octave release
MacPorts
noreply at macports.org
Sun Jul 6 10:31:53 PDT 2014
#41155: Preparing for new Octave release
----------------------------+-------------------------
Reporter: kingcrimson@… | Owner: michaelld@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: octave |
----------------------------+-------------------------
Comment (by olmec@…):
Hi bpabbott at mac.com; thanks for the script. It gets the configure across
the finish line, but seems there are problems with the standard c++
library:
{{{
Making all in liboctave
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in cruft
/bin/sh ../../libtool --tag=CXX --mode=compile ccache g++-mp-4.7
-DHAVE_CONFIG_H -I. -I../.. -I../../libgnu -I../../libgnu -D_THREAD_SAFE
-I/opt/local/include -pipe -O2 -m64 -stdlib=libstdc++ -D_THREAD_SAFE
-pthread -MT Faddeeva/libcruft_la-Faddeeva.lo -MD -MP -MF Faddeeva/.deps
/libcruft_la-Faddeeva.Tpo -c -o Faddeeva/libcruft_la-Faddeeva.lo `test -f
'Faddeeva/Faddeeva.cc' || echo './'`Faddeeva/Faddeeva.cc
libtool: compile: ccache g++-mp-4.7 -DHAVE_CONFIG_H -I. -I../..
-I../../libgnu -I../../libgnu -D_THREAD_SAFE -I/opt/local/include -pipe
-O2 -m64 -stdlib=libstdc++ -D_THREAD_SAFE -pthread -MT Faddeeva
/libcruft_la-Faddeeva.lo -MD -MP -MF Faddeeva/.deps/libcruft_la-
Faddeeva.Tpo -c Faddeeva/Faddeeva.cc
g++-mp-4.7: error: unrecognized command line option '-stdlib=libstdc++'
make[4]: *** [Faddeeva/libcruft_la-Faddeeva.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
Apropos, other projects compiled with the -stdlib=libstdc++ (or even
libc++) don't complain at all... any suggestions. Is there a way I could
substitute -lstdc++ instead?
Could we the dependencies be collated into a port file? Perhaps octave-
devel? There are a few I haven't been able to resolve:
{{{
configure: WARNING: UNEXPECTED: nth_element test failed. Refusing to fix
except for g++ 4.8.2.
configure: WARNING: GLPK library found, but does not seem to work properly
-- disabling glpk function
configure: WARNING: OpenGL libs (GL and GLU) not found. Native graphics
will be disabled.
configure: WARNING: CXSparse library not found. This will result in some
lack of functionality for sparse matrices.
configure: WARNING: ARPACK library found, but does not seem to work
properly -- disabling eigs function
configure: WARNING: QAbstractItemModel::beginResetModel() not found --
disabling GUI
configure: WARNING:
configure: WARNING: I didn't find the necessary libraries to compile
native
configure: WARNING: graphics. It isn't necessary to have native graphics,
configure: WARNING: but you will need to have gnuplot installed or you
won't
configure: WARNING: be able to use any of Octave's plotting commands
configure: WARNING:
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they
are
configure: NOTE: not found OR if they are missing required features on
your
configure: NOTE: system.
}}}
I can't seem to spot the arpack problem either:
{{{
$port list arpack
arpack @3.1.5 math/arpack
}}}
Your guidance would be appreciated. I'm loathe to break from macports and
install the octave .dmg from the forge.
Best, M.
--
Ticket URL: <https://trac.macports.org/ticket/41155#comment:50>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list