Fixed, thanks a lot! Now I can focus on the sundials warnings.
Okay I fixed this:
configure: WARNING: SUNDIALS NVECTOR serial library not found. Solvers ode15i and ode15s will be disabled.
configure: WARNING: SUNDIALS IDA library not found. Solvers ode15i and ode15s will be disabled.
I noticed the name wasn't sundials27 but address@hidden in my opt directory.
CPPFLAGS="$CPPFLAGS -I/usr/local/opt/address@hidden/include"
LDFLAGS="$LDFLAGS -L/usr/local/opt/address@hidden/lib"
This fixed the issue.