Gimp-Forum.net

Full Version: Problem installing GIMP (make stage)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
 I get the following error in the “make -j3 && make -j3 install” stage (link https://ninedegreesbelow.com/photography...tists.html):
Code:
make  all-recursive
make[1]: Entering directory '/home/xxx/code/gimpdefault/build/gimp'
Making all in m4macros
make[2]: Entering directory '/home/xxx/code/gimpdefault/build/gimp/m4macros'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/xxx/code/gimpdefault/build/gimp/m4macros'
Making all in cursors
make[2]: Entering directory '/home/xxx/code/gimpdefault/build/gimp/cursors'
 GEN      gimp-tool-cursors.c
 GEN      gimp-color-picker-cursors.c
failed to load "./cursor-color-picker.png": Couldn't recognize the image file format for file './cursor-color-picker.png'
failed to load "./cursor-bad.png": Couldn't recognize the image file format for file './cursor-bad.png'
gimp-color-picker-cursors.gresource.xml: Child process exited with code 1.
gimp-tool-cursors.gresource.xml: Child process exited with code 1.
make[2]: *** [Makefile:830: gimp-tool-cursors.c] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:851: gimp-color-picker-cursors.c] Error 1
make[2]: Leaving directory '/home/xxx/code/gimpdefault/build/gimp/cursors'
make[1]: *** [Makefile:815: all-recursive] Error 1
make[1]: Leaving directory '/home/xxx/code/gimpdefault/build/gimp'
make: *** [Makefile:716: all] Error 2

I have checked and these .png files look like normal .png files. I have got libpng version 1.6.28 installed. Is this an issue with the version libpng installed? How do I fix this?
(10-24-2017, 10:54 PM)crazyBaboon Wrote: [ -> ] For future reference, the solution to this problem is here:

https://www.wiki.gimp.org/wiki/Hacking:P..._solutions


Basically, dont set the environment variable XDG_DATA_DIRS when you build your environment.
Good to know. Thx.