On 04/08/2014 15:46, Roger Cahn wrote:

Hello all,

I encounter some problems with python compiling and man errors.

1- Python :

I can't emerge some python packages (ie pyorbit, libmpeg2,
libbonobo-python, etc...).
Even the installed python packages can't emerge anymore.
Here is the error message for libgnome-python-2.28.1-r1
(USE="-examples" PYTHON_TARGETS="-python2_7%")

Your PYTHON_TARGETS setting does not make sense. If you want python modules to target python-2.7 then define:

PYTHON_TARGETS="python2_7"

Otherwise, define "python3.3" (or even both, space separated).


*ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure
phase):
  *   No supported Python implementation in PYTHON_TARGETS.
  *
  * Call stack:
  *     ebuild.sh, line   93:  Called src_configure
  *   environment, line 4118:  Called gnome-python-common-r1_src_configure
  *   environment, line 2078:  Called python_parallel_foreach_impl
'gnome2_src_configure' '--disable-allbindings' '--enable-gnome'
'--enable-gnomeui'
  *   environment, line 3947:  Called _python_obtain_impls
  *   environment, line  702:  Called _python_validate_useflags
  *   environment, line  758:  Called die
  * The specific snippet of code:
  *       die "No supported Python implementation in PYTHON_TARGETS."
*


As above.

Is it a locale problem ?

Here is my /etc/env.d/02locale

LANG=fr_FR.utf8
LC_ALL=""

When i run locale, i get :

$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

2- man does not work anymore ; i get the error message :

ie : $man emerge (sorry, it's in french)

You can make it English by prefixing the command with LC_MESSAGES=C.

*man emerge
sh: most : commande introuvable
Erreur pendant l'ex�cution du formatage ou de l'affichage.
Le syst�me retourne pour (cd "/usr/share/man" && (echo ".ll 11.1i"; echo
".nr LL 11.1i"; echo ".pl 1100i"; /bin/bzip2 -c -d
'/usr/share/man/man1/emerge.1.bz2'; echo ".\\\""; echo ".pl \n(nlu+10")
| /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.
Il n'y a pas de page de manuel pour emerge.
*
I recompiled the sys-apps/man package with success but the error is
still there.

most ... command not found. I've never heard of such a command. It looks as though PAGER="most" is defined in your environment. In Gentoo, it is normally set as "/usr/bin/less".

--Kerin

Reply via email to