problem when installing: No such file or directory

And what is the problem exactly? ./configure seems to work fine.

I presume the problem is during compilation, but you gave no information
about that. If so, please provide the full compilation output (not just the
last line or the error message).