I got my hands on Fedora 28- beta computer (expected final release in about a month).
It comes with sundials 3.1.0 which has non-backward compatible APIs. In particular:
https://computation.llnl.gov/projects/sundials/ida<<<<
Removed package-specific, linear solver-specific, solver modules (e.g. CVDENSE, KINBAND, IDAKLU, ARKSPGMR) since their functionality is entirely replicated by the generic Dls/Spils interfaces and SUNLINEARSOLVER/SUNMATRIX modules. The exception is CVDIAG, a diagonal approximate Jacobian solver available to CVODE and CVODES.
>>>>
So configure fails with
SUNDIALS IDA library not configured with IDAKLU, ode15i and ode15s will not support the sparse Jacobian feature
and subsequent compile fails with:
../libinterp/dldfcn/__ode15__.cc:44:14: fatal error: ida/ida_dense.h: No such file or directory
Dmitri.
--