Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mplayer and emerge mozilla fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
johnny_martins00
Apprentice
Apprentice


Joined: 01 Jun 2006
Posts: 293

PostPosted: Mon Oct 02, 2006 1:15 pm    Post subject: emerge mplayer and emerge mozilla fails Reply with quote

im trying to emerge mozilla-firefox and mplayer but both emergs fails for the same reasons..
Code:

/usr/X11R6/lib/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create_for_bitmap'
/usr/X11R6/lib/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create'
/usr/X11R6/lib/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_set_size'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

!!! ERROR: media-video/mplayer-1.0_pre8 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mplayer-1.0_pre8.ebuild, line 445:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.


here is my emerge --info
Code:

localhost johnny # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 17:00:09 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://darkstar.ist.utl.pt/pub/gentoo/ http://mirror.isp.net.au/ftp/pub/gentoo/ "
LINGUAS="pt"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa berkdb bitmap-fonts cairo cdr cli crypt cups dlloader dri dvd elibc_glibc fortran gdbm gnome gpm gtk input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kde kernel_linux libg++ linguas_pt ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python qt readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Tzad
n00b
n00b


Joined: 02 Jan 2006
Posts: 11
Location: Trondheim, Norway

PostPosted: Mon Oct 02, 2006 3:57 pm    Post subject: Reply with quote

I guess you need to re-emerge the package where you find libgdk-x11-2.0.so (Use the command equery to find it) If that file do not belong to any gentoo package then you just might just need to remove it, so that the dynamic linker can find the correct library.

In general, you might find it useful to run the command "revdep-rebuild".
Back to top
View user's profile Send private message
johnny_martins00
Apprentice
Apprentice


Joined: 01 Jun 2006
Posts: 293

PostPosted: Mon Oct 02, 2006 6:59 pm    Post subject: Reply with quote

dorry but what is teh equery command??i allready tried equery files, list, etc, but none have found that package..
allready tried the revdep-rebuild but it didnt worked out... it gives the same error when i try to emerge mplkayer and firefox
Thk
Back to top
View user's profile Send private message
johnny_martins00
Apprentice
Apprentice


Joined: 01 Jun 2006
Posts: 293

PostPosted: Mon Oct 02, 2006 8:01 pm    Post subject: Reply with quote

anyone knows the solution for this problem?????i've read in some others forums that the problem maybe due to the ati drivers and the opengl, due to eselect opengl set ati but im not sure if that resolvs the problem... does anyone allready had this problem???
Back to top
View user's profile Send private message
Tzad
n00b
n00b


Joined: 02 Jan 2006
Posts: 11
Location: Trondheim, Norway

PostPosted: Tue Oct 03, 2006 7:35 am    Post subject: Reply with quote

Do this command:
Code:
equery b libgdk-x11-2.0.so

to see which package the file libgdk-x11-2.0.so belongs to.

If the file do not belong to any package, it might be that it "masks" the correct library the dynamic linker is trying to find when linking the mplayer program.

I do not know if that is the problem, that is just my guess.
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Tue Oct 03, 2006 11:20 am    Post subject: Reply with quote

The library is part of x11-libs/gtk+-2.*. The problem in the library seems to be related to x11-libs/cairo. Try an 'emerge -1 cairo gtk+'.
Back to top
View user's profile Send private message
johnny_martins00
Apprentice
Apprentice


Joined: 01 Jun 2006
Posts: 293

PostPosted: Wed Oct 04, 2006 9:31 am    Post subject: Reply with quote

i tried but...
Code:

* Please re-emerge x11-libs/cairo with the X USE flag set

!!! ERROR: x11-libs/gtk+-2.8.19 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  gtk+-2.8.19.ebuild, line 57:   Called die

!!! cairo needs the X flag set
!!! If you need support, post the topmost build error, and the call stack if relevant.
and some times it teels me to reemerge cairo with the pnp use flag...
i think i allready reemerged 10 times, every time that i try to emerge something it gives an erro in cairo use flag.. allways..
Thk
Back to top
View user's profile Send private message
Tzad
n00b
n00b


Joined: 02 Jan 2006
Posts: 11
Location: Trondheim, Norway

PostPosted: Wed Oct 04, 2006 6:35 pm    Post subject: Reply with quote

Is there any reason then why you cannot or do not want to set the USE flag "X"?
Back to top
View user's profile Send private message
infoseeker
n00b
n00b


Joined: 18 Sep 2005
Posts: 25
Location: South Africa

PostPosted: Wed Oct 04, 2006 7:31 pm    Post subject: Reply with quote

I had same problem, and I sorted it out by adding 'X' to the make.conf 'USE' section and 'emerge cairo'.
_________________
Gentoo 2006.0
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Mon May 21, 2007 7:14 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, refer to topic "Please re-emerge [solved]".

As noted in the handbook USE flags specified via environment variables are not retained as persistent settings so, aside from when a given USE flag setting is itself transient in nature, use one of the persistent USE flag setting methods (/etc/make.conf, /etc/portage/package.use). Also, note that USE flags are case sensitive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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