Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1929 - Gnome icon editor won't compile
Summary: Gnome icon editor won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
: 1934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-18 23:11 UTC by Todd
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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 Todd 2002-04-18 23:11:21 UTC
Gnome Icon editor can't find gdk-pixbuf/gdk-pixbuf.h.  Which is located in
/usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf.h on my system


make[3]: Entering directory
`/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0/src/widgets'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include       
-DG_LOG_DOMAIN=\"GNOME-IconEditor\" -g -Wall        -Wmissing-prototypes
-Wmissing-declarations    -march=i686 -O3 -pipe  -c ie-model.c
In file included from ie-model.c:7:
ie-model.h:10: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from ie-model.c:7:
ie-model.h:41: parse error before `GdkPixbuf'
ie-model.h:41: warning: no semicolon at end of struct or union
ie-model.h:54: parse error before `GdkPixbuf'
ie-model.h:59: parse error before `GdkPixbuf'
ie-model.c: In function `ie_model_get_type':
ie-model.c:55: sizeof applied to an incomplete type
ie-model.c: In function `ie_model_init':
ie-model.c:111: dereferencing pointer to incomplete type
ie-model.c:113: dereferencing pointer to incomplete type
ie-model.c:114: dereferencing pointer to incomplete type
ie-model.c:115: dereferencing pointer to incomplete type
ie-model.c:118: dereferencing pointer to incomplete type
ie-model.c:120: dereferencing pointer to incomplete type
ie-model.c: At top level:
ie-model.c:126: parse error before `GdkPixbuf'
ie-model.c:127: warning: no previous prototype for `ie_model_new'
ie-model.c: In function `ie_model_new':
ie-model.c:131: dereferencing pointer to incomplete type
ie-model.c:131: `width' undeclared (first use in this function)
ie-model.c:131: (Each undeclared identifier is reported only once
ie-model.c:131: for each function it appears in.)
ie-model.c:132: dereferencing pointer to incomplete type
ie-model.c:132: `height' undeclared (first use in this function)
ie-model.c:134: `pb' undeclared (first use in this function)
ie-model.c:136: dereferencing pointer to incomplete type
ie-model.c:136: warning: implicit declaration of function `gdk_pixbuf_new'
ie-model.c:140: dereferencing pointer to incomplete type
ie-model.c:140: dereferencing pointer to incomplete type
ie-model.c:140: warning: passing arg 1 of `memset' makes pointer from integer
without a cast
ie-model.c:142: dereferencing pointer to incomplete type
ie-model.c:144: dereferencing pointer to incomplete type
ie-model.c:144: warning: implicit declaration of function `gdk_pixbuf_add_alpha'
ie-model.c:145: dereferencing pointer to incomplete type
ie-model.c:145: dereferencing pointer to incomplete type
ie-model.c: In function `ie_model_ref':
ie-model.c:171: dereferencing pointer to incomplete type
ie-model.c: In function `ie_model_unref':
ie-model.c:180: dereferencing pointer to incomplete type
ie-model.c:182: dereferencing pointer to incomplete type
ie-model.c: At top level:
ie-model.c:188: parse error before `GdkPixbuf'
ie-model.c:189: warning: no previous prototype for `ie_model_set_from_pixbuf'
ie-model.c: In function `ie_model_set_from_pixbuf':
ie-model.c:190: `GdkPixbuf' undeclared (first use in this function)
ie-model.c:190: `newpb' undeclared (first use in this function)
ie-model.c:190: warning: statement with no effect
ie-model.c:191: parse error before `rowstride'
ie-model.c:194: `model' undeclared (first use in this function)
ie-model.c:196: `pixbuf' undeclared (first use in this function)
ie-model.c:197: warning: implicit declaration of function `gdk_pixbuf_get_width'
ie-model.c:198: warning: implicit declaration of function `gdk_pixbuf_get_height'
ie-model.c:201: `pixels' undeclared (first use in this function)
ie-model.c:202: `rowstride' undeclared (first use in this function)
ie-model.c:205: warning: passing arg 2 of `memcpy' makes pointer from integer
without a cast
ie-model.c:206: warning: implicit declaration of function `gdk_pixbuf_unref'
ie-model.c: In function `ie_model_set_pixel':
ie-model.c:224: dereferencing pointer to incomplete type
ie-model.c:225: dereferencing pointer to incomplete type
ie-model.c:227: dereferencing pointer to incomplete type
ie-model.c:227: warning: assignment makes pointer from integer without a cast
ie-model.c:228: dereferencing pointer to incomplete type
ie-model.c: At top level:
ie-model.c:242: warning: no previous prototype for `ie_model_get_pixel'
ie-model.c: In function `ie_model_get_pixel':
ie-model.c:244: dereferencing pointer to incomplete type
ie-model.c:246: dereferencing pointer to incomplete type
ie-model.c:246: warning: assignment makes pointer from integer without a cast
make[3]: *** [ie-model.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0/src/widgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 15, Exitcode 2
!!! (no error message)

!!! emerge aborting on 
/usr/portage/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild .
bash-2.05a#
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-19 14:18:33 UTC
*** Bug 1934 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-19 14:19:33 UTC
Ok lads,  just as a test -- was everyone able to successfully merge gnome-libs
(1.4.1.5 I think is the newest one)?
Comment 3 Todd 2002-04-20 01:13:26 UTC
gnome-base/gnome-libs-1.4.1.5 * is merged on my setup.
Comment 4 Tim Newell 2002-04-23 23:04:21 UTC
After I emerge gnome then it compiled fine.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 10:26:51 UTC
Todd,

do me a favour and add the "gnome" USE flag into /etc/make.conf then remerge
gdk-pixbuf,.
then feel free to remove the USE flag.  Then try and emerge the icon editor.
Comment 6 Todd 2002-04-25 00:54:34 UTC
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> media-libs/gdk-pixbuf-0.17.0 merged.
 with USE looking like this USE="gnome -kde -esd -kdelibs -arts -nls -perl
-python -avi mmx 3dnow dga -gpm gtk -nas opengl sdl X" 
then try to emerge gnome-icon edit and the compile still fails.
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-30 02:40:50 UTC
Matt, this is a gnome thing -- your area :P
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-01 17:12:00 UTC
add:

CFLAGS="${CFLAGS} -I/usr/include/gdk-pixbuf-1.0"

in src_compile().
Comment 9 Matthew Kennedy (RETIRED) gentoo-dev 2002-05-01 23:29:27 UTC
added azarah's suggestion