… I needed to unset CDPATH
in order to get it to build, because otherwise it tries to cd
into tests
inside one of the folders from CDPATH
(in my case the setting was /mnt
) instead into ./tests
from inside the GMP distribution folder (unpacked .tar.bz2
).
I ended up putting it into a subshell to avoid exporting that change to the environment of the caller.
// Oliver