Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot emerge gdk-pixbuf-0.22.0-r3: compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
noup
l33t
l33t


Joined: 21 Mar 2003
Posts: 917

PostPosted: Sat Nov 13, 2004 7:56 pm    Post subject: cannot emerge gdk-pixbuf-0.22.0-r3: compile error Reply with quote

as the title says, i can't manage to compile the most recent version of gdk-pixbuf available in portage (which also is the most recent stable version). the last lines of the output i get are:
Quote:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include @GNOME_INCLUDEDIR@ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DPIXBUF_LIBDIR=\"/usr/lib/gdk-pixbuf/loaders\" -march=pentium4 -mcpu=i686 -O2 -pipe -fomit-frame-pointer -c gdk-pixbuf.c -fPIC -DPIC -o .libs/gdk-pixbuf.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make[3]: *** [gdk-pixbuf.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/gdk-pixbuf-0.22.0-r3 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

this looks like some bug in the makefiles. as i've read in the forums and as the error message says, the flags "-o" and "-c" are being used erroneously.
before trying to change this by hand, just thought i'dd ask if anyone's having the same problem?

thanks in advance.

EDIT: forgot to include:
Code:

noup # emerge info
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib calendar cdb cdr cpdflib crypt cups dio directfb divx4linux doc dvd dvdr emacs emacs-w3 encode esd ethereal f77 foomaticdb fortran ftp gb gd gdbm gif gimpprint gmp gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imap imlib jabber java jpeg kerberos krb4 ladcca lcms libg++ libmng libwww mad matroska mikmod mime motif mozilla mpeg msn ncurses nls oggvorbis openal opengl oss pam pdflib perl png posix python quicktime readline recode samba sasl sdl simplexml slang slp sndfile soap sockets spell ssl svga szip tcltk tcpd tiff truetype unicode usb wmf x86 xine xml xml2 xmlrpc xmms xpm xprint xv xvid zlib"

_________________
noup.


Last edited by noup on Wed Nov 17, 2004 12:16 am; edited 1 time in total
Back to top
View user's profile Send private message
purslow
n00b
n00b


Joined: 28 Sep 2003
Posts: 16
Location: Toronto

PostPosted: Sun Nov 14, 2004 9:58 am    Post subject: Reply with quote

i just had almost the same error, but without any explanation.
it was trying to create libgdk_pixbuf.la ,
then just wrote 3 "Error" lines. i had previously updated Gdbm,
which wanted a set of Revdep-rebuilds, Gdk-pixbuf being one.
Back to top
View user's profile Send private message
noup
l33t
l33t


Joined: 21 Mar 2003
Posts: 917

PostPosted: Sun Nov 14, 2004 12:39 pm    Post subject: Reply with quote

i've filled a bug at bugzilla: #71120. Still no replies, though...
_________________
noup.
Back to top
View user's profile Send private message
noup
l33t
l33t


Joined: 21 Mar 2003
Posts: 917

PostPosted: Sun Nov 14, 2004 6:30 pm    Post subject: Reply with quote

ok, i finally got it. if you look closely at the compiler output, you can see that the variable GNOME_INCLUDEDIR isn't defined, because if it was, it wouldn't appear like this (duh!). well, it should be, but somehow isn't.
to solve the problem, i emerged gnome-libs and then the variable got set.
so basicaly, my solution consists on:
Code:

#emerge gnome-libs
#emerge gdk-pixbuf

_________________
noup.
Back to top
View user's profile Send private message
purslow
n00b
n00b


Joined: 28 Sep 2003
Posts: 16
Location: Toronto

PostPosted: Mon Nov 15, 2004 12:18 am    Post subject: Reply with quote

thanx, that works for me too.
i hadn't remerged Gnome-libs as it demanded 2 sound pkgs
& i have dropped all sound support, not having a card.
however, Gnome-libs does compile ok with '--nodeps',
as do Libgnome & Libgnomeui, & dependent apps seem ok.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum