help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about building under Linux


From: John W. Eaton
Subject: Re: Question about building under Linux
Date: Tue, 29 Apr 2008 14:27:04 -0400

On 29-Apr-2008, Jaroslav Hajek wrote:

| You have to specify -I/install/directory/include in CFLAGS and CXXFLAGS and
| -L/install/directory/lib in LIBS.

Putting -I flags in CFLAGS and CXXFLAGS will work, but you can avoid
duplication by using CPPFLAGS (options for the C/C++ preprocessor)

| If you use static libs (that's the default for SuiteSparse, then this
| suffices, but beware that CHOLMOD needs also -lmetis to work, which
| Octave's configure script doesn't try). I've worked this around by
| modifying SuiteSparse so that libmetis.a is included in libcholmod.a.

Or, build SuiteSparse so that it does not use METIS, since it is not
required for Octave to work.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]