Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10731 - gdk-pixbuf-0.21.0 fails when trying to emerge it
Summary: gdk-pixbuf-0.21.0 fails when trying to emerge it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 10729 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-14 05:23 UTC by Carlos A. Paramio
Modified: 2003-02-04 19:42 UTC (History)
1 user (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 Carlos A. Paramio 2002-11-14 05:23:49 UTC
I've the following CFLAGS='-march=pentium3 -O3 -pipe -fomit-frame-pointers'

First error is gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory
In file included from gdk-pixbuf.h:35,
                 from gdk-pixbuf.c:30,
../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

I've tried to emerge it using CFLAGS="-I/usr/include/gtk-2.0" so gdk/gdk.h was find it. Also I tried modifying Makefile. No results.
Comment 1 Carlos A. Paramio 2002-11-14 05:25:09 UTC
*** Bug 10729 has been marked as a duplicate of this bug. ***
Comment 2 Carlos A. Paramio 2002-11-14 06:29:45 UTC
Ok, I realized that gdk-pixbuf depends on gtk-1.2, not gtk-2.0. Why emerge didn't try to install gtk-1.2 first? Now I'm compiling gtk-1.2, to try again.
Comment 3 Carlos A. Paramio 2002-11-14 06:58:42 UTC
Problem persists.
Comment 4 foser (RETIRED) gentoo-dev 2002-11-14 10:48:10 UTC
gdk-pixbuf depends on gtk-2.1 so that really shouldve been done ? Can you give
me the output of 'emerge info' and 'gtk-config --cflags --libs --version' .
Comment 5 Carlos A. Paramio 2002-11-14 15:47:05 UTC
You mean GTK-1.2, isn't it?

$ emerge info
Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r9 i686 Pentium III (Katmai)
USE="oss imlib libg++ mikmod gdbm berkdb tcpd libwww gtk -3dfx -3dnow aalib alsa
apm arts avi cdr crypt cups directfb doc dvd encode esd fbcon gif gnome gphoto2
gpm gtk2 gtkhtml java jpeg kde libgda maildir mmx motif mozilla mpeg ncurses nls
oggvorbis opengl pam pdflib perl png postgres python qt qtmt quicktime readline
ruby scanner sdl slang slp spell sse ssl svga tcltk tetex tiff truetype X xface
xml xml2 xmms xv zlib x86"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"

$ gtk-config --cflags --libs --version
1.2.10
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm
Comment 6 foser (RETIRED) gentoo-dev 2002-11-16 16:56:20 UTC
Yeah i meant 1.2 , can you attach the full output ?
Comment 7 Christopher Rude 2002-11-17 15:24:14 UTC
I had the same problem.... I emerged gnome-libs (didn't have it before) now gdk-pixbuff compiles no problem (the ebuild did not depend on gnome-libs like the older versions did... so thats why I started there ;)  I hope this helps.. 
Comment 8 foser (RETIRED) gentoo-dev 2002-11-17 16:39:17 UTC
HMm the gdk-pixbug-0.21 ebuild i have definatly depends on gnome-libs, but still
give it a try reporter.
Comment 9 foser (RETIRED) gentoo-dev 2002-11-17 16:41:50 UTC
Uhhh, i made a very silly mistake here, basicly some of the deps didn't get
checked. Please rsync and re-emerge gdk-pixbuf if it failed before.
Comment 10 Carlos A. Paramio 2002-11-17 18:41:00 UTC
I've compiled some packages since that (included gnome-libs), and gdk-pixpuf was
compiled then succesfully :-) . I'm trying now again to test the new ebuild.
Comment 11 Carlos A. Paramio 2002-11-17 19:37:26 UTC
It worked, and emerge -p -e media-libs/gdk-pixbuf returns gnome-libs-1.4.2
(between other packages), if that was previously the problem.
Comment 12 foser (RETIRED) gentoo-dev 2002-11-18 08:00:31 UTC
Ok thanks all for your help :) closing.