cconfigurefreetype

configure freetype with an error cannot find native C compiler


I am trying to make freetype But configure with an error

My command

./configure --host=arm-buildroot-linux-gnueabihf --prefix=$PWD/tmp

The error info

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windows.h... no
checking for x86_64-pc-linux-gnu-gcc... no
checking for gcc... no
checking for cc... no
configure: error: cannot find native C compiler
make: *** [builds/unix/detect.mk:91: setup] Error 1

What should I do to fix it?


Solution

  • Reload another Ubuntu iso can fix it