【问题标题】:Installing Linux Library on Windows Using Mingw使用 Mingw 在 Windows 上安装 Linux 库
【发布时间】:2014-03-28 05:01:57
【问题描述】:

我正在尝试在 Windows 上安装 GTKExtra。该软件包位于 Tar.Gz 中,并包含一个 Configure 文件。因此有必要使用MinGw 安装该软件包,因为该软件包旨在安装在 Linux 上。

我已经安装了 MinGW 和 MSYS。我确保 C:\MinGW\msys\1.0\etc\fstab 包含C:\MinGW /mingw 行(加上它下面的空行)。

我的问题:我仍然无法让 Windows 运行 Configure 文件。当我在 CMD 中输入 ./Configure 时,我收到错误 '.' is not recognized as an internal or external command, operable program or batch file.

我正在采取的步骤是:

  • 打开 cmd.exe
  • 使用cd C:/... 导航到包含configure 文件的文件夹
  • 输入./configure(按照INSTALL中的说明。但这会导致我上面描述的错误

如何在 Windows 上运行 configure 文件?我做错了什么?

【问题讨论】:

    标签: linux windows installation mingw msys


    【解决方案1】:

    您必须在 unix 命令提示符下运行该命令。要启动 unix 命令提示符,请在 msys 安装中执行“msys.bat”。

    【讨论】:

    • 更清楚一点:我需要运行 C:\MinGW\msys\1.0 中的“msys.bat”
    猜你喜欢
    • 1970-01-01
    • 2014-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-14
    • 1970-01-01
    相关资源
    最近更新 更多