Open jennformatics opened 6 years ago
I actually came here to post something similar.
You don't need to go the way of using autotools though (because it can be a bit complicated for such a small program), just have an environment variable that the Makefile checks or something similar.
(I look after the scripts that auto-build software on our cluster and just use sed
to change the path things install to).
Hi. I get this rather predictable error upon installation:
Naturally I don't have access to /usr/local/bin in my supercomputing environment. I tried running configure, but got this:
...and then, upon taking that suggestion....
I went ahead and hacked the Makefile to replace /usr/local/bin with my preferred path, and it seems to be fine. Or, of course, in this relatively simple installation environment I suppose I could just have ignored the error and moved the executable manually once it was created. But it would be awfully nice if configure --prefix worked, so that people (even) less compilation-savvy than I could follow the general advice they can find on the net about how to install programs without root. Thanks!