Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1859 connectés 

 


Dernière réponse
Sujet : [SLACK 10] erreur de man
glor Il doit te manquer des libs pour less, tu aurais du faire une installation complète qui si tu ne connais pas les paquetages ;)

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
glor Il doit te manquer des libs pour less, tu aurais du faire une installation complète qui si tu ne connais pas les paquetages ;)
900cbr555 avec  
 
export PAGER=more    
 
ça marche bien ! merci :)
900cbr555 je ne suis pas sur cette machine là pour l'instant, je teste ça dès dimanche
 
merci !
cycojesus

et avec  

Code :
  1. $ export PAGER=most
  2. $ man hdparm

?
 
chezmoi ça marche...

900cbr555 up  :cry:
900cbr555 oui oui  
 

Citation :

bash-2.05b$ echo $PATH$
/opt/kde/bin/:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/kde/bin:/usr/local/kde/bin/:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:.

void_ppc /usr/bin est bien dans ton $PATH ?
 
echo $PATH
900cbr555 removepkg / installpkg avec le package du cd1 de slack
 

Citation :

bash-2.05b# updatedb
bash-2.05b# locate lesspipe.sh
/usr/bin/lesspipe.sh


void_ppc tu as bien le fichier lesspipe.sh d'installé ? comment tu fait pour installer le package ?
900cbr555 j'ai réinstallé le package à l'instant, le problème persiste :(
void_ppc apparement il veut son lesspipe.sh  [:urd]  
 
 
Tu as dû mal réinstaller le package less, car lesspipe.sh est bien dedans
 
 

wget -q ftp://ftp.slackware.com/pub/slackware/slackware-10.0/slackware/a/less-382-i486-1.tgz -O -| tar tvfz -
 
 
drwxr-xr-x root/root         0 2004-02-15 04:00:17 ./
drwxr-xr-x root/root         0 2004-02-15 04:00:17 usr/
drwxr-xr-x root/bin          0 2004-02-15 04:00:17 usr/bin/
-rwxr-xr-x root/bin     100924 2004-02-15 04:00:17 usr/bin/less
-rwxr-xr-x root/bin      10552 2004-02-15 04:00:17 usr/bin/lesskey
-rwxr-xr-x root/bin       5132 2004-02-15 04:00:17 usr/bin/lessecho
-rwxr-xr-x root/bin       2826 2004-02-15 04:00:17 usr/bin/lesspipe.sh
drwxr-xr-x root/root         0 2004-02-15 04:00:17 usr/doc/
drwxr-xr-x root/root         0 2004-02-15 04:00:17 usr/doc/less-382/
-rw-r--r-- root/root     19327 2004-02-04 06:01:44 usr/doc/less-382/NEWS
-rw-r--r-- root/root      1271 2004-02-04 05:52:26 usr/doc/less-382/LICENSE
-rw-r--r-- root/root      9992 2004-02-04 06:01:44 usr/doc/less-382/README
-rw-r--r-- root/root     18010 2004-02-04 05:52:26 usr/doc/less-382/COPYING
drwxr-xr-x root/root         0 2004-02-15 04:00:17 usr/man/
drwxr-xr-x root/root         0 2004-02-15 04:00:17 usr/man/man1/
-rw-r--r-- root/root     18190 2004-02-15 04:00:17 usr/man/man1/less.1.gz
-rw-r--r-- root/root      3735 2004-02-15 04:00:17 usr/man/man1/lesskey.1.gz
drwxr-xr-x root/root         0 2004-02-15 04:00:17 install/
-rw-r--r-- root/root       841 2004-02-15 04:00:17 install/slack-desc

900cbr555

Citation :


...
SIG_DFL}, 8) = 0
rt_sigaction(SIGWINCH, {0x8058a80, [WINCH], SA_RESTORER|SA_RESTART, 0xb7e98078},                                                                  {SIG_DFL}, 8) = 0
pipe([4, 5])                            = 0
vfork()                                 = 8971
close(5)                                = 0
read(4, /bin/bash: line 1: lesspipe.sh: command not found
"", 1)                          = 0
close(4)                                = 0
wait4(8971, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 8971
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64("/var/log/dmesg", {st_mode=S_IFREG|0644, st_size=13066, ...}) = 0
stat64("/var/log/dmesg", {st_mode=S_IFREG|0644, st_size=13066, ...}) = 0
open("/var/log/dmesg", O_RDONLY|O_LARGEFILE) = 4
_llseek(4, 1, [1], SEEK_SET)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "Linux version 2.6.8.1-mm1 (root@"..., 64) = 64
brk(0)                                  = 0x8066000
brk(0x8067000)                          = 0x8067000
_llseek(4, 1, [1], SEEK_SET)            = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=13066, ...}) = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
brk(0)                                  = 0x8067000
brk(0x8069000)                          = 0x8069000
write(1, "\0337\33[?47h\33=\33[24;1H\33[K", 20) = 20
fsync(3)                                = -1 EINVAL (Invalid argument)
ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B4800 -opost isig icanon -echo ...}) = -1                                                                  ENOTTY (Inappropriate ioctl for device)
exit_group(1)                           = ?

void_ppc mmm balance voir les disons 10 dernières lignes de la sortie de la commande strace /usr/bin/less
900cbr555

Citation :


/usr/bin/less: symbolic link to `/usr/local/bin/less'

void_ppc et fait maintenant un file /usr/bin/less
900cbr555

Citation :


bash-2.05b$ file `which less`
/usr/local/bin/less: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

void_ppc tape la commande complète que je t'ai donnée :o
900cbr555 /usr/local/bin/less
 
mais il est aussi dans /usr/bin/less
void_ppc heu non,  
 
fait voir plutôt ça :
 
file `which less`
900cbr555 tu veux tout le résultat ?  :pt1cable:
void_ppc strace less /var/log/machin ?
900cbr555 pour couper court à la prochaine question :
 

Citation :

bash-2.05b# ldd /usr/bin/less
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7f9e000)
        libc.so.6 => /lib/libc.so.6 (0xb7e6f000)
        libgpm.so.1 => /lib/libgpm.so.1 (0xb7e69000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fec000)


 

Citation :

bash-2.05b# less .fluxbox/menu
sh: line 1: lesspipe.sh: command not found

900cbr555 j'ai déja testé ... le bzip2 marche bien mais un "cat **** | less -is" n'affiche rien  :cry:  
 
NB: j'ai déja essayé d'enlever le package less et de le remettre
lukefab essaie de décomposer la commande et regarde les messages d'erreurs :
 /bin/bzip2 -c -d /usr/man/cat8/hdparm.8.bz2
et
/usr/bin/less -is <fichier texte tout con>
900cbr555 Salut à tous,
 
depuis quelques temps j'ai un beau gros message d'erreur quand j'essaye de voir un man  
 

Citation :


bash-2.05b# man hdparm
Formatting page, please wait...
Error executing formatting or display command.
System command /bin/bzip2 -c -d /usr/man/cat8/hdparm.8.bz2 | /usr/bin/less -is exited with status 256.


 
 :whistle:  
 
merci de votre aide  
 
 


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)