Thursday, October 25, 2012

Play 1.2.5 Python 3 on Gentoo problem


Problem

Now, I have error with play command (writes in python)
Here is the error :


play
  File "/opt/drieu/play/play", line 50
    print r"~        _            _ "
                                    ^
SyntaxError: invalid syntax



Solution

In fact, on my gentoo, I have Python 3.Or this command needs python 2
So you just have to change python version.
However, it's not really easy because of a bug with : eselect python set 1
It's not a bug.You just have to execute this command in root.
I will made a post on gentoo forum and I will add comment to this article after

Monday, October 8, 2012

package.use

Here is my config of package.use.It's solve the problem with ICU.
cat /etc/portage/package.use 

sys-fs/udev gudev hwdb
media-plugins/gst-plugins-meta ogg vorbis
sys-auth/pambase consolekit
media-libs/mesa gles2
sys-auth/consolekit policykit
media-libs/mesa xa
x11-libs/libdrm libkms
x11-libs/pango X
x11-libs/cairo X
=sys-apps/dbus-1.6.2 X
#=net-im/skype-4.0.0.8-r1 ~x86
=media-libs/libpng-1.5.10 apng
>=x11-libs/goffice-0.8.17-r1 gnome
=x11-libs/qt-webkit-4.8.2 icu
=dev-libs/libxml2-2.8.0-r2 python icu

Monday, October 1, 2012

grub.conf


My grub.conf :

default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.3.8-gentoo
root (hd0,0)
kernel /boot/kernel-3.3.8-gentoo root=/dev/sda3