Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk compilation error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
poweratmax
n00b
n00b


Joined: 11 Aug 2005
Posts: 2
Location: IIT Bombay, Mumbai, India

PostPosted: Thu Aug 11, 2005 1:17 pm    Post subject: gtk compilation error Reply with quote

I am facing problem compiling gtk on my gentoo. My make.conf file is

USE="gtk gtk2 alsa arts kde X -gnome"
CFLAGS="-O2 -mcpu=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp://ftp.iitb.ac.in/os/gentoo"

ACCEPT_KEYWORDS="~x86"

After compilation following error message comes:

./stock_color_picker_25.
png > gtkstockpixbufs.h || \
( rm -f gtkstockpixbufs.h && false )
/bin/sh: line 1: 8988 Illegal instruction GDK_PIXBUF_MODULE_FILE=../../gdk-
pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource --raw --build-list
stock_about_16 ./stock_about_16.png stock_about_24 ./stock_about_24.png stock_a
dd_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 .
/stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png sto
ck_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_l
eft_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png
stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20
.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_mul
tiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_botto
m_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png
stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_c
lose_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png
stock_color_picker_25 ./stock_color_picker_25.png >gtkstockpixbufs.h
make[4]: *** [gtkstockpixbufs.h] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk/stoc
k-icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8'
make: *** [all] Error 2

Please tell what can be the problem ! :?:

I have tried emerge with -auDv option but still its giving same error.
Back to top
View user's profile Send private message
bkunlimited
l33t
l33t


Joined: 18 Jun 2004
Posts: 672

PostPosted: Thu Aug 11, 2005 1:44 pm    Post subject: Reply with quote

try to use the stable version of gtk. Remove the "ACCEPT_KEYWORDS=~x86" line from your make.conf. Generally it is not a good idea to always accept ~x86 packages. If you want ~x86 packages put them into /etc/portage/package.keywords.
Back to top
View user's profile Send private message
poweratmax
n00b
n00b


Joined: 11 Aug 2005
Posts: 2
Location: IIT Bombay, Mumbai, India

PostPosted: Thu Aug 11, 2005 3:37 pm    Post subject: :( Reply with quote

Actually I have tried other stable versions of GTK also and that ~x86 was added recently when I wasnt able to figure about the bug. Is there anything else you can suggest me check ?
Back to top
View user's profile Send private message
olansley
n00b
n00b


Joined: 26 Jun 2005
Posts: 10

PostPosted: Thu Oct 13, 2005 5:26 pm    Post subject: Reply with quote

Did you manage to fix the problem? I am also having trouble compiling gtk+. The error which I am getting is:

GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource \
--raw --build-list stock_about_16 ./stock_about_16.png stock_about_24 ./stock_about_24.png stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_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 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_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 )
/bin/sh: line 1: 27617 Segmentation fault GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource --raw --build-list stock_about_16 ./stock_about_16.png stock_about_24 ./stock_about_24.png stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_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 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_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
make: *** [gtkstockpixbufs.h] Error 1


I have tried emerging all different versions of gtk+ and get the same error. I have the recomended dependency versions, as on the gtk+ website. I have also tried compiling with limited/no CFLAGS and LDFLAGS.

I tried to manually perform the task, and the segmentation fault only occurs on certian stock icons and not others (e.g. stock_cancel_20.png). I have no idea why it is happening, any help is greatly appreciated.
Back to top
View user's profile Send private message
Soef
n00b
n00b


Joined: 17 Mar 2005
Posts: 41

PostPosted: Fri Oct 14, 2005 7:20 am    Post subject: Reply with quote

I've got the same error, but not ~86. Just x86...

Package: gtk+-2.6.8

Anyone any news on this one?
_________________
Bleeding edge is our downfall...
Back to top
View user's profile Send private message
mrprefect
n00b
n00b


Joined: 23 Oct 2005
Posts: 3

PostPosted: Sun Oct 23, 2005 10:31 pm    Post subject: Reply with quote

incase anyone is still having this issue I did

emerge libpng

before the gtk package and it worked after that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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