本文介绍了cygwin的:不能确定安装点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在Windows上运行.bat文件。我试图建立Nss为,但是当我运行.bat文件我收到以下内容:

I have been trying to run a .bat file on windows. I'm attempting to build Nss, but when I run the .bat file I receive the following:

sh ../../build/cygwin-wrapper cl -Fonow.obj -c      -W3 -nologo -GF -Gy -MD -O2
  -UDEBUG -U_DEBUG -UWINNT -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_
VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -
DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -D_CRT_SECURE_NO_WARNINGS=1 -D_CRT_NONSTDC_NO_WARN
INGS=1 -DWIN95=1 -D_PR_GLOBAL_THREADS_ONLY=1 -D_AMD64_=1 -DFORCE_PR_LOG   "/c/Pi
dginBuild/win32/nss/nspr/WIN954.0_OPT.OBJ/config/../../config/now.c"
/usr/bin/mount: /etc/fstab.conf: configuration file not found
Can't find file Cannot determine cygwin mount points. Exiting
make[2]: *** [now.obj] Error 1
make[2]: Leaving directory `/c/PidginBuild/win32/nss/nspr/WIN954.0_OPT.OBJ/confi
g'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/c/PidginBuild/win32/nss/nspr/WIN954.0_OPT.OBJ'
make: *** [build_nspr] Error 2
***
*** Build failed
***

C:\PidginBuild\win32\nss\nss>

有谁知道什么可能是这个原因?

Does anyone know what might be the cause of this?

感谢。

推荐答案

这听起来像也许你的脚本或Makefile文件简单地假设一个Unix环境。

It sounds like maybe your script or Makefile simply assumes a Unix environment.

建议:尝试添加Cygwin的挂载点并重新运行的版本:

SUGGESTION: try adding a Cygwin mount point and re-running the build:



  • http://cygwin-lite.sourceforge.net/html/mount.html

这篇关于cygwin的:不能确定安装点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 14:57