Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 337753

Summary: media-sound/grip-3.3.1-r2 fails to build, "gnome.h: no such file or directory"
Product: Gentoo Linux Reporter: Michael Jinks <mjinks>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=media-sound/grip-3.3.1-r2'
Full output from 'emerge -v grip'
build.log

Description Michael Jinks 2010-09-17 06:00:12 UTC
Trying to install grip, the build spews a *lot* of errors before dying.  The first few lines of errors are:

  main.c:24:19: error: gnome.h: No such file or directory
  In file included from grip.h:29,
                 from main.c:27:
  cddev.h:29:18: error: glib.h: No such file or directory
  In file included from grip.h:29,
                 from main.c:27:
  cddev.h:62: error: expected specifier-qualifier-list before 'gboolean'
  cddev.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CDInitDevice'
  cddev.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CDCloseDevice'


I'll attach a full transcript of the build attempt after the bug is filed.  My system does have '/usr/include/libgnomeui-2.0/gnome.h' and two different instances of glib.h:

  /usr/include/glib-1.2/glib.h
  /usr/include/glib-2.0/glib.h


Reproducible: Always
Comment 1 Michael Jinks 2010-09-17 06:03:16 UTC
Created attachment 247693 [details]
emerge --info '=media-sound/grip-3.3.1-r2'
Comment 2 Michael Jinks 2010-09-17 06:07:44 UTC
Created attachment 247694 [details]
Full output from 'emerge -v grip'
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-09-17 07:23:17 UTC
Please attacht the build.log file, Michael
Comment 4 Michael Jinks 2010-09-17 07:44:57 UTC
Created attachment 247698 [details]
build.log
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-10-29 09:42:12 UTC
> checking GNOME_CFLAGS... Package libpng12 was not found in the
> pkg-config search path.
> Perhaps you should add the directory containing `libpng12.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'libpng12', required by 'cairo', not found


You need to recompile cairo.