New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/34030#issuecomment-967493612 Comment: Either `./configure --prefix=SAGE_LOCAL` or edit `#SAGE_ROOT=/path/to/sage-version` at the beginning of the scritp should fix that.