logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 11-06-2017 17:49:21

ptitnouveau
Membre
Inscription : 30-01-2016

[Résolu] ./configure - permission non accordée

Bonjour à tous. Je suis sous Debian Jessie 8.8, amd64.

J'essaie d'installer makemkv que j'ai trouvé ici : http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224. Je suis les instructions du site mais ça marche pas.

./configure


bash: ./configure: Permission non accordée



Pourtant le fichier est bien exécutable :

 ls -l


total 652
drwxr-xr-x 2 aurelien aurelien   4096 mai   27 22:10 autoxxx
-rwxr-xr-x 1 aurelien aurelien 570346 juin  11 18:25 configure
drwxr-xr-x 5 aurelien aurelien   4096 mai   27 22:10 libabi
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 libdriveio
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 libebml
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 libffabi
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 libmakemkv
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 libmatroska
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 libmmbd
-rw-r--r-- 1 aurelien aurelien  32432 mai   27 22:10 License.txt
-rwxr-xr-x 1 aurelien aurelien   4413 mai   27 22:10 makefile.common
-rwxr-xr-x 1 aurelien aurelien   4327 mai   27 22:10 Makefile.in
drwxr-xr-x 6 aurelien aurelien   4096 mai   27 22:10 makemkvgui
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 msvc
drwxr-xr-x 4 aurelien aurelien   4096 mai   27 22:10 sstring
 



Qu'est-ce qui cloche ?

Merci pour votre aide.

Dernière modification par ptitnouveau (12-06-2017 14:49:31)

Hors ligne

#2 11-06-2017 18:09:53

Anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

Bonsoir,

bizarre, je viens de télécharger l'archive, décompressé et dans makemkv-oss-1.10.6, j'ai fait un ./configure  et ça roule.


./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for -objcopy... no
checking for objcopy... objcopy
checking for -ld... /usr/bin/ld -m elf_x86_64
checking for a BSD-compatible install... /usr/bin/install -c
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking openssl/opensslconf.h usability... yes
checking openssl/opensslconf.h presence... yes
checking for openssl/opensslconf.h... yes
checking for AES_encrypt in -lcrypto... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ffmpeg... yes
checking whether LIBAVCODEC_VERSION_MAJOR is declared... yes
checking LIBAVCODEC_VERSION_MAJOR... 57
checking for AVFrame.nb_samples... yes
checking whether AV_SAMPLE_FMT_U8P is declared... yes
checking for avcodec_encode_audio2... yes
checking for AVCodecContext.refcounted_frames... yes
checking whether avcodec_free_frame is declared... no
checking whether av_frame_free is declared... yes
checking for av_log_format_line... yes
checking for enum AVCodecID... yes
checking whether AV_CODEC_ID_NONE is declared... yes
checking whether av_frame_get_channels is declared... yes
checking whether av_frame_get_sample_rate is declared... yes
checking whether av_frame_set_channel_layout is declared... yes
checking for AVCodecParserContext.duration... yes
checking whether AV_CH_TOP_BACK_CENTER is declared... yes
checking for qt5... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h
 

Dernière modification par Anonyme (11-06-2017 18:11:38)

#3 11-06-2017 18:15:43

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

T'es sous Debian stable ou testing ou instable ?

J'ai essayé en me connectant en root. Ça marche pas non plus.

Hors ligne

#4 11-06-2017 18:28:04

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

Il y a bien voulu le faire avec sh, mais j'ai une erreur.

sh ./configure



checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/aurelien/Téléchargements/makemkv-oss-1.10.6':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
 



Je dois faire quoi ?

Hors ligne

#5 11-06-2017 19:16:15

Anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

Je ne peux pas t'en dire plus. Je ne suis plus sous debian maintenant mais sous Arch.
Mais je sais que sur Jessie, la compilation se passait très bien pour moi ( Post 33 )

https://debian-facile.org/viewtopic.php?id=12828&p=2

EDIT :


apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev git
 



Et un tuto :

https://tedolthof.wordpress.com/2016/02 … ian-linux/

Dernière modification par Anonyme (11-06-2017 19:25:21)

#6 11-06-2017 19:30:35

anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

@Anonyme
hors sujet mais tu en pense quoi de Arch Linux , toujours sur la meme machine ?
c'est quoi qui t a motivé a quitter debian  pour Arch Linux ?
note : je suis curieux tongue  (j'ai testé il y a quelque temps pas accroché sad )

#7 11-06-2017 19:40:52

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

 apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev git


Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
build-essential est déjà la plus récente version disponible.
libexpat1-dev est déjà la plus récente version disponible.
libc6-dev est déjà la plus récente version disponible.
libgl1-mesa-dev est déjà la plus récente version disponible.
libssl-dev est déjà la plus récente version disponible.
pkg-config est déjà la plus récente version disponible.
libqt4-dev est déjà la plus récente version disponible.
git est déjà la plus récente version disponible.
libavcodec-dev est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
 



J'examine le tuto. Merci.

Hors ligne

#8 11-06-2017 19:52:25

Anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

anonyme a écrit :

@Anonyme
hors sujet mais tu en pense quoi de Arch Linux , toujours sur la meme machine ?
c'est quoi qui t a motivé a quitter debian  pour Arch Linux ?
note : je suis curieux tongue  (j'ai testé il y a quelque temps pas accroché sad )



Je voulais voir autre chose.
Une distribution avec des paquets récents sans trop de problèmes. ( Pour l'instant aucun, si on ne joue pas trop avec Yaourt ) Moi, je me l'interdis pour l'instant.
Toujours sur la même machine.
Des anciens membres du forum mon fait découvrir une manière facile d'installer Arch en 10 minutes avec Arch-anywhere.

Et ................... j'ai le pilote 381.22 !!!!  lol lol lol

out.gif

Dernière modification par Anonyme (11-06-2017 19:54:22)

#9 11-06-2017 20:06:40

anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

tongue tongue tongue  meme pas mal , moi j'ai une GTX1070 tongue tongue tongue
out.gif

nota : pour etre franc , a la première mise a jour ça a planté hmm , j'ai tout supprimé  wink
ça va etre dur de me faire quitter debian  smile

#10 11-06-2017 21:50:43

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

J'ai essayé le tuto ci-dessus. Même résultat.

 ./configure --prefix=/usr --disable-static


bash: ./configure: Permission non accordée

Hors ligne

#11 12-06-2017 06:21:51

Anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

A tout hasard, un clic droit sur le configure et regarder si "rendre exécutable" est coché. C'est-on jamais hmm

Dernière modification par Anonyme (12-06-2017 06:22:44)

#12 12-06-2017 06:43:53

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

Oui, la case "Autoriser l'exécution du fichier comme un programme" est bien cochée. Les permissions du fichiers autorisent bien l'exécution.

Dernière modification par ptitnouveau (12-06-2017 06:44:15)

Hors ligne

#13 12-06-2017 06:58:17

Anonyme
Invité

Re : [Résolu] ./configure - permission non accordée

Ton dossier se trouve dans ton home ou sur un support externe etc .. ?

#14 12-06-2017 07:19:38

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

Sur mon home, qui se trouve sur mon disque dur interne  :

pwd


/home/aurelien/makemkv.source/fdk-aac-0.1.4

Hors ligne

#15 12-06-2017 07:29:45

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

A mon avis, un indice se trouve dans mon message #4, quand j'ai tapé

sh ./configure



il m'a répondu :

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/aurelien/Téléchargements/makemkv-oss-1.10.6':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
 



Je pense que le configure: error: cannot run C compiled programs. devrait nous mettre sur la voie. Mais je suis pas un expert, je sais pas ce qu'il faut faire.

Dernière modification par ptitnouveau (12-06-2017 07:30:37)

Hors ligne

#16 12-06-2017 08:51:30

daufinsyd
Membre
Lieu : 68, 63, Karlsruhe
Distrib. : Arch Linux + Debian Stable + Xubuntu
Noyau : Linux 4.17-amd64
(G)UI : Plasma 5.13
Inscription : 02-02-2013
Site Web

Re : [Résolu] ./configure - permission non accordée

Salut,

Hum, ce qui m'intrigue c'est cette ligne

If you meant to cross compile, use `--host'.



Semble-t-il l'architecture requise et celle utilisée ne correspondent pas.

Que te renvoit cette commande ?

gcc -v


?

Notamment la ligne commanc,ant par target doit correspondre à ton architecture (x86_64 ou amd64).

As-tu installé glibc-source ?


Portable i7 7700HQ, 16Go RAM, GTX 1050Ti, MX 500 Crucial
Intel i7-4790 - 12Go RAM - GTX460
Intel i7-6700 - 8Go RAM - AMD R9 280X 3Go - SSD 850Evo
Odroid C2, Raspberry Pi Zero

Hors ligne

#17 12-06-2017 09:02:47

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

gcc -v


Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
 



Non, je n'ai pas installé glibc-source. Il faut l'installer ?

Hors ligne

#18 12-06-2017 09:22:34

daufinsyd
Membre
Lieu : 68, 63, Karlsruhe
Distrib. : Arch Linux + Debian Stable + Xubuntu
Noyau : Linux 4.17-amd64
(G)UI : Plasma 5.13
Inscription : 02-02-2013
Site Web

Re : [Résolu] ./configure - permission non accordée

Du coup le problème ne vient probablement pas de là.

Peux tu poster le contenu de config.log ?

Je pense que le problème vient des permissions. Sans doute que si on arrive à corriger la première erreur c,a marchera.

Quels droits as tu sur le dossier ?

ls -al


Portable i7 7700HQ, 16Go RAM, GTX 1050Ti, MX 500 Crucial
Intel i7-4790 - 12Go RAM - GTX460
Intel i7-6700 - 8Go RAM - AMD R9 280X 3Go - SSD 850Evo
Odroid C2, Raspberry Pi Zero

Hors ligne

#19 12-06-2017 09:47:28

vv222
Administrateur
Lieu : Bretagne
Distrib. : Debian Sid
(G)UI : sway
Inscription : 18-11-2013
Site Web

Re : [Résolu] ./configure - permission non accordée

Ça sent les restrictions au niveau du point de montage, tu peux nous poster le retour de la commande suivante?

mount


Jouer sous Debian ? Facile !

Ceterum censeo Barum esse delendam

Hors ligne

#20 12-06-2017 10:06:33

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

Peux tu poster le contenu de config.log ?



cat config.log


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by fdk-aac configure 0.1.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##7
## --------- ##

hostname = debian
uname -m = x86_64
uname -r = 3.16.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 3.16.43-2 (2017-04-30)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2299: checking for a BSD-compatible install
configure:2367: result: /usr/bin/install -c
configure:2378: checking whether build environment is sane
configure:2428: result: yes
configure:2569: checking for a thread-safe mkdir -p
configure:2608: result: /bin/mkdir -p
configure:2621: checking for gawk
configure:2637: found /usr/bin/gawk
configure:2648: result: gawk
configure:2659: checking whether make sets $(MAKE)
configure:2681: result: yes
configure:2756: checking how to create a ustar tar archive
configure:2769: tar --version
tar (GNU tar) 1.27.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:2772: $? = 0
configure:2812: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:2815: $? = 0
configure:2819: tar -xf - <conftest.tar
configure:2822: $? = 0
configure:2835: result: gnutar
configure:2853: checking whether make supports nested variables
configure:2870: result: yes
configure:2947: checking for gcc
configure:2963: found /usr/bin/gcc
configure:2974: result: gcc
configure:3203: checking for C compiler version
configure:3212: gcc --version >&5
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3223: $? = 0
configure:3212: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
configure:3223: $? = 0
configure:3212: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3223: $? = 4
configure:3212: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3223: $? = 4
configure:3243: checking whether the C compiler works
configure:3265: gcc    conftest.c  >&5
configure:3269: $? = 0
configure:3317: result: yes
configure:3320: checking for C compiler default output file name
configure:3322: result: a.out
configure:3328: checking for suffix of executables
configure:3335: gcc -o conftest    conftest.c  >&5
configure:3339: $? = 0
configure:3361: result:
configure:3383: checking whether we are cross compiling
configure:3391: gcc -o conftest    conftest.c  >&5
configure:3395: $? = 0
configure:3402: ./conftest
./configure: line 3404: ./conftest: Permission denied
configure:3406: $? = 126
configure:3413: error: in `/home/aurelien/makemkv.source/fdk-aac-0.1.4':
configure:3415: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/aurelien/makemkv.source/fdk-aac-0.1.4/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /home/aurelien/makemkv.source/fdk-aac-0.1.4/missing --run autoconf'
AUTOHEADER='${SHELL} /home/aurelien/makemkv.source/fdk-aac-0.1.4/missing --run autoheader'
AUTOMAKE='${SHELL} /home/aurelien/makemkv.source/fdk-aac-0.1.4/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXAMPLE_FALSE=''
EXAMPLE_TRUE='#'
EXEEXT=''
FDK_AAC_VERSION=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBS_PRIVATE=''
LIBS_PUBLIC=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/aurelien/makemkv.source/fdk-aac-0.1.4/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='fdk-aac'
PACKAGE_BUGREPORT='http://sourceforge.net/projects/opencore-amr/'
PACKAGE_NAME='fdk-aac'
PACKAGE_STRING='fdk-aac 0.1.4'
PACKAGE_TARNAME='fdk-aac'
PACKAGE_URL=''
PACKAGE_VERSION='0.1.4'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.1.4'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/aurelien/makemkv.source/fdk-aac-0.1.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "fdk-aac"
#define PACKAGE_TARNAME "fdk-aac"
#define PACKAGE_VERSION "0.1.4"
#define PACKAGE_STRING "fdk-aac 0.1.4"
#define PACKAGE_BUGREPORT "http://sourceforge.net/projects/opencore-amr/"
#define PACKAGE_URL ""
#define PACKAGE "fdk-aac"
#define VERSION "0.1.4"

configure: exit 1
 



Je pense que le problème vient des permissions. Sans doute que si on arrive à corriger la première erreur c,a marchera.

Quels droits as tu sur le dossier ?



Sur le dossier fdk-aac-0.1.4 (le répertoire où se trouve le fichier .configure), voici les permissions : 

ls -al


total 1952
drwx------  3 aurelien aurelien    4096 juin  11 20:42 .
drwx------ 65 aurelien aurelien    4096 juin  12 10:55 ..
drwx------ 13 aurelien aurelien    4096 juin  12 10:56 fdk-aac-0.1.4
-rw-------  1 aurelien aurelien 1986515 mars  11  2015 fdk-aac-0.1.4.tar.gz
 



Sur le fichier .configure :

ls -al


drwx------ 13 aurelien aurelien   4096 juin  12 10:56 .
drwx------  3 aurelien aurelien   4096 juin  11 20:42 ..
-rw-------  1 aurelien aurelien   6360 oct.  20  2012 aac-enc.c
-rw-------  1 aurelien aurelien  37549 mars  11  2015 aclocal.m4
-rw-------  1 aurelien aurelien   2241 mars  11  2015 Android.mk
-rwx------  1 aurelien aurelien     26 nov.  25  2013 autogen.sh
-rw-------  1 aurelien aurelien   1096 mars  11  2015 ChangeLog
-rwx------  1 aurelien aurelien  44826 mars  11  2015 config.guess
-rw-------  1 aurelien aurelien   9107 juin  12 10:56 config.log
-rwx------  1 aurelien aurelien  35543 mars  11  2015 config.sub
-rwxr-xr-x  1 aurelien aurelien 542904 mars  11  2015 configure
-rw-------  1 aurelien aurelien   1107 mars  11  2015 configure.ac
-rwx------  1 aurelien aurelien  20899 mars  11  2015 depcomp
drwx------  2 aurelien aurelien   4096 mars  11  2015 documentation
-rw-------  1 aurelien aurelien    275 juil. 27  2013 fdk-aac.pc.in
-rw-------  1 aurelien aurelien    333 août  11  2012 fdk-aac.sym
-rwx------  1 aurelien aurelien  13998 mars  11  2015 install-sh
drwx------  4 aurelien aurelien   4096 mars  11  2015 libAACdec
drwx------  4 aurelien aurelien   4096 mars  11  2015 libAACenc
drwx------  4 aurelien aurelien   4096 mars  11  2015 libFDK
drwx------  4 aurelien aurelien   4096 mars  11  2015 libMpegTPDec
drwx------  4 aurelien aurelien   4096 mars  11  2015 libMpegTPEnc
drwx------  4 aurelien aurelien   4096 mars  11  2015 libPCMutils
drwx------  4 aurelien aurelien   4096 mars  11  2015 libSBRdec
drwx------  4 aurelien aurelien   4096 mars  11  2015 libSBRenc
drwx------  4 aurelien aurelien   4096 mars  11  2015 libSYS
-rw-------  1 aurelien aurelien 283670 mars  11  2015 ltmain.sh
drwx------  2 aurelien aurelien   4096 mars  11  2015 m4
-rw-------  1 aurelien aurelien   6853 mars  11  2015 Makefile.am
-rw-------  1 aurelien aurelien  76878 mars  11  2015 Makefile.in
-rwx------  1 aurelien aurelien  10346 mars  11  2015 missing
-rw-------  1 aurelien aurelien   4448 juil.  5  2012 NOTICE
-rw-------  1 aurelien aurelien   4806 mars  11  2015 wavreader.c
-rw-------  1 aurelien aurelien   1138 oct.  20  2012 wavreader.h
 



Sur le point de montage :

mount


sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=2043825,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=3273684k,mode=755)
/dev/sdb1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda5 on /home type ext4 (rw,nosuid,nodev,noexec,relatime,data=ordered)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1636844k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
 



Merci de votre aide.

Dernière modification par ptitnouveau (12-06-2017 10:07:09)

Hors ligne

#21 12-06-2017 12:37:57

daufinsyd
Membre
Lieu : 68, 63, Karlsruhe
Distrib. : Arch Linux + Debian Stable + Xubuntu
Noyau : Linux 4.17-amd64
(G)UI : Plasma 5.13
Inscription : 02-02-2013
Site Web

Re : [Résolu] ./configure - permission non accordée

On voit que ta partition /dev/sda5 ayant pour point de montage /home (là oú se trouve ton dossier perso et qui contient ton archive) est montée avec l'options noexec qui interdit l'exécution de fichiers binaires.

Dans le fichier /etc/fstab remplace noexec par exec dans la ligne indiquant les options de montage de /home

Et redémarre ton pc, tu devrais après c,a pouvoir lancer ./configure

Portable i7 7700HQ, 16Go RAM, GTX 1050Ti, MX 500 Crucial
Intel i7-4790 - 12Go RAM - GTX460
Intel i7-6700 - 8Go RAM - AMD R9 280X 3Go - SSD 850Evo
Odroid C2, Raspberry Pi Zero

Hors ligne

#22 12-06-2017 12:50:22

ptitnouveau
Membre
Inscription : 30-01-2016

Re : [Résolu] ./configure - permission non accordée

Allélouia ! Ca a marché. C'était bien une erreur dans mon fstab.

./configure


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for library containing sin... -lm
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fdk-aac.pc
config.status: executing depfiles commands
config.status: executing libtool commands
 



Merci à tous.

Hors ligne

#23 12-06-2017 13:34:03

daufinsyd
Membre
Lieu : 68, 63, Karlsruhe
Distrib. : Arch Linux + Debian Stable + Xubuntu
Noyau : Linux 4.17-amd64
(G)UI : Plasma 5.13
Inscription : 02-02-2013
Site Web

Re : [Résolu] ./configure - permission non accordée

Nickel big_smile

Portable i7 7700HQ, 16Go RAM, GTX 1050Ti, MX 500 Crucial
Intel i7-4790 - 12Go RAM - GTX460
Intel i7-6700 - 8Go RAM - AMD R9 280X 3Go - SSD 850Evo
Odroid C2, Raspberry Pi Zero

Hors ligne

Pied de page des forums