[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] Re[2]: [linux-team] ne trouve pas alors qu il



LOUVIAUX=Vincent%TGX.ISD_BSU%BELGACOM@ex2vines.is.belgacom.be wrote:
> 
> j ai bien lancé le script "wmaker.inst" et à la fin de ce même script, il
> me donne le même message d'erreur
> 
> bash: /usr/X11R6/bin/wmaker: No such file or directory
> vincent@galaxie:/home/vincent > ls -l /usr/X11R6/bin/wmaker
> -rwxr-xr-x   1 root     root       390929 Jan 14 17:27 /usr/X11R6/bin/wmaker
> -------------

C'est sans doute que  /usr/X11R6/bin/wmaker est un script et qu'il
ne trouve pas l'interpreteur definit à la premiere ligne de ce script.
Essaie un 'more /usr/X11R6/bin/wmaker'.
Enfin peut-etre pas mais c'est ce type d'erreur que provoque un
interpreteur absent dans un script.

Exemple le script 'essai' suivant:
	#!/usr/local/bin/does_not_exist
	anything
Tu rends 'essai' executable par 'chmod 777 essai' et
lorsque tu tapes (dans le repertoire ou se trouve 'essai')
'./essai' il te dit 'bash: ./essai: No such file or directory'
alors que
kuty@volvic:/volvic/USERS/kuty/ftp > ls -l essai 
-rwxrwxrwx   1 kuty     other          29 Mar 15 11:42 essai

Donc c'est peut-etre ca.

________________________________________________________________
Ludovic Kuty
Research Unit in Networking (RUN)       Phone : + 32 4 366 26 95
Institut Montefiore B28                   Fax : + 32 4 366 29 89
Sart Tilman                             Secr. : + 32 4 366 26 91
University of Liege  (ULg)
B-4000 Liege (Belgium)     E-mail: kuty@run.montefiore.ulg.ac.be
________________________________________________________________
---------
This message was send by Majordomo 1.94.3. Please repport problems to
manu@rtfm.be. If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.