Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gnome-light... 'no module named libxml2' (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sun Apr 01, 2007 12:16 pm    Post subject: emerge gnome-light... 'no module named libxml2' (solved) Reply with quote

When i try to emerge gnome-light i get this error when it tries to emerge the last 5 packages.

Traceback (most recent call last):
File "/usr/bin/xml2po", line 34, in <module>
import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/bin/xml2po", line 34, in <module>
import libxml2
ImportError: No module named libxml2
make[2]: *** [es/control-center.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [fr/control-center.xml] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/control-center-2.16.2/work/control-center-2.16.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/control-center-2.16.2/work/control-center-2.16.2'
make: *** [all] Error 2

!!! ERROR: gnome-base/control-center-2.16.2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3731: Called src_compile
ebuild.sh, line 1304: Called gnome2_src_compile
gnome2.eclass, line 71: Called die


I've searched on the internet, and what i can gather is that its some sort of python problem, so i re-emerged python, and python-updater, and it still fails.

Any suggestions?


Last edited by dahranis on Sun Apr 01, 2007 1:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sun Apr 01, 2007 12:26 pm    Post subject: Reply with quote

Sorry if you already tried this, but did you emerge dev-libs/libxml2?

-m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sun Apr 01, 2007 12:46 pm    Post subject: Reply with quote

Yeah i did.

I noticed this

libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libglade-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnome-desktop-2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnomeui-2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libstartup-notification-1.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libbonoboui-2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnome-keyring.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libxml2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnomecanvas-2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnome-2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libpopt.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libart_lgpl_2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libpangoft2-1.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgtk-x11-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgdk-x11-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libatk-1.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgdk_pixbuf-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libpangocairo-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libpango-1.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libcairo.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libbonobo-2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnomevfs-2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libbonobo-activation.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgconf-2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libORBit-2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgmodule-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgthread-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libgnome-menu.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//libglib-2.0.la' seems to be moved


Thinking that may be the problem? If so how do i fix?
I've had a look in those directories and they are there...
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sun Apr 01, 2007 12:50 pm    Post subject: Reply with quote

Code:
`/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../..//
Ugh, this makes me really nervous. Before trying anything else, could you post the results of emerge --info?
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sun Apr 01, 2007 12:53 pm    Post subject: Reply with quote

Nervous... oh... oh that just doesn't sound like i'm going to have a relaxing sunday at all...

emerge --info
Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5, 2.6.15-28 -386 i686)
=================================================================
System uname: 2.6.15-28-386 i686 unknown
Gentoo Base System version 1.12.6
Timestamp of tree: Fri, 30 Mar 2007 21:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms / /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo"
LANG="en_GB.UTF-8"
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=/di stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts asf berkdb bitmap-fonts cli cracklib crypt cups dri dvd eds emboss encode flash foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 ha l iconv imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg mtp ncurses nls ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1 -fonts vorbis win32codecs wma wmp x86 xml xorg xv zlib" ALSA_CARDS="CM8738, snd- cmipci" 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 r oute share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNE L="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy f bdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PO RTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sun Apr 01, 2007 1:30 pm    Post subject: Reply with quote

First off, if you want to just deal with this one problem right now, I think a revdep-rebuild would help locate all those files that portage complains "seem to have moved".

Then...

vladimirm wrote:
Nervous... oh... oh that just doesn't sound like i'm going to have a relaxing sunday at all...
LoL. Well it depends on what you consider relaxing I guess. :wink:

Code:
emerge --info
Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5, 2.6.15-28 -386 i686)
=================================================================
System uname: 2.6.15-28-386 i686 unknown
...
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
Ok, yeah, it looks like what I suspected is going on is happening. :(

Please disregard everything I'm going to say if you've deliberately chosen your profile/stage. There are reasons for doing what you seem to have done, but most of the time it's done in error. It may not fix your original problem directly, but fixing it sooner rather than later will head off many other issues and probably increase the responsiveness of your system.

I can't tell what CPU you're using (mobile CPU in a desktop motherboard?), but unless it's really, really old you probably should have used the i686 stage3 instead of the i386 stage3 when you did your original installation, especially since you're using mtune=i686. There are several reasons, the biggest of which is probably nptl which i386 does not support, but most modern packages want/need to work properly.

Your no-nptl profile is a result of using the i386 stage instead of the i686 one. And it will lead to improperly masked packages and unfortunate USE flags. Also, the profile probably should be one of the ones associated with the Gentoo release you used, not just the x86 default. If you're putting a DM on there, you will want to consider a desktop profile instead of the default. Based on your USE flags, that seems like your best option. I use default-linux/x86/2006.1/desktop.

As far as your CFLAGS are concerned, it's not a big issue, but have you checked out the gentoo-wiki Safe CFLAGS section? It might also behoove you to pick ones that are more closely optimized for your CPU.

So, changing your CFLAGS can be done anytime. As you emerge new packages the new optimizations will make their way through your system. Changing your profile can be done using eselect and an emerge -uDNva world. Be aware that trying to use nptl on a system built with an i386 CHOST will result in problems.

Changing your CHOST is a much more complicated process. To do so you'll need to follow the official guide. However, since you're using the old 3.4.x GCC and changing CHOST will require an emerge -e world, you might consider upgrading GCC also. And, then there is the "big however" which is that since you will want to re-emerge every package on your system, this is one of the very, very few times when many folks strongly consider saving their personal and configuration files, and re-installing from scratch (using the right stage!).

All right then, where you choose to go from here is up to you. I do recommend the re-install though. Sorry if this puts a wrench into your Sunday plans. :cry: This isn't a security issue or anything dangerous though. It's just a problem that should eventually be fixed if you want to get everything you can out of your system. You might even consider making a new partition and starting the new installation there, so that you don't have to stop using your box entirely while you wait for the new installation to be ready.

HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sun Apr 01, 2007 1:40 pm    Post subject: Reply with quote

Right ok then!

I'll start again, thank you very much for you help, hope you spend your sunday better than what i'm doing!
:)
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sun Apr 01, 2007 1:43 pm    Post subject: Reply with quote

vladimirm wrote:
Right ok then!

I'll start again, thank you very much for you help, hope you spend your sunday better than what i'm doing!
:)
What could be more fun than lots of compiling?! :wink:

GL,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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