我使用 mingw-get-setup.exe
安装了 mingw 和 msys。我还将 Autotools(autoconf,automake,m4,libtool)安装到了 C:\/opt/autotools
。
当我运行 automake 时,总是出现以下错误:
configure.ac:11: error: required file './ltmain.sh' not found
如果我从libtool的安装目录中复制ltmain.sh
,执行将正常完成。
如何配置automake以在不复制的情况下找到ltmain.sh
?
ltmain.sh
位于c:\opt\autotools\share\libtool\config
。而PATH=/c/opt/autotools/bin:/C/opt/autotools/share/libtool/config:.:/usr/local/bin
。 - user1345414