emerge umfpack yields: holmod.lo libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"umfpack\" -DPACKAGE_TARNAME=\"umfpack\" -DPACKAGE_VERSION=\"5.5.0\" "-DPACKAGE_STRING=\"umfpack 5.5.0\"" -DPACKAGE_BUGREPORT=\"davis@cise.ufl.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"umfpack\" -DVERSION=\"5.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -DHAVE_BLAS=1 -DHAVE_LIBAMD=1 -I. -I../Include -march=native -O2 -pipe -fomit-frame-pointer -DDINT -c umf_cholmod.c -fPIC -DPIC -o .libs/umf_i_cholmod.o umf_cholmod.c:18:21: error: cholmod.h: file of directory not found umf_cholmod.c: In function »umf_i_cholmod«: umf_cholmod.c:58: error: »cholmod_sparse« not declared (first usage in this function) umf_cholmod.c:58: error: (every reference that is not declared gets listed only once for every function where it appears umf_cholmod.c:58: error: expected »;« before »Amatrix« umf_cholmod.c:59: error: »cholmod_factor« not declared (first usage in this function) umf_cholmod.c:59: error: »L« not declared (first usage in this function) umf_cholmod.c:60: error: »cholmod_common« not declared (first usage in this function) umf_cholmod.c:60: error: expected »;« before »cm« umf_cholmod.c:81: error: »cm« not declared (first usage in this function) umf_cholmod.c:82: error: »CHOLMOD_SIMPLICIAL« not declared (first usage in this function) umf_cholmod.c:93: error: »CHOLMOD_AMD« not declared (first usage in this function) umf_cholmod.c:93: error: »CHOLMOD_COLAMD« not declared (first usage in this function) umf_cholmod.c:100: error: »CHOLMOD_METIS« not declared (first usage in this function) umf_cholmod.c:110: error: »CHOLMOD_NATURAL« not declared (first usage in this function) umf_cholmod.c:120: error: »CHOLMOD_NESDIS« not declared (first usage in this function) umf_cholmod.c:144: error: »A« not declared (first usage in this function) umf_cholmod.c:144: error: »Amatrix« not declared (first usage in this function) umf_cholmod.c:157: error: »CHOLMOD_INT« not declared (first usage in this function) umf_cholmod.c:158: error: »CHOLMOD_PATTERN« not declared (first usage in this function) umf_cholmod.c:159: error: »CHOLMOD_DOUBLE« not declared (first usage in this function) umf_cholmod.c:170: error: »AT« not declared (first usage in this function) umf_cholmod.c:171: error: »S« not declared (first usage in this function) umf_cholmod.c:202: error: »CHOLMOD_GIVEN« not declared (first usage in this function) make[1]: *** [umf_i_cholmod.lo] error 1 make[1]: Leaving directory `/tmp/portage/sci-libs/umfpack-5.5.0/work/UMFPACK/Source' make: *** [all-recursive] error 1 Reproducible: Always
ebuild needs to depend on sci-libs/cholmod compiles fine for me after adding this dep to the ebuild ~jtriley
It seems to me that it shouldn't be using cholmod unless you have the metis use flag enabled. So I dug a bit deeper. This is the first time I've tried to figure out autoconf and the configure script. So if someone knows better please correct me. I think they forgot the "else" in configure.ac at line 35 just before "AC_DEFINE(NCHOLMOD)" It compiled fine for me. I haven't tested the program but it compiles now without unneeded dependencies (unless you want it of course). I checked the upstream web page but didn't find a bug submit there. I didn't look hard though.
Fixed in cvs. Thanks.