Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure does not ensure required uuid available #27

Open
Noerr opened this issue Mar 21, 2023 · 1 comment
Open

configure does not ensure required uuid available #27

Noerr opened this issue Mar 21, 2023 · 1 comment

Comments

@Noerr
Copy link
Contributor

Noerr commented Mar 21, 2023

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 <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.

@Noerr
Copy link
Contributor Author

Noerr commented Mar 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant