【发布时间】:2015-01-16 20:06:54
【问题描述】:
我正在尝试使用 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 (How to build Google's protobuf in Windows using MinGW?) 但没有帮助。
它在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: line 81: aclocal-1.14: command not 找到了
警告:您的系统上缺少“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 就成功了。
【问题讨论】:
标签: c++ mingw protocol-buffers msys