Protobuf 3.0.0-alpha-1无法在Windows上编译 [英] Protobuf 3.0.0-alpha-1 not compiling on windows

查看:300
本文介绍了Protobuf 3.0.0-alpha-1无法在Windows上编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用MinGW 4.9.2& ;;在Windows上编译protobuf 3.0.0 alpha 1. MSYS.

I'm trying to compile protobuf 3.0.0 alpha 1 on Windows using MinGW 4.9.2 & MSYS.

根据我的指示:

./configure 
make
make check
make install

我添加了--prefix=/c/path/to/mingw to configure(如何构建Windows中使用MinGW的Google protobuf?),但没有帮助.

I added --prefix=/c/path/to/mingw to configure (How to build Google's protobuf in Windows using MinGW?) but it didnt help.

它在make失败并显示以下消息:

It fails at make with the message:

CDPATH ="$ {ZSH_VERSION +.}:"&&光盘&& /bin/sh/home/Markus/protobuf-3.0.0-alpha- 1/缺少aclocal-1.14 -I m4

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Markus/protobuf-3.0.0-alpha- 1/missing aclocal-1.14 -I m4

/home/Markus/protobuf-3.0.0-alpha-1/missing:第81行:aclocal-1.14:命令不存在 找到

/home/Markus/protobuf-3.0.0-alpha-1/missing: line 81: aclocal-1.14: command not found

警告:您的系统上缺少'aclocal-1.14'.

WARNING: 'aclocal-1.14' is missing on your system.

    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

make: *** [aclocal.m4] Error 127

我已经尝试安装Automake,但是aclocal并没有提供它.

I've tried installing Automake but it doesnt come with aclocal.

今天,在工作中,我设法使用裸机MinGW&进行了首次尝试. MSYS.

Also today at work i managed to get it working on the first try with a bare MinGW & MSYS.

推荐答案

您似乎需要安装autoconf(尽管它们经常一起使用,但它与automake是分开的).您可能还需要安装libtool.

It looks like you need to install autoconf (which is separate from automake, though they are often used together). You may also need to install libtool.

这篇关于Protobuf 3.0.0-alpha-1无法在Windows上编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆