wxWidget配置:无法猜测构建类型
wxWidget configure: cannot guess build type
我试图按照本教程在Windows上构建wxWidget。但是打出来的时候…/configure——enable-unicode——enable-debug -- --enable-monolithic——disable-shared,输出的是大量的"Segmentation fault"消息:
$ ./configure --enable-unicode --enable-debug --enable-monolithic --disable-shared
./configure: line 427: 3224 Segmentation fault expr a : '(a)' > /dev/null 2>&1
./configure: line 1492: 2560 Segmentation fault expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" > /dev/null
./configure: line 1492: 2452 Segmentation fault expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" > /dev/null
./configure: line 1492: 3692 Segmentation fault expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" > /dev/null
./configure: line 1492: 3436 Segmentation fault expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" > /dev/null
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2015-08-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain; f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2015-08-20
uname -m = x86
uname -r = 1
uname -s = WindowsNT
uname -v = 5
/usr/bin/uname -p =
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = x86
UNAME_RELEASE = 1
UNAME_SYSTEM = WindowsNT
UNAME_VERSION = 5
configure: error: cannot guess build type; you must specify one
config.log在这里
我也下载了配置。Sub和config.guess我的操作系统是Windows XP SP3。wxWidgets的版本是3.0.2
您运行的环境(Cygwin?MSYS吗?MSYS2吗?我们不知道(你不说)expr
绝对不应该分段故障。尝试以交互方式运行它,看看您是否只是有一个损坏的/usr/bin/expr
可执行文件。如果没有,请在您的机器上运行硬件测试。
相关文章:
- 文本冒险游戏 - 如何区分一种项目类型与另一种项目类型以及如何构建项目类/子类
- 创建一个类来访问和指定向量类型,并构建一个获取位置并为其分配区域的类
- 为什么C++数组索引值是有符号的,而不是围绕size_t类型构建的(或者我错了)
- 使用相同方法但不同成员类型构建类的最佳方法
- 如何构建程序以避免查询对象类型?
- 构建本身是共享_ptr类型的模板容器
- 在Visual Studio中,C++构建配置类型是Debug,Debug3D,DebugDLL4,DebugDLL9,
- 如何在类/类型中添加更多函数来构建 int、double、std::string 等
- 错误:在 mingw64 上构建 cmake+boost 项目时'GetSystemTimeAsFileTime'的类型冲突
- C++14 元编程:在编译/初始化时自动构建类型列表
- 致命错误LNK1112:通过 vcvarsall .bat x86 运行构建'X86'模块计算机类型'x64'与目标计算机类型冲突
- 在CMAKE中,如何以每个用户为基础更改构建类型的默认编译器标志
- 在makefile中更改构建规则以构建多种文件类型
- C 构建错误:类未命名类型
- 函数模板由用于构建不同类型的容器的分配器参数化
- 如何为动态类型语言构建编译器
- 使用共享库的后果dlopen另一个具有不同构建类型的共享库
- wxWidget配置:无法猜测构建类型
- 使用CMake为不同的构建类型创建构建树
- 使用 Cmake 的 RelWithDebInfo 作为默认构建类型