Problem compiling Octave on Mac OS X

Ben Abbott bpabbott at mac.com
Sun May 31 18:44:42 CDT 2009


On May 31, 2009, at 4:59 PM, ws wrote:

> I just ALMOST compiled octave on my mac, linking to the Mac Port  
> libraries.
> Here is my configure:
>
> ./configure --prefix=/usr/local/octave-3.0.5  LDFLAGS=-L/opt/local/lib
> CPPFLAGS=-I/opt/local/include
>
> I then ran "make" and it churned away until it exited with the  
> following error:
>
> ld: Undefined symbols:
> _METIS_NodeComputeSeparator
> _METIS_NodeND
> /usr/bin/libtool: internal link edit command failed
> make[2]: *** [liboctave.dylib] Error 1
> make[1]: *** [liboctave] Error 2
> make: *** [all] Error 2
>
> I don't know how to get libtool version information, but it is run as
> /usr/bin/libtool, so it is NOT the Mac Ports version (which would be  
> in
> /opt/local/...)
>
> Any help would be very much appreciated!
> -W

It appears that MacPorts expects METIS to be included with the install  
of SuiteSparse.

Documentation for SuiteSparese can be found below

	http://www.cise.ufl.edu/research/sparse/SuiteSparse/

I don't believe Octave uses the METIS code. In addition the METIS  
package has a license that is incompatible with Octave's. I recommend  
you build your suitesparse to run without METIS.

Ben




More information about the Help-octave mailing list