无法在Windows 10环境上构建NSPR

时间:2019-06-07 14:22:01

标签: bash windows-10 mozilla spidermonkey nspr

我正在根据Windows 10上的this条指令构建NSPR。

我一直遇到错误,最近的错误是这样:

  

配置:错误:Microsoft(R)清单工具必须位于您的$ PATH中。

我已经将$ PATH设置为指向驱动器根目录中包含mt.exe的WindowsSDK副本,但是仍然没有运气,我不确定代码在寻找什么。这是配置文件中的相关部分

# Ensure that mt is Microsoft (R) Manifest Tool and not magnetic
# tape manipulation utility (or something else)
if test "$MSC_VER" -ge "1400"; then
    changequote(,)
    _MSMT_VER_FILTER='s|.* \([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*|\1|p'
    changequote([,])

    MSMT_TOOL=`mt 2>&1|grep 'Microsoft (R) Manifest Tool'`
    if test -n "$MSMT_TOOL"; then
        MSMANIFEST_TOOL_VERSION=`echo ${MSMT_TOOL}|sed -ne "$_MSMT_VER_FILTER"`
        if test -z "$MSMANIFEST_TOOL_VERSION"; then
            AC_MSG_WARN([Unknown version of the Microsoft (R) Manifest Tool.])
        fi
        MT=mt
        unset MSMT_TOOL
    else
        AC_MSG_ERROR([Microsoft (R) Manifest Tool must be in your \$PATH.])
    fi
fi

0 个答案:

没有答案
相关问题