Stuck building Gimp from source

Instead of compiling all the dependsies I would recommend to have a look at flatpack_buid.