我正在尝试编译最新版本的 SDL,SDL 版本 2.0.1。我尝试从 Mercurial 编译 SDL。使用以下消息执行 ./configure 时,一切似乎都很好:
checking for working volatile... no
checking for GCC -MMD -MT option... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking stdio.h usability... no
checking stdio.h presence... no
checking for stdio.h... no
checking for stdlib.h... (cached) yes
checking stddef.h usability... no
checking stddef.h presence... no
checking for stddef.h... no
checking stdarg.h usability... no
checking stdarg.h presence... no
checking for stdarg.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking ctype.h usability... no
checking ctype.h presence... no
.
.
.
.
checking dbus/dbus.h usability... no
checking dbus/dbus.h presence... no
checking for dbus/dbus.h... no
checking for Linux 2.4 unified input interface... no
checking for Linux kd.h... no
checking for Touchscreen library support... no
config.status: creating SDL2.spec
config.status: creating sdl2.pc
config.status: creating include/SDL_config.h
config.status: executing libtool commands
我在 ./configure 中收到了很多不,当我尝试运行时,它会显示以下消息:
Makefile:226: *** missing separator. Stop.
消息背后的原因可能是什么?有谁知道修复?