我正在尝试为 Haskell安装SDL 图像库,这是一组同名原始 C 库的绑定。我已经构建并安装了 SDL 库及其相应的 Haskell 包,并将 SDL 图像库中的文件放到了 SDL 的安装目录中。现在,当我尝试安装 SDL 图像绑定时,出现以下错误:
$ runghc Setup.lhs configure
Configuring SDL-image-0.6.1...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for sdl-config... /usr/bin/sdl-config
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... .o
checking whether we are using the GNU …Run Code Online (Sandbox Code Playgroud)