[Pkg-scicomp-devel] Bug#528100: include paths mixed up in libsundials-serial-dev
Slaven
peles at cox.net
Sun May 10 19:56:40 UTC 2009
Package: libsundials-serial-dev
Version: 2.2.0-3
Severity: grave
Justification: renders package unusable
Hi everybody,
Thanks for packaging sundials for debian!
It seems that -dev package needs some include paths fixing. For example,
in header file ida.h there is an include line
#include "sundials_nvector.h"
However, file sundials_nvector.h is not on the include path, so
compilation of code that includes ida.h file would fail. The correct
include line in ida.h IMHO would be
#include <sundials/sundials_nvector.h>
That would allow for compiling code that links to ida shared library
without specifying additional include paths.
A workaround for this bug is to add all necessary include paths in the
compilation command. For example to compile sundials example idadenx.c
one should add "-I/usr/include/sundials -I/usr/include/ida" to the
compilation line.
Cheers,
Slaven
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libsundials-serial-dev depends on:
ii libsundials-serial0 2.2.0-3 SUit of Nonlinear and DIfferential
libsundials-serial-dev recommends no packages.
libsundials-serial-dev suggests no packages.
-- no debconf information
More information about the Pkg-scicomp-devel
mailing list