【发布时间】:2016-12-11 01:33:49
【问题描述】:
我正在尝试在 Windows 上使用 MinGW 的 MSYS 从源代码编译 tor 2.4.27。我已经从源代码静态(.a 文件)构建了所有依赖库(libevent、libssl、libcrypto、libzlib),现在正在编译 tor 源代码本身。
我在 msys.bat shell 中使用以下命令;
./configure --enable-static-tor --enable-static-libevent --with-libevent-dir=/projects/tor/libevent-2.0.22-stable
但无论我做什么,配置总是停止;
configure: WARNING: Could not find a linkable libevent. If you have installed it somewhere unusual, you can specify an explicit path using --with-libevent-dir
configure: error: Missing libraries; unable to proceed.
我也尝试了以下方法;
./configure CFLAGS="-I/project/tor/libevent-2.0.22-stable/include" LDFLAGS="-L/project/tor/libevent-2.0.22-stable/" --enable-static-tor --enable-static-libevent
无济于事...
这绝对是个bug,我该怎么办?
【问题讨论】:
标签: compilation compiler-errors mingw msys