No C compiler found

I just downloaded it here to try it:

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

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

How did you get gcc installed? From the repositories?

After checking the version of GCC with the command (gcc -version) in the terminal. Magazine

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 problem ..? I want to do compilation and installation.

+3


source to share


2 answers


Check config.log and find "working C compiler". You will see an error causing the test to be lost.



You really need to provide additional information (like the output from running configure). "Then everyone seemed to compile OK." especially confusing. If "everything seemed to compile OK", what is the problem?

+2


source


it seems you don't have the ulcer you need, go to the link and download.

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



Stages:

  • download from the link above.
  • extract files
  • ./Configure
  • to do
  • make install #
  • yasm --version if it is 1.3.0 then its OK, otherwise answer me if you don't get correct version information
  • try installing your software again, you will definitely find the correct assembler
+1


source







All Articles