使用./configure时出错
今天下下来otp_src_R15B解压后使用 configure 出了下面的错误,看不懂。。。
不知道哪里配置出错了??
[root@root otp_src_R15B]# ./configure --prefix=/opt/erlang --with-ssl
Ignoring the --cache-file argument since it can cause the system to be erroneously configured
Disabling caching
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for ld... ld
checking for GNU make... no
configure: error: GNU make is required!
[解决办法]
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
没有安装g++等等必要的工具。
checking for GNU make... no
连make也没有。。。。。。
先安装这些东西吧。
PS:个人认为,楼主用的系统可能是ubuntu的,可以用新立得安装。
[解决办法]
很多东西没有装,估计是安装时候没有选择这些库
全部安装上再安装这些源代码程序
[解决办法]
不行就换个版本的源码试试,没必要在这上面浪费时间。
[解决办法]
我晕。。和我今天的情况差不多。。可能是安装的linux版本问题,很多编译器都没有唉。。。
[解决办法]
这要看你用的是什么发行版
Redhat系列(包括 fedroa, centos)用
yum groupinstall "Development Tools"
Debian系列(包括 ubuntu) 用
aptitude install build-essential
[解决办法]
楼主的系统是Fedora或RedHat?