Portage não encontra GTK em compilações. [RESOLVIDO]

1. Portage não encontra GTK em compilações. [RESOLVIDO]

Renato
kinokrek

(usa Sabayon)

Enviado em 28/09/2010 - 03:36h

Gente, talvez já haja uma solução para o meu problema, mas eu não estou conseguindo identificá-la.
O problema é o portage/emerge. Depois da última atualização de pacotes de um Sabayon praticamente puro (i.e., praticamente sem nenhuma compilação via emerge ou portage) simplesmente não consigo instalar nada que envolva o GTK+ via emerge.
Estou aqui jogando a toalha e pedindo arrego... Agora, uma descrição detalhadíssima e a espera da ajuda de alguma boa alma.

Comecemos:

Eu já havia experimentado esse problema antes, logo depois da última atualização da distro feita com o portage e o entropy. Preciso do GIMP e Kdenlive instalados para trabalhar e simplesmente não conseguia instalá-los. Reinstalei o Sabayon, procedi com as atualizações novamente e os mesmíssimos problemas persistiram.

A instalação foi feita seguindo alguns comandos que encontrei em dicas do Alberto Neto...
Talvez aí esteja a raiz do problema sejam comandos que não valham mais para as versões mais recentes, mas sou newbiezão em Gentoo/Sabayon e não sei identificar... Dêem-me dicas e explicações, por favor, pois quero aprender e não simplesmente resolver. Olha o que fiz:

# sudo emerge --sync
# sudo emerge -v portage
# sudo layman -S
# sudo equo update
# sudo equo install entropy
# sudo equo upgrade
# sudo equo rescue spmsync



Enfim, tudo procedeu bem... Até eu tentar instalar o GIMP via portage, eis o log:


# cat /var/tmp/portage/media-gfx/gimp-2.6.10/temp/build.log
* CPV: media-gfx/gimp-2.6.10
* REPO: gentoo
* Maintainer: hanno@gentoo.org no-herd
* USE: alsa amd64 dbus elibc_glibc exif hal jpeg kernel_linux lcms mmx mng multilib pdf png python smp sse svg tiff userland_GNU wmf
>>> Unpacking source...
>>> Unpacking gimp-2.6.10.tar.bz2 to /var/tmp/portage/media-gfx/gimp-2.6.10/work
>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.6.10/work
>>> Preparing source in /var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10 ...
* Fixing OMF Makefiles ... [ ok ]
* Running elibtoolize in: gimp-2.6.10/
* Applying portage-2.2.patch ...
* Applying sed-1.5.6.patch ...
* Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10 ...
* econf: updating gimp-2.6.10/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gimp-2.6.10/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-default-binary --with-x --without-aa --with-alsa --disable-altivec --without-libcurl --with-dbus --with-hal --without-gvfs --without-gnomevfs --without-webkit --with-libjpeg --with-libexif --with-lcms --enable-mmx --with-libmng --with-poppler --with-libpng --enable-python --enable-mp --enable-sse --with-librsvg --with-libtiff --with-wmf --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for target architecture... x86_64-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for library containing strerror... none required
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether x86_64-pc-linux-gnu-gcc understands -Wdeclaration-after-statement... yes
checking whether x86_64-pc-linux-gnu-gcc understands -Wmissing-prototypes... yes
checking whether x86_64-pc-linux-gnu-gcc understands -Wmissing-declarations... yes
checking whether x86_64-pc-linux-gnu-gcc understands -Winit-self... yes
checking whether x86_64-pc-linux-gnu-gcc understands -Wpointer-arith... yes
checking whether x86_64-pc-linux-gnu-gcc understands -Wold-style-definition... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for fsync... yes
checking for difftime... yes
checking for mmap... yes
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking whether NLS is requested... yes
checking for intltool >= 0.36.3... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for iso-codes... yes
checking for BABL... yes
checking for GEGL... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.16.1... yes (version 2.24.2)
checking for GMODULE_NO_EXPORT... yes
checking for GIO... yes
checking if GLib is version 2.19.0 or newer... yes
checking for bind_textdomain_codeset... (cached) yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.12.5... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10/config.log
* ERROR: media-gfx/gimp-2.6.10 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 5168: Called gnome2_src_configure
* environment, line 2956: Called econf '--enable-default-binary' '--with-x' '--without-aa' '--with-alsa' '--disable-altivec' '--without-libcurl' '--with-dbus' '--with-hal' '--without-gvfs' '--without-gnomevfs' '--without-webkit' '--with-libjpeg' '--with-libexif' '--with-lcms' '--enable-mmx' '--with-libmng' '--with-poppler' '--with-libpng' '--enable-python' '--enable-mp' '--enable-sse' '--with-librsvg' '--with-libtiff' '--with-wmf' '--disable-gtk-doc'
* ebuild.sh, line 560: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =media-gfx/gimp-2.6.10',
* the complete build log and the output of 'emerge -pqv =media-gfx/gimp-2.6.10'.
* The complete build log is located at '/var/tmp/portage/media-gfx/gimp-2.6.10/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-2.6.10/temp/environment'.
* S: '/var/tmp/portage/media-gfx/gimp-2.6.10/work/gimp-2.6.10'


# emerge --info =media-gfx/gimp-2.6.10

Portage 2.2_rc77 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.10.1-r0, 2.6.34-sabayon x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.34-sabayon-x86_64-Intel-R-_Core-TM-_i5_CPU_M_450_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 26 Sep 2010 05:45:02 +0000
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r2
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.3::sabayon
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.65
sys-devel/automake: 1.10.2, 1.11.1
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc: 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81
virtual/os-headers: 2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/";
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-s -j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=" "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread dvi emboss encode exif fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint gmp gnutls gphoto2 gpm gsm gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick jpeg kde kdehiddenvisibility kerberos lame lcd lcms ldap libnotify live lm_sensors lzo mad mail matroska mikmod mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 rar rdesktop readline reflection reiserfs rss scanner sdl session slp speex spell sse sse2 ssl startup-notification stream svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 visualization vorbis wifi wmf x264 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" LIRC_DEVICES="audio audio_alsa serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
Package Settings
=================================================================

media-gfx/gimp-2.6.10 was built with the following:
USE="alsa dbus exif hal jpeg lcms mmx mng (multilib) pdf png python smp sse svg tiff wmf -aalib (-altivec) -curl -debug -doc -gnome -webkit"


Parece que não foi encontrado o GTK, segundo o config.log:


configure:16293: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=x86-64 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wl,-O1,--as-needed conftest.c >&5
conftest.c:49:21: error: gtk/gtk.h: No such file or directory
conftest.c: In function 'main':
conftest.c:53: warning: old-style function definition
conftest.c:55: error: 'gtk_major_version' undeclared (first use in this function)
conftest.c:55: error: (Each undeclared identifier is reported only once
conftest.c:55: error: for each function it appears in.)
conftest.c:55: error: 'gtk_minor_version' undeclared (first use in this function)
conftest.c:55: error: 'gtk_micro_version' undeclared (first use in this function)



E então... O Kdenlive.

# emerge kdenlive


Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) media-libs/mlt-0.5.4-r2
* mlt-0.5.4.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* CPV: media-libs/mlt-0.5.4-r2
* REPO: gentoo
* Maintainer: media-video@gentoo.org media-video@gentoo.org
* USE: amd64 dv elibc_glibc ffmpeg frei0r gtk jack kde kernel_linux melt multilib python qt4 sdl sse sse2 userland_GNU vorbis xine xml
>>> Unpacking source...
>>> Unpacking mlt-0.5.4.tar.gz to /var/tmp/portage/media-libs/mlt-0.5.4-r2/work
>>> Source unpacked in /var/tmp/portage/media-libs/mlt-0.5.4-r2/work
>>> Preparing source in /var/tmp/portage/media-libs/mlt-0.5.4-r2/work/mlt-0.5.4 ...
* Applying mlt-0.5.4-asneeded.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/mlt-0.5.4-r2/work/mlt-0.5.4 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gpl --enable-motion-est --disable-debug --enable-dv --enable-sse --enable-sse2 --enable-gtk2 --enable-vorbis --enable-sdl --enable-jackrack --enable-avformat --enable-frei0r --enable-melt --disable-resample --enable-xml --enable-xine --enable-kdenlive --enable-qimage --disable-sox --avformat-swscale --disable-kino --disable-mmx --swig-languages= python
Configuring framework:
Configuring modules:
Configuring modules/avformat:
Configuring modules/core:
Configuring modules/dgraft:
Configuring modules/dv:
Configuring modules/effectv:
Configuring modules/feeds:
Configuring modules/frei0r:
Configuring modules/gtk2:
- gtk2 not found: gtk2 preview disabled
Configuring modules/jackrack:
Configuring modules/kdenlive:
Configuring modules/linsys:
Configuring modules/lumas:
Configuring modules/melt:
Configuring modules/motion_est:
Configuring modules/normalize:
Configuring modules/oldfilm:
Configuring modules/plus:
Configuring modules/qimage:
Qt version 4.x detected, will compile Qt4 qimage producer
Configuring modules/sdl:
Configuring modules/vmfx:
Configuring modules/vorbis:
Configuring modules/xine:
Configuring modules/xml:
Configuring melt:
Configuring mlt++:
Configuring swig:
GPL License Used
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/mlt-0.5.4-r2/work/mlt-0.5.4 ...
make -s -j4
In file included from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from factory.c:24:
/usr/include/gtk-2.0/gdk/gdkscreen.h:31:19: error: cairo.h: Arquivo ou diretório não encontrado
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from factory.c:24:
/usr/include/gtk-2.0/gdk/gdktypes.h:55:23: error: gdkconfig.h: Arquivo ou diretório não encontrado
In file included from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from factory.c:24:
/usr/include/gtk-2.0/gdk/gdkscreen.h:56: error: expected specifier-qualifier-list before ‘cairo_font_options_t’
/usr/include/gtk-2.0/gdk/gdkscreen.h:120: warning: type defaults to ‘int’ in declaration of ‘cairo_font_options_t’
/usr/include/gtk-2.0/gdk/gdkscreen.h:120: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkscreen.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:29,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from factory.c:24:
/usr/include/pango-1.0/pango/pangocairo.h:58: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:69: error: expected ‘)’ before ‘fonttype’
/usr/include/pango-1.0/pango/pangocairo.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pango_cairo_font_map_get_font_type’
/usr/include/pango-1.0/pango/pangocairo.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:90: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:94: warning: type defaults to ‘int’ in declaration of ‘cairo_font_options_t’
/usr/include/pango-1.0/pango/pangocairo.h:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:102: error: expected declaration specifiers or ‘...’ before ‘PangoCairoShapeRendererFunc’
/usr/include/pango-1.0/pango/pangocairo.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pango_cairo_context_get_shape_renderer’
/usr/include/pango-1.0/pango/pangocairo.h:110: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:111: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:112: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:118: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:121: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:124: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:126: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:129: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:138: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:141: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:143: error: expected ‘)’ before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:146: error: expected ‘)’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gdk/gdk.h:33,
from factory.c:24:
/usr/include/gtk-2.0/gdk/gdkcairo.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:34: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:37: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:39: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:43: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:48: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:50: error: expected ‘)’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gdk/gdk.h:39,
from factory.c:24:
/usr/include/gtk-2.0/gdk/gdkdrawable.h:201: error: expected specifier-qualifier-list before ‘cairo_surface_t’
make[2]: ** [factory.o] Erro 1
make[2]: ** Esperando que outros processos terminem.
make[1]: ** [all] Erro 1
make: ** [all] Erro 1
emake failed
* ERROR: media-libs/mlt-0.5.4-r2 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4560: Called _eapi2_src_compile
* ebuild.sh, line 662: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =media-libs/mlt-0.5.4-r2',
* the complete build log and the output of 'emerge -pqv =media-libs/mlt-0.5.4-r2'.
* The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.5.4-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.5.4-r2/temp/environment'.
* S: '/var/tmp/portage/media-libs/mlt-0.5.4-r2/work/mlt-0.5.4'

>>> Failed to emerge media-libs/mlt-0.5.4-r2, Log file:

>>> '/var/tmp/portage/media-libs/mlt-0.5.4-r2/temp/build.log'

* Messages for package media-libs/mlt-0.5.4-r2:

* ERROR: media-libs/mlt-0.5.4-r2 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4560: Called _eapi2_src_compile
* ebuild.sh, line 662: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =media-libs/mlt-0.5.4-r2',
* the complete build log and the output of 'emerge -pqv =media-libs/mlt-0.5.4-r2'.
* The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.5.4-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.5.4-r2/temp/environment'.
* S: '/var/tmp/portage/media-libs/mlt-0.5.4-r2/work/mlt-0.5.4'


# emerge --info =media-libs/mlt-0.5.4-r2


Portage 2.2_rc77 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.10.1-r0, 2.6.34-sabayon x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.34-sabayon-x86_64-Intel-R-_Core-TM-_i5_CPU_M_450_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 26 Sep 2010 05:45:02 +0000
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r2
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.3::sabayon
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.65
sys-devel/automake: 1.10.2, 1.11.1
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc: 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81
virtual/os-headers: 2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/";
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-s -j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=" "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread dvi emboss encode exif fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint gmp gnutls gphoto2 gpm gsm gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick jpeg kde kdehiddenvisibility kerberos lame lcd lcms ldap libnotify live lm_sensors lzo mad mail matroska mikmod mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 rar rdesktop readline reflection reiserfs rss scanner sdl session slp speex spell sse sse2 ssl startup-notification stream svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 visualization vorbis wifi wmf x264 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" LIRC_DEVICES="audio audio_alsa serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


O config.log não diz nada relevante.

O cairo.h existe:

# find / -name cairo.h
/usr/include/cairo/cairo.h

O gdkconfig.h está no canto dele também:

# find / -name gdkconfig.h
/usr/lib64/gtk-2.0/include/gdkconfig.h

Uma tentativa de emergir o GTK+:


# emerge -av gtk+

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] x11-libs/gtk+-2.20.1-r1 USE="cups jpeg tiff xinerama (-aqua) -debug -doc (-introspection) -jpeg2k -test -vim-syntax" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

!!! The following installed packages are masked:
- net-wireless/broadcom-sta-5.60.48.36-r1 (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

- www-plugins/adobe-flash-10.2.161.22_pre20100915 (masked by: AdobeFlash-10.1 license(s))
A copy of the 'AdobeFlash-10.1' license is located at '/usr/portage/licenses/AdobeFlash-10.1'.

- dev-java/sun-jre-bin-1.6.0.21 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-libs/gtk+-2.20.1-r1
* gtk+-2.20.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* CPV: x11-libs/gtk+-2.20.1-r1
* REPO: gentoo
* Maintainer: gnome@gentoo.org
* USE: amd64 cups elibc_glibc jpeg kernel_linux multilib tiff userland_GNU xinerama
>>> Unpacking source...
>>> Unpacking gtk+-2.20.1.tar.bz2 to /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work
>>> Source unpacked in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work
>>> Preparing source in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1 ...
* Applying gtk+-2.8.0-multilib.patch ... [ ok ]
* Applying gtk+-2.14.3-limit-gtksignal-includes.patch ... [ ok ]
* Applying gtk+-2.20.1-darwin8.patch ... [ ok ]
* Applying gtk+-2.20.1-libpixbufloader-warning.patch ... [ ok ]
* Applying gtk+-2.20.1-gtkrange.patch ... [ ok ]
* Applying gtk+-2.20.1-gail_cell_type.patch ... [ ok ]
* Applying gtk+-2.20.1-GtkOffscreenWindow.patch ... [ ok ]
* Applying gtk+-2.20.1-libpng-fix.patch ... [ ok ]
* Running elibtoolize in: gtk+-2.20.1/
* Applying portage-2.2.patch ...
* Applying sed-1.5.6.patch ...
* Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1 ...
* econf: updating gtk+-2.20.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gtk+-2.20.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-gtk-doc --with-libjpeg --without-libjasper --with-libtiff --enable-xinerama --enable-cups=auto --disable-introspection --disable-papi --with-libpng --with-gdktarget=x11 --with-xinput
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for native Win32... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-c++... x86_64-pc-linux-gnu-c++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-c++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-c++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-c++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-c++... (cached) gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-c++ -E
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by x86_64-pc-linux-gnu-c++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-c++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-c++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-c++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-c++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-c++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-c++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-c++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for nm... /usr/bin/nm -B
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.23.6 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6) were not met:

Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1/config.log
* ERROR: x11-libs/gtk+-2.20.1-r1 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 3132: Called econf '--libdir=/usr/lib64' '--disable-gtk-doc' '--with-libjpeg' '--without-libjasper' '--with-libtiff' '--enable-xinerama' '--enable-cups=auto' '--disable-introspection' '--disable-papi' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
* ebuild.sh, line 560: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =x11-libs/gtk+-2.20.1-r1',
* the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-2.20.1-r1'.
* The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/environment'.
* S: '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'

>>> Failed to emerge x11-libs/gtk+-2.20.1-r1, Log file:

>>> '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'

* Messages for package x11-libs/gtk+-2.20.1-r1:

* ERROR: x11-libs/gtk+-2.20.1-r1 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 3132: Called econf '--libdir=/usr/lib64' '--disable-gtk-doc' '--with-libjpeg' '--without-libjasper' '--with-libtiff' '--enable-xinerama' '--enable-cups=auto' '--disable-introspection' '--disable-papi' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
* ebuild.sh, line 560: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =x11-libs/gtk+-2.20.1-r1',
* the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-2.20.1-r1'.
* The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/environment'.
* S: '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'


Fuçando por aí, pensei que talvez pudesse ser o GCC, já que tudo que procura não encontra e tá instalado. Atualizei para o 4.4.4-r2, a compilação foi loooonga. Novas tentativas e nada diferente.

Algumas dicas na Internet recomendavam:
fix_libtool_files.sh ${GCC_VERSION}

Então...
# fix_libtool_files.sh $4.4.4-r2

E tudo certo. Mas os mesmos problemas persistindo.

Outra dica foi:
# gcc-config 1

Idem.

Encontrei isso: http://forums.gentoo.org/viewtopic-t-318790.html

Remover ~amd64 do ACCEPT_KEYWORDS no make.conf também não funcionou.

Cheguei até a dica 3, que não se aplicava, e a partir daí não tive culhão de arriscar qualquer coisa por insegurança de lascar as coisas aqui mais ainda.
Estou há uns 5 dias tentando encontrar uma solução... Perdendo um tempo valioso com isso, enquanto o trabalho acumula.
De certa forma é teimosia, pois o GIMP foi instalado com o entropy tranquilamente.
O Kdenlive é outros 500. E 500 significa o MLT. Ele dava uns errinhos chatos quanto instalei pelo entropy, mas funcionou muitíssimo melhor via portage. Durante tentativas de fazer o som funcionar, acabei reinstalando o sistema, veio essa atualização e nunca mais nada que precise de GTK+... Foi então que cogitei que a atualização tenha fabricado essa minha cruz.

Agora está tudo isso a me aporrinhar. Não sei mais com que tentativas gastar meu tempo...

Imploro ajuda aqui - que até agora foi muito evitada e não deu em nada!


Abraços,
Renato.


  


2. Re: Portage não encontra GTK em compilações. [RESOLVIDO]

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 28/09/2010 - 08:27h

vamos por partes, estou estranhando, pq gtk+ já tem, ele é pacote essencial..já está instalado! sem GTK, nada funciona!

parece vc tem versões de bibliotecas não batendo, versões diferentes, ou antigas demais ou novas demais para algo que esteja tentando instalar

1) primeiro, definir se vc quer kdenlive, gimp, e gtk+ do portage ou do entropy? pq podem ser versões diferentes.
pelo que entendi, vc quer gimp do entropy e kdenlive do portage...

2) primeiro compare versões,poste aqui as saidas dos comandos:

$ emerge -s portage entropy gimp gtk+ kdenlive
$ equo search portage entropy gimp gtk+ kdenlive

sempre que quiser checar se entropy e portage tem versões diferentes de coisas, faça como acima, e troque gimp, gtk+ kdenlive pelo nome ou nomes dos pacotes...
fazendoi esses comandos em 2) a gente ve se seus entropy e portage são os mais novos e se há diferentes versões dos pacotes quer quer

3) vamos ver se seu sistema não tem muitas coisas quebradas:

$ revdep-rebuild --pretend
$ emerge -p @preserved-rebuild
$ equo --pretend libtest
$ equo --pretend deptest

e poste aqui as saídas dos comandos.



comentários, seus comandos iniciais:

CITAÇÂO:
# sudo emerge --sync
# sudo emerge -v portage
(ou equo install portage, tanto faz)
# sudo layman -S
# sudo equo update
# sudo equo install entropy
# sudo equo upgrade
# sudo equo rescue spmsync

estão corretos, SE vc previamente editou o /etc/entropy/client.conf, no começo e trocou em pseudodowngrades, de disable para enable...
ISSO PRECISA SEMPRE se for misturar os dois instaladores...usar portage e entropy.

parece ter gcc de portage e não gcc de entropy...

outra coisa, vc fez gcc-config 1 ( isto é setar o gcc ao antigo, 4.4.2, ou se tiver um só),vamos ver como está:

poste saida dos comandos abaixo, para a gente ver se seu sistema não está misturado:

$ gcc-config -l
$ eselect kernel list
$ eselect python list
$ uname -a

GCC neste exemplo meu:

albfneto@sabayonKDE ~ $ gcc-config -l
[1] x86_64-pc-linux-gnu-4.4.2
[2] x86_64-pc-linux-gnu-4.5.1 *

percebe? gcc de entropy é 4.4.2, gcc 4.4.4 como o seu

[ou o meu,não tente usar ainda o 4.5.1,como o meu, no momento -ele é unstable, masked originalmente, vamos consertar seu sistema antes]

e portage 77, são de sistemas onde portage foi usado.

tudo indica que algo que vc esta instalando,procura versão de gtk e outras coisas e não acha,ou pq muito antigo ou pq muito novo:
CITAÇÂO: package requirements (glib-2.0 >= 2.23.6 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6) were not met:"

vc tem dependencias desencontradas, misturadas ou broken

poste a saida dos comandos acima, para gente tentar arrumar seu sistema. é recente sua instalação ou está muito configurada, já?

o som é outra historia, o som é pulseaudio e alsa, depois a gente conserta!

não se assuste com portage, parece dificil, mas é fantástico. o problema é que é poderoso, se vc mandar detonar, ele detona mesmo! rsrsrsrsrr

legal que parece que quer aprender a a usar portage.






3. Re: Portage não encontra GTK em compilações. [RESOLVIDO]

Renato
kinokrek

(usa Sabayon)

Enviado em 28/09/2010 - 21:23h

vamos por partes, estou estranhando, pq gtk+ já tem, ele é pacote essencial..já está instalado! sem GTK, nada funciona!

parece vc tem versões de bibliotecas não batendo, versões diferentes, ou antigas demais ou novas demais para algo que esteja tentando instalar

> 1) primeiro, definir se vc quer kdenlive, gimp, e gtk+ do portage ou do entropy? pq podem ser versões diferentes.
> pelo que entendi, vc quer gimp do entropy e kdenlive do portage...

Na verdade, eu queria todos pelo portage, já que eu realmente fiquei impressionado pela diferença de desempenho que a instalação do kdenlive teve sobre a do portage. Eu usava o Kdenlive no meu micro desktop, só que pelo Kubuntu e a instalação do MLT costuma ser problemática. Ora você tem o editor sem muitos filtros funcionando, ora você tem uma usabilidade muito reduzida devido a um pequeno detalhe que não é exibido no layout... enfim. Mas o Gimp pelo Entropy tava rodando tranquilo.

> 2) primeiro compare versões,poste aqui as saidas dos comandos:

$ emerge -s portage entropy gimp gtk+ kdenlive = precedido de *
$ equo search portage entropy gimp gtk+ kdenlive = " " >>


* sys-apps/portage
Latest version available: 2.2_rc86
Latest version installed: 2.2_rc77
>> @@ Pacote: sys-apps/portage-2.2_rc77 branch: 5, [repo_sabayonlinux.org]
>> Disponível: versão: 2.2_rc77 ~ tag: NoTag ~ revisão: 0
>> Instalado: versão: 2.2_rc77 ~ tag: NoTag ~ revisão: 0
* sys-apps/entropy
Latest version installed: 0.99.50.2
>> @@ Pacote: sys-apps/entropy-0.99.50.2 branch: 5, [repo_sabayonlinux.org]
>> Disponível: versão: 0.99.50.2 ~ tag: NoTag ~ revisão: 0
>> Instalado: versão: 0.99.50.2 ~ tag: NoTag ~ revisão: 0
* media-gfx/gimp
Latest version available: 2.6.10
Latest version installed: 2.6.10
>> @@ Pacote: media-gfx/gimp-2.6.10 branch: 5, [repo_sabayonlinux.org]
>> Disponível: versão: 2.6.10 ~ tag: NoTag ~ revisão: 1
>> Instalado: versão: 2.6.10 ~ tag: NoTag ~ revisão: 1
* x11-libs/gtk+
Latest version available: 2.20.1-r1
Latest version installed: 2.20.1-r1
>> @@ Pacote: x11-libs/gtk+-2.20.1-r1 branch: 5, [repo_sabayonlinux.org]
>> Disponível: versão: 2.20.1-r1 ~ tag: NoTag ~ revisão: 1
>> Instalado: versão: 2.20.1-r1 ~ tag: NoTag ~ revisão: 1
* media-video/kdenlive
Latest version available: 0.7.7.1
Latest version installed: [ Not Installed ]
>> @@ Pacote: media-video/kdenlive-0.7.7.1 branch: 5, [repo_sabayonlinux.org]
>> Disponível: versão: 0.7.7.1 ~ tag: NoTag ~ revisão: 0
>> Instalado: versão: Não instalado ~ tag: N/D ~ revisão: N/D

BINGO! ... Tudo combina, menos a última versão do portage.
Quando se faz um #equo upgrade o entropy atualiza o portage?

> fazendoi esses comandos em 2) a gente ve se seus entropy e portage são os mais novos e se há diferentes versões dos > pacotes quer quer

> 3) vamos ver se seu sistema não tem muitas coisas quebradas:

$ revdep-rebuild --pretend


* Configuring search environment for revdep-rebuild
* Environment mismatch from previous run, deleting temporary files...

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 4% ] * broken /sbin/nfnl_osf (requires libnfnetlink.so.0)
[ 24% ] * broken /usr/bin/xgps (requires libXm.so.4)
[ 63% ] * broken /usr/lib64/libmediastreamer.la (requires /usr/lib64/libSDL.la)
[ 65% ] * broken /usr/lib64/libpoppler-qt4.la (requires /usr/lib64/qt4/libQtGui.la)
[ 66% ] * broken /usr/lib64/libSDL_gfx.la (requires /usr/lib64/libSDL.la)
[ 100% ]
* Generated new 3_broken.rr
* Assigning files to packages
* /sbin/nfnl_osf -> net-firewall/iptables
* /usr/bin/xgps -> sci-geosciences/gpsd
* /usr/lib64/libmediastreamer.la -> media-libs/mediastreamer
* /usr/lib64/libpoppler-qt4.la -> app-text/poppler-qt4
* /usr/lib64/libSDL_gfx.la -> media-libs/sdl-gfx
* Generated new 4_raw.rr and 4_owners.rr
* Cleaning list of packages to rebuild
* Generated new 4_pkgs.rr
* Assigning packages to ebuilds
* Generated new 4_ebuilds.rr
* Evaluating package order

!!! The following installed packages are masked:
- net-wireless/broadcom-sta-5.60.48.36-r1 (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

- www-plugins/adobe-flash-10.2.161.22_pre20100915 (masked by: AdobeFlash-10.1 license(s))
A copy of the 'AdobeFlash-10.1' license is located at '/usr/portage/licenses/AdobeFlash-10.1'.

- dev-java/sun-jre-bin-1.6.0.21 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

* Generated new 5_order.rr
* All prepared. Starting rebuild
emerge --oneshot --pretend app-text/poppler-qt4:0
media-libs/mediastreamer:0
media-libs/sdl-gfx:0
net-firewall/iptables:0
sci-geosciences/gpsd:0

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "app-text/poppler-qt4:0".

* revdep-rebuild failed to emerge all packages.
* you have the following choices:
* - If emerge failed during the build, fix the problems and re-run revdep-rebuild.
* - Use /etc/portage/package.keywords to unmask a newer version of the package.
* (and remove 5_order.rr to be evaluated again)
* - Modify the above emerge command and run it manually.
* - Compile or unmerge unsatisfied packages manually,
* remove temporary files, and try again.
* (you can edit package/ebuild list first)
* To remove temporary files, please run:
* rm /var/cache/revdep-rebuild/*.rr


$ emerge -p @preserved-rebuild


emerge: 'preserved-rebuild' is an empty set
emerge: no targets left after set expansion


Hein???

$ equo --pretend libtest

>> @@ Teste de bibliotecas
>> @@ descartando diretório: /usr/lib64, porque está ligado simbolicamente à: /usr/lib
>> @@ descartando diretório: /lib64, porque está ligado simbolicamente à: /lib
>> @@ Coletando executáveis quebrados
>> @@ Atenção: não se preocupe com bibliotecas que são mostradas aqui mas não o são depois.
>> (56.2%) /sbin/nfnl_osf [ libnfnetlink.so.0 ]
>> (77.0%) /usr/bin/xgps [ libXm.so.4 ]
>> @@ Comparando bibliotecas/executáveis quebrados
>> @@ Estatísticas de Bibliotecas/Executáveis:
>> ## Matched:
>> /usr/bin/xgps => sci-geosciences/gpsd-2.39-r1 [sabayonlinux.org]
>> /sbin/nfnl_osf => net-firewall/iptables-1.4.8-r1 [sabayonlinux.org]

$ equo --pretend deptest

>> @@ Executando teste de dependências ...
>> @@ (1343/1343) Checando dev-libs/libnl-1.1-r2

Mais nada.


> estão corretos, SE vc previamente editou o /etc/entropy/client.conf, no começo e trocou em pseudodowngrades, de
> disable para enable...
> ISSO PRECISA SEMPRE se for misturar os dois instaladores...usar portage e entropy.

Eita! Isso eu fiz antes de reinstalar o sistema, mas não depois de reinstalá-lo. Mas, bem, eu não andei instalando muita coisa... Na verdade, se considerar as instalações da atualização, foi muita coisa, sim.
"ignore-spm-downgrades|enable", né?


> parece ter gcc de portage e não gcc de entropy...

Eu o instalei pelo portage. Na verdade, atualizei. O portage que está dando o problema.

> outra coisa, vc fez gcc-config 1 ( isto é setar o gcc ao antigo, 4.4.2, ou se tiver um só),vamos ver como está:
> poste saida dos comandos abaixo, para a gente ver se seu sistema não está misturado:

$ gcc-config -l

[1] x86_64-pc-linux-gnu-4.4.4 *

$ eselect kernel list

Available kernel symlink targets:
[1] linux-2.6.34-sabayon *

$ eselect python list

Available Python interpreters:
[1] python2.6 *

$ uname -a

Linux scarecrow 2.6.34-sabayon #1 SMP Mon Sep 20 20:58:36 UTC 2010 x86_64 Intel(R) Core(TM) i5 CPU M 450 @ 2.40GHz GenuineIntel GNU/Linux

> GCC neste exemplo meu:
>
> albfneto@sabayonKDE ~ $ gcc-config -l
> [1] x86_64-pc-linux-gnu-4.4.2
> [2] x86_64-pc-linux-gnu-4.5.1 *
>
> percebe? gcc de entropy é 4.4.2, gcc 4.4.4 como o seu
>
> [ou o meu,não tente usar ainda o 4.5.1,como o meu, no momento -ele é unstable, masked originalmente, vamos consertar > seu sistema antes]
>
> e portage 77, são de sistemas onde portage foi usado.

Não entendi isso de portage 77. Onde tem isso?

> tudo indica que algo que vc esta instalando,procura versão de gtk e outras coisas e não acha,ou pq muito antigo ou
> pq muito novo:
> CITAÇÂO: package requirements (glib-2.0 >= 2.23.6 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6) were not met:"
>
> vc tem dependencias desencontradas, misturadas ou broken
>
> poste a saida dos comandos acima, para gente tentar arrumar seu sistema. é recente sua instalação ou está muito
> configurada, já?

Nada configurada praticamente.

> o som é outra historia, o som é pulseaudio e alsa, depois a gente conserta!

O som já tá tranquilo, descobri que estava fazendo burrada.

> não se assuste com portage, parece dificil, mas é fantástico. o problema é que é poderoso, se vc mandar detonar, ele > detona mesmo! rsrsrsrsrr
>
> legal que parece que quer aprender a a usar portage.

Pôxa! Eu me apaixonei pelo portage depois do episódio do Kdenlive. Além de todos esses lances de flags e customizações estarem me fascinando... Aliás até queria saber mais sobre isso. Sugere algum tutorial ou página para os extremamente leigos como eu? (Tô chegando em Gentoo através do Sabayon, aliás acho que o diferencial da Gentoo sobre as outras distros tá no portage, não?)
E eu tô querendo muito aprender isso, MESMO! Como eu disse, eu ainda considero isso tudo como problema por teimar em usar o portage para essas instalações. Afinal, o GIMP tá belezinha pelo entropy e eu poderia mandar tudo pras cucuias e instalar tudo por ele... Ou então voltar para o Kubuntu. O que eu definitivamente não quero.

Optei pelo Sabayon no meu notebook novo, meu computador oficial, após ler tuas mensagens aqui no VOL falando sobre ele. Na verdade, eu o descobri assim. E fiquei impressionado pela fluidez que ele roda o KDE.

Aliás, Alberto, muito obrigado. Admiro a tua boa vontade em ter encarado essa minha mega mensagem super problemática (pelo menos para mim)... Acho que sentiu o peso do meu drama. Hehehehe.

Abraço!


4. Re: Portage não encontra GTK em compilações. [RESOLVIDO]

Renato
kinokrek

(usa Sabayon)

Enviado em 01/10/2010 - 22:36h

Resolvido. Veja: http://www.vivaolinux.com.br/topico/Sabayon-Linux/AMD64...-x86_64...-libs-32.../

Muito simples, na verdade. Ou não.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts