After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711012 - gimpmetadata.h GFile reference halts compilation
gimpmetadata.h GFile reference halts compilation
Status: RESOLVED NOTABUG
Product: GIMP
Classification: Other
Component: libgimp
git master
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-10-28 14:09 UTC by public2
Modified: 2013-10-28 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description public2 2013-10-28 14:09:10 UTC
Compiling on openSuse 12.3 with very recent glib, gegl, babl, gexiv2. Current git code throws this make error:

Making all in libgimp
make[2]: Entering directory `/home/owner/Source/gimp/libgimp'
  CC       gimpenums.lo
In file included from ../libgimpbase/gimpbase.h:32:0,
                 from gimpenums.c:7:
../libgimpbase/gimpmetadata.h:53:51: error: unknown type name 'GFile'
../libgimpbase/gimpmetadata.h:56:51: error: unknown type name 'GFile'
make[2]: *** [gimpenums.lo] Error 1
make[2]: Leaving directory `/home/owner/Source/gimp/libgimp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/owner/Source/gimp'
make: *** [all] Error 2

On this machine, Gimp 2.9 has been successfully compiled many times, until now.
Comment 1 Michael Natterer 2013-10-28 14:17:05 UTC
The various generates gimpfooenums.c files need to be regenerated,
please make sure you have nothing important in your source tree,
then do:

git clean -xcf

and ./autogen.sh again
Comment 2 Michael Natterer 2013-10-28 14:18:47 UTC
Argh, it's "git clean -xdf", sorry :)
Comment 3 public2 2013-10-28 14:27:41 UTC
Ok with -xdf.
Comment 4 Michael Natterer 2013-10-28 14:33:37 UTC
Great :)