Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compile error gtk+-2.4.9-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 678

PostPosted: Sun Dec 12, 2004 9:10 am    Post subject: Compile error gtk+-2.4.9-r1 Reply with quote

While emerging I always have a error when compiling gtk+-2.4.9-r1.
Of course this bothers me, cause it keeps me from emerging certain programs.
There is no error message. I don't know how to get around this thing.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Dec 12, 2004 12:21 pm    Post subject: Reply with quote

It has to have some sort of error message, anything would be helpful. Also, please provide the output of emerge --info. The more information you provide, the more likely your problem will get fixed.
Back to top
View user's profile Send private message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 678

PostPosted: Sun Dec 12, 2004 3:46 pm    Post subject: Reply with quote

Excuse my incomplete post.

Here's what I get when trying to compile:

Code:

make[4]: *** [gtkstockpixbufs.h] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk/stock-icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.9-r1 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


And here's my emerge info:

Code:

Portage 2.0.51-r3 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.3.2
-gentoo-r1 ppc)
===============================================================
System uname: 2.6.9-gentoo-r1 ppc 740/750
Gentoo Base System version 1.4.16
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc ~PPC"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/co
hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /v
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.
tributions/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 berkdb dvd esd f77 fortran gdbm gif gnome gtk gtk2 imlib
 opengl pam perl png ppc python readline ssl tcpd truetype


Never had problems with emerging before.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Dec 12, 2004 5:08 pm    Post subject: Reply with quote

Okay, the actual error should be up a little higher, can you paste the text above what you've posted?

Thanks
Back to top
View user's profile Send private message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 678

PostPosted: Sun Dec 12, 2004 6:46 pm    Post subject: Reply with quote

Hope this helps:

Code:

t.h gtkwindow.h ) >> xgen-gtbh \
&& (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \
&& rm -f xgen-gtbh \
&& echo timestamp > stamp-gtktypebuiltins.h
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk'
Making all in stock-icons
make[4]: Entering directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk/stock-icons'
GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource     \
   --raw --build-list stock_add_16              ./stock_add_16.png stock_add_24                 ./st
ock_add_24.png stock_align_center_16    ./stock_align_center_16.png stock_align_center_24       ./st
ock_align_center_24.png stock_align_justify_16  ./stock_align_justify_16.png stock_align_justify_24.
/stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24   ./st
ock_align_left_24.png stock_align_right_16      ./stock_align_right_16.png stock_align_right_24 ./st
ock_align_right_24.png stock_apply_20           ./stock_apply_20.png stock_cancel_20            ./st
ock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16             ./st
ock_bottom_16.png stock_bottom_24               ./stock_bottom_24.png stock_cdrom_16            ./st
ock_cdrom_16.png stock_cdrom_24         ./stock_cdrom_24.png stock_clear_24             ./stock_clea
r_24.png stock_close_20         ./stock_close_20.png stock_close_24             ./stock_close_24.png
 stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25      ./stock_color_picker
_25.png > gtkstockpixbufs.h ||  \
           ( rm -f gtkstockpixbufs.h && false )
make[4]: *** [gtkstockpixbufs.h] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk/stock-icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.9-r1/work/gtk+-2.4.9'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.9-r1 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 678

PostPosted: Mon Dec 13, 2004 8:59 pm    Post subject: Reply with quote

Well, it works now.
The problem was a missing dependency which did't show up when simply trying an

emerge gtk+

After fiddling around for a long while I tried a

emerge -a -u gtk+

which listed the missing dependency. Then everything went on smoothly.

Sorry for not posting which dependency it was (media-lib/ ???) - can't reproduce it.

Thanks though
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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