Gimp-Forum.net
Problem installing GIMP (make stage) - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: Linux and other Unixen (https://www.gimp-forum.net/Forum-Linux-and-other-Unixen)
+---- Thread: Problem installing GIMP (make stage) (/Thread-Problem-installing-GIMP-make-stage)



Problem installing GIMP (make stage) - crazyBaboon - 10-24-2017

 I get the following error in the “make -j3 && make -j3 install” stage (link https://ninedegreesbelow.com/photography/build-gimp-in-prefix-for-artists.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?


RE: Problem installing GIMP (make stage) - crazyBaboon - 10-26-2017

(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:Problems_and_solutions


Basically, dont set the environment variable XDG_DATA_DIRS when you build your environment.



RE: Problem installing GIMP (make stage) - Ofnuts - 10-26-2017

Good to know. Thx.