Open Noerr opened 1 year ago
In my opinion this uuid dependency should be caught earlier than make.
make
$ CC=mpicc ./configure --prefix=/home/user/software/hdf5-iotest checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether mpicc accepts -g... yes checking for mpicc option to enable C11 features... none needed checking whether mpicc understands -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of mpicc... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands $ make Making all in src make[1]: Entering directory '/home/user/hdf5-iotest/src' mpicc -DPACKAGE_NAME=\"hdf5-iotest\" -DPACKAGE_TARNAME=\"hdf5-iotest\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"hdf5-iotest\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gheber@hdfgroup.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hdf5-iotest\" -DVERSION=\"0.1.0\" -I. -g -O2 -MT configuration.o -MD -MP -MF .deps/configuration.Tpo -c -o configuration.o configuration.c mv -f .deps/configuration.Tpo .deps/configuration.Po mpicc -DPACKAGE_NAME=\"hdf5-iotest\" -DPACKAGE_TARNAME=\"hdf5-iotest\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"hdf5-iotest\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gheber@hdfgroup.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hdf5-iotest\" -DVERSION=\"0.1.0\" -I. -g -O2 -MT dataset.o -MD -MP -MF .deps/dataset.Tpo -c -o dataset.o dataset.c mv -f .deps/dataset.Tpo .deps/dataset.Po mpicc -DPACKAGE_NAME=\"hdf5-iotest\" -DPACKAGE_TARNAME=\"hdf5-iotest\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"hdf5-iotest\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gheber@hdfgroup.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hdf5-iotest\" -DVERSION=\"0.1.0\" -I. -g -O2 -MT hdf5_iotest.o -MD -MP -MF .deps/hdf5_iotest.Tpo -c -o hdf5_iotest.o hdf5_iotest.c hdf5_iotest.c:20:10: fatal error: uuid/uuid.h: No such file or directory 20 | #include <uuid/uuid.h> | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:389: hdf5_iotest.o] Error 1 make[1]: Leaving directory '/home/user/hdf5-iotest/src' make: *** [Makefile:334: all-recursive] Error 1
Lack of sudo privileges pushed me over to the Spack install approach at this point.
I run into the same missing uuid problem on the spack install instructions, it just takes about 5 hours to get there. The error appears at the finish line when spack is working on final build of hdf5iotest
hdf5iotest
In my opinion this uuid dependency should be caught earlier than
make
.Lack of sudo privileges pushed me over to the Spack install approach at this point.