LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 10-03-2010, 04:15 AM   #1
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Rep: Reputation: 0
Question failed to emerge enlightenment-1.0.4


Hi. I'm trying to install enlightenment, first I tried emerge --pretend enlightenment and I didn't get any error message, but It couldn't be emerged, the cause apparently is a missing library; everything seems to be OK, until this message:

libtool: link: cannot find the library `/usr/lib/libxcb-xlib.la' or unhandled argument `/usr/lib/libxcb-xlib.la'
make[3]: *** [edox] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: x11-wm/enlightenment-1.0.4 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 5041: Called _eapi2_src_compile
* ebuild.sh, line 660: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =x11-wm/enlightenment-1.0.4',
* the complete build log and the output of 'emerge -pqv =x11-wm/enlightenment-1.0.4'.
* The complete build log is located at '/var/lib/entropy/logs/x11-wm:enlightenment-1.0.4:20101003-081914.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/enlightenment-1.0.4/temp/environment'.
* S: '/var/tmp/portage/x11-wm/enlightenment-1.0.4/work/e16-1.0.4'

>>> Failed to emerge x11-wm/enlightenment-1.0.4, Log file:

>>> '/var/lib/entropy/logs/x11-wm:enlightenment-1.0.4:20101003-081914.log'

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

-----------------------------------------------------------------------
I have the same problem to install another applications like compiz, emerald. What can I do?
 
Old 10-03-2010, 05:53 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Have a look at libxcb 1.4 upgrade guide.
 
Old 10-03-2010, 08:49 PM   #3
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I follow the "libxcb 1.4 upgrade guide", when I tried to fix broken shared libraries using the following command:

emerge --oneshot \
$(for i in x11-proto/ x11-libs/libxcb x11-libs/libX11 x11-libs/libXext \
x11-libs/libX x11-libs/xcb-util x11-libs/cairo \
x11-libs/pango x11-libs/gtk\\+ \
x11-libs/qt-gui; do \
qlist -IC $i; \
done) -av

--------------------------------------------------------------------------------------------
I get:

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "x11-libs/libXprintAppUtil".

--------------------------------------------------------------------------------------------
What can I do?
 
Old 10-04-2010, 03:55 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
In this case I'd just use lafilefixer --justfixit, then revdep-rebuild, and see if that solves anything.
 
Old 10-07-2010, 12:39 AM   #5
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I tried:
lafilefixer --justfixit
revdep-rebuild

Everything seems to be OK until this message:
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 10590: Called
* gnome2_src_configure
* environment, line 8389: Called econf
* '--enable-default-binary' '--with-x' '--with-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' '--disable-mp' '--disable-sse'
* '--with-librsvg' '--with-libtiff' '--with-wmf'
* '--disable-gtk-doc'
* ebuild.sh, line 558: 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/lib/entropy/logs/media-gfx:gimp-2.6.10:20101007-033859.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'

>>> Failed to emerge media-gfx/gimp-2.6.10,
>>> Log file:

>>> '/var/lib/entropy/logs/media-gfx:gimp-2.6.10:20101007-033859.log'

* GNU info directory index is up-to-date.
 
Old 10-07-2010, 01:09 AM   #6
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I tried:
emerge gtk+ and get the next error message:
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: x11-libs/gtk+-2.20.1-r1 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 6715: Called _eapi2_src_compile
* ebuild.sh, line 660: Called die
* The specific snippet of code:
* emake || die "emake 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/lib/entropy/logs/x11-libs:gtk+-2.20.1-r1:20101007-060149.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/lib/entropy/logs/x11-libs:gtk+-2.20.1-r1:20101007-060149.log'
 
Old 10-07-2010, 01:42 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Try to run now /usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh
 
Old 10-07-2010, 02:16 AM   #8
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by i92guboj View Post
Try to run now /usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh
It is included in the above link.

@guthan: Didn't you read and run?
 
Old 10-08-2010, 12:25 AM   #9
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Yes, I read & run the following commands:
# emerge -1av x11-proto/xcb-proto x11-libs/libxcb
# emerge -1av x11-proto/xproto x11-proto/xextproto x11-libs/libX11 x11-libs/libXext
then I ran:

/usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh

a list of "broken packages" appears on the screen (enlightenment and other apps I couldn't emerge are in that list)


I tried to "fix" the broken packages by running:

# emerge --oneshot \
$(for i in x11-proto/ x11-libs/libxcb x11-libs/libX11 x11-libs/libXext \
x11-libs/libX x11-libs/xcb-util x11-libs/cairo \
x11-libs/pango x11-libs/gtk\\+ \
x11-libs/qt-gui; do \
qlist -IC $i; \
done) -av

emerge: there are no ebuilds to satisfy "x11-libs/libXprintAppUtil".

then I tried:

# lafilefixer --justfixit
# revdep-rebuild

>>> Emerging (8 of 19) media-gfx/gimp-2.6.10
......
.....
......
This is where everything wrong:
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

So, I tried to emerge gtk+ manually

# emerge gtk+
.....
.....
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: x11-libs/gtk+-2.20.1-r1 failed:
* emake failed

I'm lost
 
Old 10-08-2010, 03:57 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
You can always try the brute force method and just rebuild the whole system.

Code:
$ emerge -e system && emerge -e --keep-going world
If something breaks then use:

Code:
$ emerge --resume --skipfirst
Eventually everything should link properly again. This is less than suboptimal, but it should work.
 
Old 10-10-2010, 12:50 AM   #11
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I tried to rebuild the whole system, but the I can't emerge anything related with X11...I've got the same problem with every application: libxcb-xlib
 
  


Reply

Tags
emerge, enlightenment, failed


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] failed to emerge rhythmbox 0.12.6. the_rastaman Gentoo 2 09-06-2010 04:36 PM
Failed to emerge app-admin/python-updater-0.7-r1 godi Gentoo 2 02-22-2010 04:21 AM
GENTOO : emerge PORTAGE Failed due to sandbox ade05fr Linux - Distributions 41 09-07-2009 02:14 AM
emerge kde-base/lisa-3.5.2 econf failed raim1312 Linux - Desktop 0 09-21-2006 11:31 AM
Gentoo emerge kde verification failed Maverick1182 Linux - Newbie 1 07-24-2006 04:06 AM


All times are GMT -5. The time now is 05:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration