Sounds like you downloaded the code - maybe from github - and ended up with a folder of files like this.
You tried to compile the plugin and failed. Contrary to what the linux guru's say, compiling anything is filled with snags. Different automated ways of compiling, old code that needs fixing, all sorts of things. On top of that is a raft of packages which are needed and if you only compile something once in a while, the bloat is not worthwhile.
To aid the regular user, most linux distributions offer a repository of 'popular' packages that are already compiled and installed using some sort of package manager, muon, synaptic, 'buntus own-lame-manager.
For ubuntu the package is
gimp-plugin-registry but this is not a good one to install. 20 plugins, 165 scripts most never to be used. Some details of what you get here:
https://www.gimp-forum.net/Thread-Plugin...25#pid8025
For just resyntesizer, zips attached containing resynthesizer/resynthesizer_gui and a separate zip for the associated python plugins (these are the ones I use in kubuntu 16.04). Unlikely that you need all of those .py files heal-selection is the most used.
Remove what you have done to date. Files from the zips go in your Gimp profile ~/.gimp-2.8/plug-ins. Permissions should already be set but check anyway.
What does resynthesizer do?
As a plugin it can make repeating seamless tiles, but do not expect miracles. It is for textures, keep everything simple.
Example before, the fill shows join lines.
https://i.imgur.com/8mHQAGc.jpg
Example after, might not look wonderful but no joins.
https://i.imgur.com/kMcfEaX.jpg
Using with heal-selection see:
https://patdavid.net/2012/08/getting-aro...ction.html