|
From: | David Bateman |
Subject: | Re: Octave 2.9.0 available for ftp |
Date: | Thu, 17 Mar 2005 01:02:29 +0100 |
User-agent: | Mozilla Thunderbird 0.8 (X11/20040923) |
Quentin Spencer wrote:
David Bateman wrote:On another point I can't see a UMFPACK rpm anywhere, and so if there is someone who won't to make such a package, I'm sure there'll be lots of octave users that would be very happy.One more thing: does anyone know where I can find the build scripts that are used to create the Debian packages for this? That could be very helpful to me as a starting point to package this as an RPM.-Quentin
It seems that libumfpack depends on libblas.so.2: $ ldd /usr/lib/libumfpack.so libblas.so.2 => /usr/lib/atlas/libblas.so.2 (0x400af000) libm.so.6 => /lib/libm.so.6 (0x40399000) libc.so.6 => /lib/libc.so.6 (0x403bc000) libg2c.so.0 => /usr/lib/libg2c.so.0 (0x404ef000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Ok. However I just tried to build 2.9.0 if the UMFPACK stuff was built with the atlas cblas binding. In that case config.log contained messages like
configure:7268: gcc -o conftest -g -O2 conftest.c -lumfpack -lamd -lhdf5 -lz -lm >&5 /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../libumfpack.so: undefined reference to `cblas_dgemv' /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../libumfpack.so: undefined reference to `cblas_dtrsm' /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../libumfpack.so: undefined reference to `cblas_zgemv'
etc. So it seems the test as defined in configure.in is not generic enough. If there an autoconf macro that just tests for the presence of a function (nm like functionality) without actually building anything? Is would avoid this issue...
D. -- David Bateman address@hiddenMotorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary
[Prev in Thread] | Current Thread | [Next in Thread] |