[MacPorts] #43396: octave-3.6.4_12 build fail in Mavericks 10.9.2
MacPorts
noreply at macports.org
Thu Apr 24 18:23:09 PDT 2014
#43396: octave-3.6.4_12 build fail in Mavericks 10.9.2
-----------------------------+-------------------------
Reporter: kent.conover@… | Owner: michaelld@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: invalid | Keywords:
Port: octave |
-----------------------------+-------------------------
Changes (by michaelld@…):
* status: new => closed
* resolution: => invalid
Comment:
Very good. So, what's happened is that you have cruft installed into
/usr/local/lib which for some reason the Octave configure script is
finding and passing on to libtool. In particular, the hdf5 library, which
in /usr/local/lib/libhdf5.la depends on
"/localscratch/compile/szip-2.1/szip/lib/libsz.la", which of course does
not exist and libtool has no idea what to do next. Thus, the error you're
getting.
Unless you -really- need the stuff in /usr/local, my recommendation is to
hose it. One easy way to do this while preserving the contents "just in
case" would be:
{{{
cd /usr
sudo mv local local_old
}}}
that way, if you need to get to the contents for some reason, they are
still in /usr/local_old.
After you do the move (or removal), you'll need to start from scratch:
{{{
sudo port clean octave
sudo port install octave
}}}
Although there is probably a way to coerce the Octave configure script
into ignoring /usr/local, I don't know what that is and I also don't have
the time to deal with it right now. We (MacPorts folks) highly recommend
against installing into standard locations, since it inevitably leaves
cruft around that causes issues such as this one.
If you do need the files in /usr/local, then you'll have to hack your way
around this issue -- it's beyond the scope of what I can reasonably do.
I'm closing this ticket as "invalid", but if you need more help getting
rid of the cruft then please reply back and I'll help you as best I can.
--
Ticket URL: <https://trac.macports.org/ticket/43396#comment:20>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list