在运行Ritter提供的TwitterNLP时,需要运行其中的build.sh, 其中包含一段代码:./configure --prefix=`pwd`/../ && make && make install,运行时出现如下错误:
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
网上说可能是与c++编译器有关(待查证),运行 sudo apt-get install g++后解决问题。
关于上述代码,参考牛人@ShowMan的说法:
$ ./configure 命令脚本
下面两个都是运行configure时给的参数
--host=arm-linux 运行环境 (交叉编译成arm)
--prefix=$(pwd)/_install 安装目录
pwd是当前用户目录。