Error: Compiler is not functioning correctly.

New to Debian (Or Linux in general)? Ask your questions here!

Error: Compiler is not functioning correctly.

Postby stf92 » 2018-06-01 13:30

Code: Select all
semoi@debian:~/mplayer$ ./configure
Checking for ffmpeg/libavcodec/allcodecs.c ... not found
Checking for ffmpeg/libavcodec/hwaccels.h ... not found
Checking for ffmpeg/libavformat/allformats.c ... not found
Checking for ffmpeg/libavcodec/bitsteram_filters.c ... not found
Checking for ffmpeg/libavformat/protocols.c ... not found
Checking for ffmpeg/libavfilter/allfilters.c ... not found
Checking for working compiler ...
Error: Compiler is not functioning correctly. Check your installation and custom CFLAGS  .

Check "config.log" if you do not understand why it failed.
semoi@debian:~/mplayer$

The output of config.log is:
Code: Select all
semoi@debian:~/mplayer$ cat config.log
configuration:

============ Checking for ffmpeg/libavcodec/allcodecs.c ============
Result is: not found
##########################################

============ Checking for ffmpeg/libavcodec/hwaccels.h ============
Result is: not found
##########################################

============ Checking for ffmpeg/libavformat/allformats.c ============
Result is: not found
##########################################

============ Checking for ffmpeg/libavcodec/bitsteram_filters.c ============
Result is: not found
##########################################

============ Checking for ffmpeg/libavformat/protocols.c ============
Result is: not found
##########################################

============ Checking for ffmpeg/libavfilter/allfilters.c ============
Result is: not found
##########################################



#if !(defined(__MINGW32__))
#error condition not true: defined(__MINGW32__)
#endif
int main(void) { return 0; }

cc    /tmp/mplayer-configure--2430/tmp.c      -o /tmp/mplayer-configure--2430/tmp 
./configure: 63: ./configure: cc: not found


============ Checking for working compiler ============

int main(void) { return 0; }

cc    /tmp/mplayer-configure--2430/tmp.c      -o /tmp/mplayer-configure--2430/tmp 
./configure: 63: ./configure: cc: not found


semoi@debian:~/mplayer$

What does the line ./configure: 63: ./configure: cc: not found' mean?
stf92
 
Posts: 41
Joined: 2018-05-27 20:16

Re: Error: Compiler is not functioning correctly.

Postby arochester » 2018-06-01 13:43

What does the line ./configure: 63: ./configure: cc: not found' mean?


This usually happens when you don’t have C/GCC compiler installed. All you got to do is to install gcc to resolve this.
arochester
 
Posts: 1278
Joined: 2010-12-07 19:55

Re: Error: Compiler is not functioning correctly.

Postby stf92 » 2018-06-01 13:49

Will the command 'apt-get install gcc' install the compiler? But I have a feeling that I need a lot of more things installed too in order to compile and link mplayer.
stf92
 
Posts: 41
Joined: 2018-05-27 20:16

Re: Error: Compiler is not functioning correctly.

Postby None1975 » 2018-06-01 15:16

stf92 wrote:Will the command 'apt-get install gcc' install the compiler? But I have a feeling that I need a lot of more things installed too in order to compile and link mplayer.

Yes. You can check this. Also, check this.
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 549
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Error: Compiler is not functioning correctly.

Postby stf92 » 2018-06-01 19:22

Thanks. By the way, can you tell me the sentence "You are not subscribed to any forums in my control panel" what does it mean. All I can do when posting is to check the box "Notify me when a reply is posted".
stf92
 
Posts: 41
Joined: 2018-05-27 20:16

Re: Error: Compiler is not functioning correctly.

Postby stevepusser » 2018-06-01 21:37

Is there any reason you have to manually compile and install mplayer? This sounds like you have a classic XY problem here. The Debian mplayer package works correctly for kazillions of users, so you should try and see what's broken on your end instead of trying to compile it from source.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 27.9.4, wine-staging 3.13, MPC-QT 18.03, Linux kernel 4.17.8, ffmpeg 4.0.2
User avatar
stevepusser
 
Posts: 9790
Joined: 2009-10-06 05:53

Re: Error: Compiler is not functioning correctly.

Postby debiman » 2018-06-02 12:01

stevepusser wrote:Is there any reason you have to manually compile and install mplayer?

because mplayer from the repos doesn't work as root. :roll:
User avatar
debiman
 
Posts: 2579
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable