[SOLVED] Current Debian Sid: "configure: error: C compiler cannot create executables"
Posted: Sat Sep 22, 2018 6:49 pm
Hi,
following the usual procedure with an up-to-date Debian Unstable,
...compiling just gets me the following error:
Some package versions you might find relevant:
I'm hesitant to post the whole config.log (to not bore you), but here's what looks interesting (preceding errors):
Any ideas? This surely has to do with some updated Debian packages; re-compiling my current MakeMKV Version 1.12.0 also gives the same error.
(Edit: Made some corrections due to copy&paste errors)
Edit 2020-01-05: I gave it another try and, to my pleasant surprise, installation now works again with the current Debian Sid version. gcc: 4:9.2.1-3.1, libc6: 2.29-7.
following the usual procedure with an up-to-date Debian Unstable,
Code: Select all
$ sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev zlib1g-dev
$ wget http://www.makemkv.com/download/makemkv-bin-1.12.3.tar.gz
$ wget http://www.makemkv.com/download/makemkv-oss-1.12.3.tar.gz
$ tar xvzf makemkv-oss-1.12.3.tar.gz
$ tar xvzf makemkv-bin-1.12.3.tar.gz
Code: Select all
$ ./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
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `.../makemkv-oss-1.12.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
Code: Select all
ii gcc 4:8.2.0-1 amd64
ii build-essential 12.5 amd64
ii libavcodec-dev:amd64 7:4.0.2-1+b1 amd64
ii libc6-dev:amd64 2.27-6 amd64
ii libexpat1-dev:amd64 2.2.6-1 amd64
ii libgl1-mesa-dev:amd64 18.1.8-1 amd64
ii libqt4-dev 4:4.8.7+dfsg-17 amd64
ii libssl-dev:amd64 1.1.1-1 amd64
ii pkg-config 0.29-4+b1 amd64
ii zlib1g-dev:amd64 1:1.2.11.dfsg-1 amd64
Code: Select all
(...)
configure:3233: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3244: $? = 1
configure:3233: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3244: $? = 1
configure:3264: checking whether the C compiler works
configure:3286: gcc conftest.c >&5
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so: error loading plugin: /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so: wrong ELF class: ELFCLASS64
collect2: error: ld returned 1 exit status
configure:3290: $? = 1
configure:3328: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
(Edit: Made some corrections due to copy&paste errors)
Edit 2020-01-05: I gave it another try and, to my pleasant surprise, installation now works again with the current Debian Sid version. gcc: 4:9.2.1-3.1, libc6: 2.29-7.