xnoise version is still version 0.1.31 but git version is not 0.1.31 !
git version is not a release and therefore needs vala to compile
(releases don't need any vala to compile).
The currently used version of vala is 0.15.1 (highest currently
available release number)
I can see from the line:
"/bin/sh: --library: command not found" from your terminal output that
the vala compiler was not set because it is not available or too old.
Please install at least vala-0.15.1 and do
./autogen.sh
make
sudo make install
This will work for the git version.
The procedure is also described here:
https://github.com/shuerhaaken/xnoise/wiki/Build
in the 'BUILD FROM GIT REPOSITORY' chapter.
Please tell me if you have any issues.
Regards
If you want a git version you have to update your vala version first.