Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/11/2009, à 11:13

NoRegrets

Permission denied

Bonjour,

Je dois installer le langage Lucid Synchrone sur Ubuntu.

Mais quand je lance le makefile, j'obtiens les erreurs suivantes :

cp -r bin lib man /usr/local
cp: cannot create regular file `/usr/local/bin/lucys': Permission denied
cp: cannot create regular file `/usr/local/bin/lucyc': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/numerical.ls': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/chrono.cmi': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/chrono.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/pervasives.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/string.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/array.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/list.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/sampling.annot': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/string.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/sampling.ml': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/complex.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/char.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/chrono.cmo': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/complex.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/char.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/pervasives.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/nativeint.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/random.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/sampling.cmi': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/chrono.annot': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/int64.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/int64.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/random.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/nativeint.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/collection.lsi': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/collection.ml': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/main.ml': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/chrono.ls': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/int32.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/lift.ml': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/numerical.ml': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/s.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/int32.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/graphics.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/graphics.lci': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/chrono.dcc': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/lift.ls': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/maps.ml': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/list.mli': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/sampling.cmo': Permission denied
cp: cannot create regular file `/usr/local/lib/lucid-synchrone/array.mli': Permission denied
cp: cannot overwrite non-directory `/usr/local/man' with directory `man'
make: *** [install] Error 1

Comment pourrais-je y remédier ?

Hors ligne

#2 Le 21/11/2009, à 11:42

nihiliste confirmé

Re : Permission denied

Est-ce que tu le lances en root ?

Hors ligne

#3 Le 21/11/2009, à 16:24

NoRegrets

Re : Permission denied

J'ai essayé et ça me fait aussi une petite erreur :

cp -r bin lib man /usr/local
cp: cannot overwrite non-directory `/usr/local/man' with directory `man'
make: *** [install] Error 1

Hors ligne

#4 Le 04/12/2009, à 12:36

tbourke

Re : Permission denied

J'ai créé un package pour Lucid Synchrone. Peut-être ça t'aide:
http://www.tbrk.org/distfiles/lucid-syn … 1_i386.deb

C'est aussi possible de l'installer sans accés root:

make PREFIX=$HOME install
PATH=$HOME/bin:$PATH
MANPATH=$HOME/man:$MANPATH
export LUCYLIB=$HOME/lib/lucid-synchrone

Hors ligne

#5 Le 10/12/2009, à 19:12

nihiliste confirmé

Re : Permission denied

normal t'essais d'écrire un dossier sur un lien.

Hors ligne