HDFGroup / HDFGroup/hdf5-iotest

configure does not ensure required uuid available

Open
#27 2 comments 0 reactions 1 assignee Claimed by @brtnfld View on GitHub
Dominant language
Jupyter Notebook
Stars
13
Forks
9
PR merge metrics
No merged PRs in 30d

Description

In my opinion this uuid dependency should be caught earlier than `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
| ^~~~~~~~~~~~~
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.