octave-maintainers
[Top][All Lists]
Advanced

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

Re: Suitesparse libs (AMD, ..) issues during configure (Mageia-6)


From: Philip Nienhuis
Subject: Re: Suitesparse libs (AMD, ..) issues during configure (Mageia-6)
Date: Fri, 1 Sep 2017 21:03:01 +0200
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Philip Nienhuis wrote:
John W. Eaton wrote:
On 09/01/2017 09:18 AM, PhilipNienhuis wrote:
Hi,

I'm trying to build dev octave on Mageia-6 (just released) and run
into the
following during configure:

:
configure:42494: checking suitesparse/amd.h usability
configure:42494: gcc -c -g -O2 -pthread -fopenmp   conftest.c >&5
configure:42494: $? = 0
configure:42494: result: yes
configure:42494: checking suitesparse/amd.h presence
configure:42494: gcc -E   conftest.c
configure:42494: $? = 0
configure:42494: result: yes
configure:42494: checking for suitesparse/amd.h
configure:42494: result: yes
configure:42505: checking for amd_postorder in -lamd
configure:42536: gcc -o conftest -g -O2 -pthread -fopenmp     conftest.c
-lamd -lutil -lm   >&5
/usr/lib/gcc/x86_64-mageia-linux-gnu/5.4.0/../../../../lib64/libamd.so:
undefined reference to `SuiteSparse_config'
/usr/lib/gcc/x86_64-mageia-linux-gnu/5.4.0/../../../../lib64/libamd.so:
undefined reference to `SuiteSparse_free'
/usr/lib/gcc/x86_64-mageia-linux-gnu/5.4.0/../../../../lib64/libamd.so:
undefined reference to `SuiteSparse_malloc'
:

Octave builds fine AFAICS but to proceed further and cross-build for
mxe-octave, the dist target needs COLAMD and I suppose AMD / CAMD /
CCOLAMD
to build the docs.

How can I get this fixed?

I saw the old bug #43063 but that is quite a while back. Until a few
weeks
ago I could build Octave w/o issues on Mageia-6 RC incl suitesparse.

<snip>

Even though I really think that your suitesparse libraries should be
linked to the config library if they need it, I checked in the following
changeset.  Does it help?

Thanks, I'll check & report back later.

Yep, that helps, I see no more complaints about missing libraies after ./configure.
Thank you very much.

philip



reply via email to

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