Sadly though since a few years they are getting a bit harder to compile since the new regimen in GCC that all linked libraries need to be explicitly included in the linker command. Compiling and linking ends in tears with the following message:
/usr/bin/ld: wavelet.o: undefined reference to symbol 'exp@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
Fortunately the fix is very easy for both plugins. In the src/ directory under the main directory of the plugin source code you will find a Makefile. Open that file in your favorite editor and change the following line:
LIBS = $(shell gimptool-2.0 --libs)
LIBS = $(shell gimptool-2.0 --libs) -lm
and then make again and finally sudo make install.