[/b]
this is my first post in a forum and my english is poor, my apologists for same error from my self.
well,
I'm trying to install the ruby-gtk2 package in my system but the ruby-glib2 break on emerge.
This is the error message:
Code: Select all
checking for rb_define_alloc_func()... yes
checking for rb_block_proc()... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
checking for gobject-2.0... yes
checking for gthread-2.0... yes
checking for G_PLATFORM_WIN32... no
checking for g_spawn_close_id()... no
checking for g_thread_init()... yes
checking for g_main_depth()... yes
checking for g_listenv()... yes
checking for rb_check_array_type()... yes
checking for rb_exec_recursive()... no
checking for yarv.h... no
creating glib-enum-types.c
creating glib-enum-types.h
creating Makefile
make[1]: Entering directory `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=opteron -O2 -pipe -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c rbglib_win32.c
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=opteron -O2 -pipe -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c rbglib_source.c
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=opteron -O2 -pipe -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c rbgobj_boxed.c
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=opteron -O2 -pipe -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c rbglib_pollfd.c
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux -fPIC -march=opteron -O2 -pipe -fno-strict-aliasing -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c rbglib_maincontext.c
rbglib_maincontext.c: In function ‘timeout_add_seconds’:
rbglib_maincontext.c:346: error: too many arguments to function ‘g_timeout_add_seconds’
make[1]: *** [rbglib_maincontext.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0/work/ruby-gnome2-all-0.16.0/glib/src'
make: *** [all] Error 2Code: Select all
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Dual-Core AMD Opteron(tm) Processor 2212
Timestamp of tree: Mon, 24 Sep 2007 01:30:08 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo "
LANG="en_US.utf8"
LINGUAS="pt_BR ja en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/bangert /usr/local/layman/xeffects /usr/local/layman/xeffects-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amd64 amr anthy apache2 apm avahi bash-completion berkdb bitmap-fonts bonjour branding bzip2 cairo caps cddb cdparanoia cdr cjk cli cracklib crypt cups curl dbus device-mapper dga dia disk-partition djbfft djvu dmx dri dts dvd dvdr dvi emerald encode epydoc examples expat fam fastcgi ffmpeg firefox flac foomaticdb fortran gdbm gimp glitz gnome gnome-print gnutls gpm graphviz groupwise gs gstreamer gtk hal hdri howl howl-compat iconv idn ieee1394 imagemagick imlib inkjar isdnlog jbig jpeg jpeg2k krb4 lcms libcaca libedit libnotify libsexy mad meanwhile midi mmap mmx mng modplug motif mozdevelop mp3 mpeg mpm-prefork msn mudflap musepack ncurses neXt netboot network-cron nfs nls nptl nptlonly nsplugin nvtv ogg openal openexr opengl openmp optimisememory pam pango paste64 pcre pdf perl pg-intdatetime png postgres postscript ppds pppd python q32 q8 qq readline reflection rtsp ruby rubytests samba sasl scanner sdl session shout silc skins slang smp sound spl sqlite3 sse sse2 ssl startup-notification svg svgz svk syslog tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verse vim vim-pager vim-syntax vorbis winbind wmf x264 xcb xine xinerama xml xorg xprint xulrunner xvid xvmc zephyr zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="wacom keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR ja en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Thanks
Luiz



