use*_*459 0 c c++ mingw makefile autotools
我正在尝试从Windows 上的源代码构建shapelib。该库使用自动工具。我已经安装了带有适当软件包的 MinGW。当我跑
C:\MinGW\msys\1.0\bin\sh autogen.sh
Run Code Online (Sandbox Code Playgroud)
它输出
autogen.sh: line 4: readlink: command not found
autogen.sh: line 4: dirname: command not found
**Error**: Directory `' does not look like the top-level package directory
Run Code Online (Sandbox Code Playgroud)
我不希望 readlink 可以与 Windows 一起使用,所以我直接跳过了
C:\MinGW\msys\1.0\bin\sh configure
Run Code Online (Sandbox Code Playgroud)
但是,这也会引发错误
configure: line 478: sed: command not found
configure: line 477: expr: command not found
configure: line 478: sed: command not found
configure: line 492: sed: command not found
: error: cannot create .lineno; rerun with a POSIX shell
Run Code Online (Sandbox Code Playgroud)
有没有希望让它在 Windows 上编译?我错过了一些明显的东西吗?我仔细检查并安装了 sed 包。
| 归档时间: |
|
| 查看次数: |
6798 次 |
| 最近记录: |