Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Working C Compiler Found

Tags:

c++

c

ios

gcc

ffmpeg

I just downloaded it from here to try it:

http://www.videolan.org/developers/x264.html

I ran ./configure. It complained that I didn't have an assembler and suggested I ran ./configure --disable-asm. Then all seemed to compile OK.

How did you install gcc? From the repositories?

After i check the GCC version by using (gcc --version) command in terminal. The log is

i686-apple-darwin11-llvm-gcc-4.2
(GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.11.00)

how can i solve this issue ..? I want to make compile and install.

like image 761
Rajendran Ambika Avatar asked Jul 12 '26 03:07

Rajendran Ambika


2 Answers

Check config.log and search for "working C compiler". You will see the error that caused the test to fail.

You really need to supply more information (for example, the output of running configure). "Then all seemed to compile OK." is especially confusing. If "all seemed to compile OK", what is your problem?

like image 140
Bulletmagnet Avatar answered Jul 14 '26 17:07

Bulletmagnet


it seems that you don't have required yasm, go through below link & download.

http://www.linuxfromscratch.org/blfs/view/svn/general/yasm.html

Steps to follow :

  1. download from above link
  2. extract files
  3. ./configure
  4. make
  5. make install #
  6. yasm --version if it is 1.3.0 then its OK, otherwise reply me if you are not getting right version details
  7. again try to install your software, you will definitely find right assembler
like image 29
Nishant Avatar answered Jul 14 '26 17:07

Nishant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!