Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20227 - gtk/gtk.h not being found when compilling gdk-pixbuf
Summary: gtk/gtk.h not being found when compilling gdk-pixbuf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-30 13:57 UTC by dragnet
Modified: 2003-09-28 14:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dragnet 2003-04-30 13:57:23 UTC
about halfway through the compillation of gdk-pixbuf i get this:


pixbuf-demo.c:25:21: gtk/gtk.h: No such file or directory
/* THIS IS THE CAUSE I WOULD IMAGINE ^^^^^^^ */


In file included from pixbuf-demo.c:26:
../gdk-pixbuf/gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory
In file included from ../gdk-pixbuf/gdk-pixbuf.h:35,
                 from pixbuf-demo.c:26:
../gdk-pixbuf/gdk-pixbuf-features.h:9: parse error before "gdk_pixbuf_major_version"
../gdk-pixbuf/gdk-pixbuf-features.h:9: warning: data definition has no type or
storage class
In file included from pixbuf-demo.c:26:
../gdk-pixbuf/gdk-pixbuf.h:50: parse error before '*' token
../gdk-pixbuf/gdk-pixbuf.h:53: parse error before "gpointer"
../gdk-pixbuf/gdk-pixbuf.h:64: parse error before "gpointer"
../gdk-pixbuf/gdk-pixbuf.h:72: parse error before "gdk_pixbuf_get_has_alpha"
../gdk-pixbuf/gdk-pixbuf.h:72: warning: data definition has no type or storage class
../gdk-pixbuf/gdk-pixbuf.h:74: parse error before '*' token
../gdk-pixbuf/gdk-pixbuf.h:74: warning: data definition has no type or storage class
../gdk-pixbuf/gdk-pixbuf.h:82: parse error before "gboolean"
../gdk-pixbuf/gdk-pixbuf.h:93: parse error before '*' token
../gdk-pixbuf/gdk-pixbuf.h:105: parse error before "gboolean"
../gdk-pixbuf/gdk-pixbuf.h:125: parse error before "GdkBitmap"
../gdk-pixbuf/gdk-pixbuf.h:132: parse error before "GdkDrawable"
../gdk-pixbuf/gdk-pixbuf.h:139: parse error before "GdkDrawable"
../gdk-pixbuf/gdk-pixbuf.h:149: parse error before "GdkPixmap"
../gdk-pixbuf/gdk-pixbuf.h:154: parse error before "GdkDrawable"
../gdk-pixbuf/gdk-pixbuf.h:209: parse error before "guint32"
../gdk-pixbuf/gdk-pixbuf.h:223: parse error before "guint32"
../gdk-pixbuf/gdk-pixbuf.h:244: parse error before '*' token
../gdk-pixbuf/gdk-pixbuf.h:244: warning: data definition has no type or storage
class
../gdk-pixbuf/gdk-pixbuf.h:257: parse error before "app"
../gdk-pixbuf/gdk-pixbuf.h:258: parse error before "app"
pixbuf-demo.c:59: parse error before '*' token
pixbuf-demo.c:59: warning: data definition has no type or storage class
pixbuf-demo.c:65: parse error before "load_pixbufs"
pixbuf-demo.c: In function `load_pixbufs':
pixbuf-demo.c:71: `FALSE' undeclared (first use in this function)
pixbuf-demo.c:71: (Each undeclared identifier is reported only once
pixbuf-demo.c:71: for each function it appears in.)
pixbuf-demo.c:82: `TRUE' undeclared (first use in this function)
pixbuf-demo.c: At top level:
pixbuf-demo.c:87: parse error before "expose_cb"
pixbuf-demo.c:87: parse error before '*' token
pixbuf-demo.c: In function `expose_cb':
pixbuf-demo.c:89: `guchar' undeclared (first use in this function)
pixbuf-demo.c:89: `pixels' undeclared (first use in this function)
pixbuf-demo.c:94: `event' undeclared (first use in this function)
pixbuf-demo.c:96: `widget' undeclared (first use in this function)
pixbuf-demo.c:100: `GDK_RGB_DITHER_NORMAL' undeclared (first use in this function)
pixbuf-demo.c:104: `TRUE' undeclared (first use in this function)
pixbuf-demo.c: At top level:
pixbuf-demo.c:113: parse error before "timeout"
pixbuf-demo.c:113: parse error before "data"
pixbuf-demo.c: In function `timeout':
pixbuf-demo.c:135: `GdkRectangle' undeclared (first use in this function)
pixbuf-demo.c:135: parse error before "r1"
pixbuf-demo.c:152: `r1' undeclared (first use in this function)
pixbuf-demo.c:157: `r2' undeclared (first use in this function)
pixbuf-demo.c:162: `dest' undeclared (first use in this function)
pixbuf-demo.c:178: `TRUE' undeclared (first use in this function)
pixbuf-demo.c: At top level:
pixbuf-demo.c:181: parse error before "timeout_id"
pixbuf-demo.c:181: warning: data definition has no type or storage class
pixbuf-demo.c:185: parse error before '*' token
pixbuf-demo.c: In function `main':
pixbuf-demo.c:196: `GtkWidget' undeclared (first use in this function)
pixbuf-demo.c:196: `window' undeclared (first use in this function)
pixbuf-demo.c:206: `FALSE' undeclared (first use in this function)
pixbuf-demo.c:208: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
pixbuf-demo.c:218: warning: assignment makes pointer from integer without a cast
make[2]: *** [pixbuf-demo.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gdk-pixbuf-0.22.0/work/gdk-pixbuf-0.22.0/demo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gdk-pixbuf-0.22.0/work/gdk-pixbuf-0.22.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/gdk-pixbuf-0.22.0 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86"
2. emerge gdk-pixbuf
3.

Actual Results:  
failure to find gtk/gtk.h during compile of gdk-pixbuf.

Expected Results:  
compilled and installed properly.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-05-01 05:36:26 UTC
so do you have gtk-1.2.10-* emerged and have /usr/include/gtk-1.2/gtk/gtk.h on your machine?

if you do, can you attach the complete build log. you can generate it by doing:

emerge gdk-pixbuf 2>&1 | tee /tmp/build.log 

and attaching build.log.
Comment 2 foser (RETIRED) gentoo-dev 2003-05-13 19:36:31 UTC
waiting for reply
Comment 3 dragnet 2003-05-13 19:52:46 UTC
Its been resolved, sorry to waste bugzilla space, i had -static set in CFLAGS for some reason..
Comment 4 foser (RETIRED) gentoo-dev 2003-05-13 20:18:55 UTC
is not good ;)

is also a reason we ask for 'emerge info' to be included in bugreports.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 14:15:03 UTC
reclosing