Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Error: Compiler is not functioning correctly.

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
stf92
Posts: 41
Joined: 2018-05-27 20:16

Error: Compiler is not functioning correctly.

#1 Post by stf92 »

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?

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Error: Compiler is not functioning correctly.

#2 Post by arochester »

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.

stf92
Posts: 41
Joined: 2018-05-27 20:16

Re: Error: Compiler is not functioning correctly.

#3 Post by stf92 »

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.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: Error: Compiler is not functioning correctly.

#4 Post by None1975 »

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

stf92
Posts: 41
Joined: 2018-05-27 20:16

Re: Error: Compiler is not functioning correctly.

#5 Post by stf92 »

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".

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Error: Compiler is not functioning correctly.

#6 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Error: Compiler is not functioning correctly.

#7 Post by debiman »

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:

Post Reply