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

Re: Where can I find atlas/clapack.h



Hi Andreas,

On Sun, Feb 11, 2018 at 11:20:12AM +0100, Andreas Tille wrote:

> we have some old Debian packaging code for emmax in Git[1] which used to
> work with Build-Depends: libatlas-dev.  Since I understood that the
> headers are now moved I did
> 
> diff --git a/debian/control b/debian/control
> index 1e9c443..2fc2cae 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -4,7 +4,7 @@ Uploaders: SteffenSteffen Moeller <moeller@debian.org>
>  Section: science
>  Priority: optional
>  Build-Depends: debhelper (>= 10),
> -               libatlas-dev,
> +               libatlas-base-dev,
>                 liblapack-dev,
>                 zlib1g-dev,
>                 libblas3,

This is correct.

> but I get:
> 
> ...
> gcc  -O2 -Wall -g -o emmax-kin emmax-kin.c -L/usr/lib/atlas-base -L/usr/lib/lapack/ -llapack_atlas -llapack -lcblas -lblas -latlas -lcblas -lm -lz
> emmax.c:10:10: fatal error: atlas/clapack.h: No such file or directory
>  #include <atlas/clapack.h>
>           ^~~~~~~~~~~~~~~~~
> compilation terminated.
> 
> 
> Any idea how to properly build emmax now?

clapack.h is now under /usr/include/x86_64-linux-gnu/ (it has been moved up one
directory, to better match upstream's expectations).

So I think you should just do:

#include <clapack.h>

Best,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org

Attachment: signature.asc
Description: PGP signature


Reply to: