Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTK+ 2.06 build fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lasa
n00b
n00b


Joined: 17 May 2002
Posts: 63
Location: Stockholm, Sweden

PostPosted: Thu Oct 24, 2002 6:53 am    Post subject: GTK+ 2.06 build fails Reply with quote

I get Illegal operation errors when I try to compile GTK+. Looks like this:

Code:

make[3]: Entering directory `/var/tmp/portage/gtk+-2.0.6-r2/work/gtk+-2.0.6/demos'
(topdir=`cd .. && pwd` ; curdir=`pwd` ; \
  cd . &&                                    \
      GDK_PIXBUF_MODULEDIR=$topdir/gdk-pixbuf/.libs $topdir/gdk-pixbuf/gdk-pixbuf-csource --build-list \
        apple_red apple-red.png gnome_foot gnome-foot.png >$curdir/test-inline-pixbufs.h)
make[3]: *** [test-inline-pixbufs.h] Error 132
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.0.6-r2/work/gtk+-2.0.6/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.0.6-r2/work/gtk+-2.0.6/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.0.6-r2/work/gtk+-2.0.6'
make: *** [all-recursive-am] Error 2

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


The funny thing is that if I try to emerge gdk-pixbuf that build will also die with the same kind of error, but when using convertrgb. I have an Athlon 1.33 GHz system and used the stage3-athlon tarball. Compiled my system (and everything else worked) with -march=athlon-4 -mcpu=athlon-4 and -fomit-frame-pointer. Now, since this was an illegal operation I had the system do an emerge -e world overnight with -march=athlon -mcpu=athlon and no -fomit-frame-pointer in an attempt to resolve the problem, but GTK+ won't compile today either. I also tried -march=i686 -mcpu=i686 without any luck.

If anyone has got any ideas I would be thankful.
Back to top
View user's profile Send private message
lasa
n00b
n00b


Joined: 17 May 2002
Posts: 63
Location: Stockholm, Sweden

PostPosted: Sun Oct 27, 2002 9:37 pm    Post subject: Reply with quote

Here's what I did to solve the problem. Change the flags in make.conf:
-march=athlon -mcpu=athlon -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow
and after that I did an emerge -e world.

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