运行以下命令报错:
./configure
错误:
checking whether to enable maintainer-specific portions of Makefiles... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... nochecking for mawk... mawkchecking whether make sets $(MAKE)... nochecking for gcc... nochecking for cc... nochecking for cl.exe... noconfigure: error: in `/home/hadoop1/softwares/protobuf-2.5.0':configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details
解决方法:安装很多基础包
sudo apt-get install build-essential