The fix appears to be setting prefix= and DESTDIR= at make install time.
Setting both these values to the full path of the installation prefix results in the library being installed at the right location but headers being installed in Full-prefix/Full-prefix/include/uuid...
Setting only prefix does not fix the issue
Setting only DESTDIR almost does it, but somehow, the library is installed in PREFIX/usr/lib, i.e. a usr is inserted somehow.
4.This sets DESTDIR to the installation prefix and prefix to an empty string.
In the current state of master, trying to build locally gives
That is because on linux, although having a --prefix set at the configure stage, tries to install to a system path.
Cf https://github.com/spack/spack/issues/7632 by @ax3l..
The fix appears to be setting
prefix=
andDESTDIR=
at make install time.Setting both these values to the full path of the installation prefix results in the library being installed at the right location but headers being installed in
Full-prefix/Full-prefix/include/uuid
...Setting only
prefix
does not fix the issueSetting only
DESTDIR
almost does it, but somehow, the library is installed inPREFIX/usr/lib
, i.e. ausr
is inserted somehow.4.This sets
DESTDIR
to the installation prefix andprefix
to an empty string.