The Makefile.am in frysk-imports/tests has incorrect usage of the $GIJ variable. Output is incorrectly sent to $(GIJ).sh which tries to output the file to /usr/bin/gij.sh, which makes the build barf.
The $(GIJ) variable has been replaced with "gij" so the output now goes correctly to gij.sh.
Fixed. See previous comment.