我正在尝试使用MinGW 4.9.2和MSYS在Windows上编译protobuf 3.0.0 alpha 1。
根据说明,我应该:
./configure
make
make check
make install
我添加了--prefix=/c/path/to/mingw to configure
(如何使用MinGW在Windows中构建Google的protobuf?),但没有帮助。
它失败并make
显示以下消息:
CDPATH =“ $ {ZSH_VERSION +。}:” && cd。&& / bin / sh /home/Markus/protobuf-3.0.0-alpha-1/缺少aclocal-1.14 -I m4
/home/Markus/protobuf-3.0.0-alpha-1/missing:第81行:aclocal-1.14:找不到命令
警告:您的系统上缺少'aclocal-1.14'。
You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/>
make:*** [aclocal.m4]错误127
我试过安装Automake,但是aclocal不附带。
同样在今天的工作中,我设法使用裸机MinGW和MSYS进行了首次尝试。
看起来您需要安装autoconf(尽管它们经常一起使用,但它与automake是分开的)。您可能还需要安装libtool。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句