public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Python and man problems
       [not found] <CAHVEG0Aj67z5_FLJR4nBk8=-ry4Pw82vgFv9vA4NNw=3bCw38g@mail.gmail.com>
@ 2014-08-04 14:46 ` Roger Cahn
  2014-08-04 16:50   ` Kerin Millar
  2014-08-04 17:09   ` Alexander Kapshuk
  0 siblings, 2 replies; 14+ messages in thread
From: Roger Cahn @ 2014-08-04 14:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 7047 bytes --]


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%")

*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."
*

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)

*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.

My configuration :

$emerge --info

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, 
glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: 
Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.2
KiB Mem:     4051020 total,   1896448 free
KiB Swap:    2048280 total,   2048280 free
Timestamp of tree: Sun, 03 Aug 2014 08:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles 
merge-sync news parallel-fetch preserve-libs protect-owned sandbox 
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans 
userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo 
cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr 
emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 
jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib 
ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds 
qt3support qt4 readline sdl session spell sse sse2 ssl 
startup-notification svg tcpd tiff truetype udev udisks unicode upower 
usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias 
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host authz_owner 
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info 
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
speling status unique_id userdir usertrack vhost_alias" 
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon 
braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface 
irq load memory rrdtool swap syslog" ELIBC="glibc" 
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt 
gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore 
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" 
INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 
LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" 
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" 
RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p 
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark 
dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, 
USE_PYTHON


$eselect python list

Available Python interpreters:
   [1]   python2.7 *
   [2]   python3.3

Thank you for your help.

Cheers,
Roger











[-- Attachment #2: Type: text/html, Size: 11004 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-04 14:46 ` [gentoo-user] Python and man problems Roger Cahn
@ 2014-08-04 16:50   ` Kerin Millar
  2014-08-04 16:52     ` Kerin Millar
  2014-08-04 17:09   ` Alexander Kapshuk
  1 sibling, 1 reply; 14+ messages in thread
From: Kerin Millar @ 2014-08-04 16:50 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-04 16:50   ` Kerin Millar
@ 2014-08-04 16:52     ` Kerin Millar
  2014-08-04 18:00       ` Stroller
  0 siblings, 1 reply; 14+ messages in thread
From: Kerin Millar @ 2014-08-04 16:52 UTC (permalink / raw
  To: gentoo-user

On 04/08/2014 17:50, Kerin Millar wrote:
> On 04/08/2014 15:46, Roger Cahn wrote:

<snip>

>> *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".
>

It transpires that sys-apps/most is in portage. Emerging this package 
should fix it, if you intend to continue using it as the PAGER.

--Kerin


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-04 14:46 ` [gentoo-user] Python and man problems Roger Cahn
  2014-08-04 16:50   ` Kerin Millar
@ 2014-08-04 17:09   ` Alexander Kapshuk
  2014-08-05 12:13     ` [gentoo-user] Python and man problems_solved Roger Cahn
  1 sibling, 1 reply; 14+ messages in thread
From: Alexander Kapshuk @ 2014-08-04 17:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 8461 bytes --]

On 08/04/2014 05:46 PM, 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%")
>
> *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."
> *
>
> 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)
>
> *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.
>
> My configuration :
>
> $emerge --info
>
> Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3,
> glibc-2.19-r1, 3.14.14-gentoo x86_64)
> =================================================================
> System uname:
> Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.2
> KiB Mem:     4051020 total,   1896448 free
> KiB Swap:    2048280 total,   2048280 free
> Timestamp of tree: Sun, 03 Aug 2014 08:15:01 +0000
> ld GNU ld (GNU Binutils) 2.23.2
> app-shells/bash:          4.2_p45
> dev-java/java-config:     2.2.0
> dev-lang/python:          2.7.7, 3.3.5-r1
> dev-util/cmake:           2.8.12.2-r1
> dev-util/pkgconfig:       0.28-r1
> sys-apps/baselayout:      2.2
> sys-apps/openrc:          0.12.4
> sys-apps/sandbox:         2.6-r1
> sys-devel/autoconf:       2.13, 2.69
> sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
> sys-devel/binutils:       2.23.2
> sys-devel/gcc:            4.7.3-r1
> sys-devel/gcc-config:     1.7.3
> sys-devel/libtool:        2.4.2-r1
> sys-devel/make:           3.82-r4
> sys-kernel/linux-headers: 3.13 (virtual/os-headers)
> sys-libs/glibc:           2.19-r1
> Repositories: gentoo
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="* -@EULA"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=native -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
> CXXFLAGS="-O2 -march=native -pipe"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--autounmask=n"
> FCFLAGS="-O2 -pipe"
> FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
> merge-sync news parallel-fetch preserve-libs protect-owned sandbox
> sfperms strict unknown-features-warn unmerge-logs unmerge-orphans
> userfetch userpriv usersandbox usersync"
> FFLAGS="-O2 -pipe"
> GENTOO_MIRRORS="http://distfiles.gentoo.org"
> LANG="fr_FR.utf8"
> LC_ALL=""
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --omit-dir-times --compress --force --whole-file --delete --stats
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
> --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY=""
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2
> cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd
> dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk
> iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg
> multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
> policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl
> startup-notification svg tcpd tiff truetype udev udisks unicode upower
> usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64"
> ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
> emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
> intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
> APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions
> alias auth_basic authn_alias authn_anon authn_dbm authn_default
> authn_file authz_dbm authz_default authz_groupfile authz_host
> authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
> deflate dir disk_cache env expires ext_filter file_cache filter
> headers include info log_config logio mem_cache mime mime_magic
> negotiation rewrite setenvif speling status unique_id userdir
> usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets
> stage tables krita karbon braindump author" CAMERAS="canon ptp2"
> COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
> ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
> garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
> oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
> tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
> ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
> presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice"
> PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
> PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
> USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock
> lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
> tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
> Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
> USE_PYTHON
>
>
> $eselect python list
>
> Available Python interpreters:
>   [1]   python2.7 *
>   [2]   python3.3
>
> Thank you for your help.
>
> Cheers,
> Roger
>
>
>
>
>
>
>   
>
>
>
>
As far as your first problem goes, libgnome-python requires python2_7:
grep COMPAT libgnome-python-2.28.1-r1.ebuild
PYTHON_COMPAT=( python2_7 )

The output you supplied indicates that python2_7 is disabled for this
particular package, i.e. 'PYTHON_TARGETS="-python2_7%".

The default base profile on my stytem has:
grep ^PYTHON_TARGETS /usr/portage/profiles/base/make.defaults
PYTHON_TARGETS="python2_7 python3_3"

emerge --info output on your system seems to be the same as well.

Looks like on your system, you have python2_7 disabled somewhere. Do you
have PYTHON_TARGETS redefined in /etc/portage/make.conf?

For the package in question you need to have python2_7 enabled.

As for your second problem, as has already been pointed out, you seem to
be using a PAGER that is not currently found on your system.
Here's the man debugging output I get on my system:
man -d emerge 2>&1|sed '/bzip2/,$!d'
  (cd "/usr/share/man" && (echo ".pl 11i"; /bin/bzip2 -c -d
'/usr/share/man/man1/emerge.1.bz2') | /usr/bin/gtbl | /usr/bin/nroff
-mandoc | /usr/bin/less)

Hope this helps.


[-- Attachment #2: Type: text/html, Size: 13174 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-04 16:52     ` Kerin Millar
@ 2014-08-04 18:00       ` Stroller
  2014-08-04 23:39         ` wraeth
  2014-08-08  9:48         ` Helmut Jarausch
  0 siblings, 2 replies; 14+ messages in thread
From: Stroller @ 2014-08-04 18:00 UTC (permalink / raw
  To: gentoo-user


On Mon, 4 August 2014, at 5:52 pm, Kerin Millar <kerframil@fastmail.co.uk> wrote:
>> ...
>> 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".
> 
> It transpires that sys-apps/most is in portage. Emerging this package should fix it, if you intend to continue using it as the PAGER.

most is the best manpager I've found found - the default syntax highlighting is perfect for man pages.

You don't have to make it your default pager, you can set it separately:

$ env | grep -i page
PAGER=/usr/bin/less
MANPAGER=/usr/bin/most
$ 

Stroller.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-04 18:00       ` Stroller
@ 2014-08-04 23:39         ` wraeth
  2014-08-08  9:48         ` Helmut Jarausch
  1 sibling, 0 replies; 14+ messages in thread
From: wraeth @ 2014-08-04 23:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

On Mon, 2014-08-04 at 19:00 +0100, Stroller wrote:
> most is the best manpager I've found found - the default syntax highlighting is perfect for man pages.

Thanks for the tip! I hadn't come across `most`, and now since you
pointed to it I've set it as my global MANPAGER.

Cheers ;)

-- 
wraeth <wraeth@wraeth.id.au>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems_solved
  2014-08-04 17:09   ` Alexander Kapshuk
@ 2014-08-05 12:13     ` Roger Cahn
  2014-08-05 12:30       ` Peter Humphrey
  0 siblings, 1 reply; 14+ messages in thread
From: Roger Cahn @ 2014-08-05 12:13 UTC (permalink / raw
  To: gentoo-user


Hello all,

Thank you very much for your help: problems solved.

-PYTHON_TARGETS="python2_7" are now defined
-PAGER="most" is defined in your environment: Icompiled it again.
Now man emerge works.

Well, I'm now quite quiet...until next problem !!!
Thank you again
Cheers
Roger



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems_solved
  2014-08-05 12:13     ` [gentoo-user] Python and man problems_solved Roger Cahn
@ 2014-08-05 12:30       ` Peter Humphrey
  2014-08-05 12:50         ` Roger Cahn
  0 siblings, 1 reply; 14+ messages in thread
From: Peter Humphrey @ 2014-08-05 12:30 UTC (permalink / raw
  To: gentoo-user

On Tuesday 05 August 2014 14:13:17 Roger Cahn wrote:

> -PYTHON_TARGETS="python2_7" are now defined

I haven't followed this thread up to now, but are you setting this yourself in 
make.conf? It shouldn't be necessary: all packages that rely on python set 
their own targets - and they're best left that way too. If you twiddle with 
your targets yourself, sooner or later you'll find yourself having to 
disentangle a cat's cradle.

$ grep -i python /etc/portage/make.conf
$ 

> -PAGER="most" is defined in your environment: Icompiled it again.
> Now man emerge works.

I too was grateful for the tip about most. Thanks, Stroller.

-- 
Regards
Peter



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems_solved
  2014-08-05 12:30       ` Peter Humphrey
@ 2014-08-05 12:50         ` Roger Cahn
  0 siblings, 0 replies; 14+ messages in thread
From: Roger Cahn @ 2014-08-05 12:50 UTC (permalink / raw
  To: gentoo-user


> I haven't followed this thread up to now, but are you setting this yourself in
> make.conf? It shouldn't be necessary: all packages that rely on python set
> their own targets - and they're best left that way too. If you twiddle with
> your targets yourself, sooner or later you'll find yourself having to
> disentangle a cat's cradle.

It' not in make.conf.
Your remark is judicious   ;-)
Roger


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-04 18:00       ` Stroller
  2014-08-04 23:39         ` wraeth
@ 2014-08-08  9:48         ` Helmut Jarausch
  2014-08-08  9:52           ` Philip Webb
  1 sibling, 1 reply; 14+ messages in thread
From: Helmut Jarausch @ 2014-08-08  9:48 UTC (permalink / raw
  To: gentoo-user

On 08/04/2014 08:00:55 PM, Stroller wrote:
> It transpires that sys-apps/most is in portage. Emerging this package  
> should fix it, if you intend to continue using it as the PAGER.
> 
> most is the best manpager I've found found - the default syntax  
> highlighting is perfect for man pages.
> 

Hi,
does anybody know how to tell 'most' to scroll when I use my mouse  
wheel?

Many thanks for a hint,
Helmut



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-08  9:48         ` Helmut Jarausch
@ 2014-08-08  9:52           ` Philip Webb
  2014-08-08  9:59             ` Helmut Jarausch
  2014-08-08 10:00             ` Jacques Montier
  0 siblings, 2 replies; 14+ messages in thread
From: Philip Webb @ 2014-08-08  9:52 UTC (permalink / raw
  To: gentoo-user

140808 Helmut Jarausch wrote:
> does anybody know how to tell 'most' to scroll when I use my mouse wheel?

IIRC it's KDE which does it for me : Most runs in a Konsole.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-08  9:52           ` Philip Webb
@ 2014-08-08  9:59             ` Helmut Jarausch
  2014-08-08 10:00             ` Jacques Montier
  1 sibling, 0 replies; 14+ messages in thread
From: Helmut Jarausch @ 2014-08-08  9:59 UTC (permalink / raw
  To: gentoo-user

On 08/08/2014 11:52:30 AM, Philip Webb wrote:
> 140808 Helmut Jarausch wrote:
> > does anybody know how to tell 'most' to scroll when I use my mouse  
> wheel?
> 
> IIRC it's KDE which does it for me : Most runs in a Konsole.
> 

I'm using icewm where my mouse wheel generates button4/5 events.
Is there a general means to teach X11 to map mouse button events to key  
codes?

Thanks,
Helmut



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-08  9:52           ` Philip Webb
  2014-08-08  9:59             ` Helmut Jarausch
@ 2014-08-08 10:00             ` Jacques Montier
  2014-08-08 10:26               ` Mick
  1 sibling, 1 reply; 14+ messages in thread
From: Jacques Montier @ 2014-08-08 10:00 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Hello,

I use Terminator with XFCE and scroll works fine with mouse wheel.

Cheers,

*--*
*Jacques*


2014-08-08 11:52 GMT+02:00 Philip Webb <purslow@ca.inter.net>:

> 140808 Helmut Jarausch wrote:
> > does anybody know how to tell 'most' to scroll when I use my mouse wheel?
>
> IIRC it's KDE which does it for me : Most runs in a Konsole.
>
> --
> ========================,,============================================
> SUPPORT     ___________//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca
>
>
>

[-- Attachment #2: Type: text/html, Size: 1184 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python and man problems
  2014-08-08 10:00             ` Jacques Montier
@ 2014-08-08 10:26               ` Mick
  0 siblings, 0 replies; 14+ messages in thread
From: Mick @ 2014-08-08 10:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 305 bytes --]

On Friday 08 Aug 2014 11:00:06 Jacques Montier wrote:
> Hello,
> 
> I use Terminator with XFCE and scroll works fine with mouse wheel.

Some terminals do, some don't.  AFAIK it is not configurable in each case, but 
if anyone know how to get to work with urxvt please share.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-08-08 10:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHVEG0Aj67z5_FLJR4nBk8=-ry4Pw82vgFv9vA4NNw=3bCw38g@mail.gmail.com>
2014-08-04 14:46 ` [gentoo-user] Python and man problems Roger Cahn
2014-08-04 16:50   ` Kerin Millar
2014-08-04 16:52     ` Kerin Millar
2014-08-04 18:00       ` Stroller
2014-08-04 23:39         ` wraeth
2014-08-08  9:48         ` Helmut Jarausch
2014-08-08  9:52           ` Philip Webb
2014-08-08  9:59             ` Helmut Jarausch
2014-08-08 10:00             ` Jacques Montier
2014-08-08 10:26               ` Mick
2014-08-04 17:09   ` Alexander Kapshuk
2014-08-05 12:13     ` [gentoo-user] Python and man problems_solved Roger Cahn
2014-08-05 12:30       ` Peter Humphrey
2014-08-05 12:50         ` Roger Cahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox