具体报错如下:
Makefile:231: /root/otp_src_R15B/make/x86_64-unknown-linux-gnu/otp_ded.mk: No such file
解决方案:
搜索到的解决方案:
把 /usr/share/libtool/config.guess 覆盖到相关软件自带的config.guess
把 /usr/share/libtool/config.sub 覆盖到相关软件自带的config.sub
复制时发现没有config.guess,搜索需要安装libtool,libtool-ltdl-devel
#yum search libtool
#yum search libtool-ltdl-devel
# yum install libtool
# yum install libtool-ltdl-devel
cp /usr/share/libtool/config/config.guess /data/otp_src_17.4/lib/test_server/src/
cp /usr/share/libtool/config/config.guess /data/otp_src_17.4/lib/common_test/priv/auxdir/
cp /usr/share/libtool/config/config.guess /data/otp_src_17.4/lib/erl_interface/src/auxdir/
cp /usr/share/libtool/config/config.guess /data/otp_src_17.4/lib/wx/autoconf/
cp /usr/share/libtool/config/config.guess /data/otp_src_17.4/erts/autoconf/
./configure --enable-shared