help-octave
[Top][All Lists]
Advanced

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

linking COLAMD, CCOLAMD, ZLIB


From: Andrew Funk
Subject: linking COLAMD, CCOLAMD, ZLIB
Date: Fri, 3 Feb 2006 11:49:45 -0500

Hi,

First, thanks John and David for working so quickly on the fix to nnz.
That is working for me now.

So now I am trying to build all the sparse matrix support.  At the end
of configure I get a warning that COLAMD, CCOLAMD, and ZLIB are not
found.  I have installed Ufsparse and zlib, but it's not clear to me the
proper way to tell configure where to find these libraries.  I found
this email in the archives but I'm not sure how to use this information.
Rather than just hacking the Makefile I assume there is a way to specify
at the configuration step where to find the libraries?

Thanks,
Andy


On 14-Nov-2005, Lester Wade wrote:

| Well, I had no luck with sorting out zlib problems on my 64bit system
so 
| I just tried things out on a 32bit one.   A bit different this time as

| doing a configure -with-hdf5=/hdf5directory works ok, but at the end 
| then says "ZLIB library not found".   Having install ZLIB into 
| /usr/local/lib/ I then tried;  configure -with-hdf5=/hdf5directory 
| -with-zlib=/usr/local/lib.   Didn't work so I presume this isn't
viable, 
| how should I specify where to find the zlib files?  I presume it looks

| for zlib.so ?

Configure options like

  --with-zlib=/a/dir

are not the right way to tell your compiler where to find the library.

You should use

  CPPFLAGS=-I/a/dir/include LDFLAGS=-L/a/dir/lib configure ...

instead.  Then the value of CPPFLAGS and LDFLAGS are passed to the
compiler when running the tests and you should not have to use
--with-zlib (the configure script will look for zlib by default).

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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