Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to compile GIMP 2.0.0 on my LFS-6.0 system. I have the required dependencies, GTK+-2.4.1 and libart_lgpl-2.3.16. I also have libmng-1.0.7 and Python-2.3.3 installed. I am using the 'package user' method for package management, as described in the BLFS hint. When I run 'make' in my GIMP build directory, I get the following errors:
paint-funcs.c:4484: error: conflicting types for 'initial_region'
paint-funcs.h:359: error: previous declaration of 'initial_region' was here
paint-funcs.c:4484: error: conflicting types for 'initial_region'
paint-funcs.h:359: error: previous declaration of 'initial_region' was here
make[3]: *** [paint-funcs.o] Error 1
make[3]: Leaving directory `/usr/src/gimp/gimp-2.0.0/app/paint-funcs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gimp/gimp-2.0.0/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gimp/gimp-2.0.0'
Gimp-2.0.0 wouldn't compile with gcc-3.4 without being patched slightly. You could open gimp-2.0.0/app/paint-funcs/paint-funcs.c in a text editor and go to line 4483 (or therabouts) and change the line
InitialMode type)
so that it reads
CombinationMode type)
Like this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.