Gentoo Archives: gentoo-user

From: Kerin Millar <kerframil@×××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python and man problems
Date: Mon, 04 Aug 2014 16:50:27
Message-Id: 53DFB9BF.5010006@fastmail.co.uk
In Reply to: [gentoo-user] Python and man problems by Roger Cahn
1 On 04/08/2014 15:46, Roger Cahn wrote:
2 >
3 > Hello all,
4 >
5 > I encounter some problems with python compiling and man errors.
6 >
7 > 1- Python :
8 >
9 > I can't emerge some python packages (ie pyorbit, libmpeg2,
10 > libbonobo-python, etc...).
11 > Even the installed python packages can't emerge anymore.
12 > Here is the error message for libgnome-python-2.28.1-r1
13 > (USE="-examples" PYTHON_TARGETS="-python2_7%")
14
15 Your PYTHON_TARGETS setting does not make sense. If you want python
16 modules to target python-2.7 then define:
17
18 PYTHON_TARGETS="python2_7"
19
20 Otherwise, define "python3.3" (or even both, space separated).
21
22 >
23 > *ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure
24 > phase):
25 > * No supported Python implementation in PYTHON_TARGETS.
26 > *
27 > * Call stack:
28 > * ebuild.sh, line 93: Called src_configure
29 > * environment, line 4118: Called gnome-python-common-r1_src_configure
30 > * environment, line 2078: Called python_parallel_foreach_impl
31 > 'gnome2_src_configure' '--disable-allbindings' '--enable-gnome'
32 > '--enable-gnomeui'
33 > * environment, line 3947: Called _python_obtain_impls
34 > * environment, line 702: Called _python_validate_useflags
35 > * environment, line 758: Called die
36 > * The specific snippet of code:
37 > * die "No supported Python implementation in PYTHON_TARGETS."
38 > *
39 >
40
41 As above.
42
43 > Is it a locale problem ?
44 >
45 > Here is my /etc/env.d/02locale
46 >
47 > LANG=fr_FR.utf8
48 > LC_ALL=""
49 >
50 > When i run locale, i get :
51 >
52 > $ locale
53 > LANG=fr_FR.UTF-8
54 > LC_CTYPE="fr_FR.UTF-8"
55 > LC_NUMERIC="fr_FR.UTF-8"
56 > LC_TIME="fr_FR.UTF-8"
57 > LC_COLLATE="fr_FR.UTF-8"
58 > LC_MONETARY="fr_FR.UTF-8"
59 > LC_MESSAGES="fr_FR.UTF-8"
60 > LC_PAPER="fr_FR.UTF-8"
61 > LC_NAME="fr_FR.UTF-8"
62 > LC_ADDRESS="fr_FR.UTF-8"
63 > LC_TELEPHONE="fr_FR.UTF-8"
64 > LC_MEASUREMENT="fr_FR.UTF-8"
65 > LC_IDENTIFICATION="fr_FR.UTF-8"
66 > LC_ALL=
67 >
68 > 2- man does not work anymore ; i get the error message :
69 >
70 > ie : $man emerge (sorry, it's in french)
71
72 You can make it English by prefixing the command with LC_MESSAGES=C.
73
74 > *man emerge
75 > sh: most : commande introuvable
76 > Erreur pendant l'ex�cution du formatage ou de l'affichage.
77 > Le syst�me retourne pour (cd "/usr/share/man" && (echo ".ll 11.1i"; echo
78 > ".nr LL 11.1i"; echo ".pl 1100i"; /bin/bzip2 -c -d
79 > '/usr/share/man/man1/emerge.1.bz2'; echo ".\\\""; echo ".pl \n(nlu+10")
80 > | /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.
81 > Il n'y a pas de page de manuel pour emerge.
82 > *
83 > I recompiled the sys-apps/man package with success but the error is
84 > still there.
85
86 most ... command not found. I've never heard of such a command. It looks
87 as though PAGER="most" is defined in your environment. In Gentoo, it is
88 normally set as "/usr/bin/less".
89
90 --Kerin

Replies

Subject Author
Re: [gentoo-user] Python and man problems Kerin Millar <kerframil@×××××××××××.uk>