我正在尝试按照本教程在 Windows(特别是 64 位的 Windows Server 2008 R2 SP1)上构建 Fennec(Firefox for Mobile):https ://wiki.mozilla.org/Mobile/Fennec/Android
我已经安装(或者因为我阅读是必要的,或者我以前拥有并认为可能相关的软件):
- Visual Studio 2010 专业版
- Eclipse Helios(未安装,但我有)
- Android SDK 12(最新)
- Android NDK r5(最新)
- Eclipse ADT 插件
- 赛格温
- 牛牛制作
- 乌龟汞
- Mozilla Build(下载并解压,但未使用)
我所做的是:
- 克隆源代码 ( )
hg clone http://hg.mozilla.org/mozilla-central/
- 创建一个名为 mozconfig 的文件(无扩展名)并按照教程中指定的内容放置这些路径:
C:\Users\Administrator\Downloads\android-ndk-r5b-windows\android-ndk-r5b
和C:\Program Files (x86)\Android\android-sdk\platforms\android-8
. - 打开命令行,转到正确的文件夹并运行
make -f client.mk
.
我收到了这个输出:
C:\Users\Administrator\Desktop\mozilla_central>make -f client.mk
The system cannot find the path specified.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
'C:/Users/Administrator/Desktop/mozilla_central/build/autoconf/mozconfig2client-mk' is not recognized as an internal or external command,
operable program or batch file.
client.mk:141: C:/Users/Administrator/Desktop/mozilla_central/.mozconfig.mk: No such file or directory
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
process_begin: CreateProcess(NULL, sh C:\Users\Administrator\Desktop\mozilla_central\build\autoconf\config.guess, ...) failed.
make: *** No rule to make target `C:/Users/Administrator/Desktop/mozilla_central/.mozconfig.mk'. Stop.
这是我第一次尝试构建 Firefox,也是我第一次尝试使用 make。
谢谢你的帮助!