- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在 msys2 环境中构建 Spidermonkey,并遵循 mozilla 规定的步骤。
这在配置脚本之前一直有效。第一个问题是,配置脚本只是假设“cl”作为 Windows 的编译器,修复起来非常简单。
下一个问题是Python。
$ ../configure
loading cache ./config.cache
checking host system type... x86_64-pc-mingw64
checking target system type... x86_64-pc-mingw64
checking build system type... x86_64-pc-mingw64
checking for mawk... no
checking for gawk... gawk
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for ml64... no
checking for as... /mingw64/bin/as
checking for ar... ar
checking for ld... link
checking for strip... strip
checking for windres... windres
checking how to run the C preprocessor... -E -nologo
checking how to run the C++ preprocessor... -TP -E -nologo
checking for rustc... no
checking for w32api version >= 3.14... yes
checking for windres version >= 2.14.90... (GNU
checking for highest Windows version supported by this SDK...
checking for Windows SDK being recent enough... yes
checking for sb-conf... no
checking for ve... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... no
checking for tar archiver... checking for gnutar... no
checking for gtar... no
checking for tar... tar
tar
checking for minimum required perl version >= 5.006... 5.022000
checking for full perl installation... yes
checking for python2.7... /usr/bin/python2.7
Creating Python environment
Traceback (most recent call last):
File "/home/scones/gecko-dev/python/mozbuild/mozbuild/virtualenv.py", line 485, in <module>
manager.ensure()
File "/home/scones/gecko-dev/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure
return self.build()
File "/home/scones/gecko-dev/python/mozbuild/mozbuild/virtualenv.py", line 381, in build
self.create()
File "/home/scones/gecko-dev/python/mozbuild/mozbuild/virtualenv.py", line 144, in create
stderr=subprocess.STDOUT, env=env)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
------ config.log ------
configure:3244: checking for ml64
configure:3244: checking for as
configure:3298: checking for ar
configure:3333: checking for ld
configure:3368: checking for strip
configure:3403: checking for windres
configure:3693: checking how to run the C preprocessor
configure:3773: checking how to run the C++ preprocessor
configure:3819: checking for rustc
configure:4098: checking for w32api version >= 3.14
configure:4112: gcc -c conftest.c 1>&5
configure:4128: checking for windres version >= 2.14.90
configure:4150: checking for highest Windows version supported by this SDK
configure:4193: checking for Windows SDK being recent enough
configure:4308: checking for sb-conf
configure:4308: checking for ve
configure:4370: checking for a BSD compatible install
configure:4423: checking whether ln -s works
configure:4445: checking for tar archiver
configure:4451: checking for gnutar
configure:4451: checking for gtar
configure:4451: checking for tar
configure:4488: checking for minimum required perl version >= 5.006
configure:4498: checking for full perl installation
configure:4516: checking for python2.7
文件“/home/scones/gecko-dev/python/mozbuild/mozbuild/virtualenv.py”,第 144 行
内容如下:
result = subprocess.call(args, stdout=self.log_handle,
stderr=subprocess.STDOUT, env=env)
由于我不了解 python 也不了解它的库,所以我想我询问了一些有关如何解决此问题的建议。
最佳答案
您还不能使用 msys python 进行 Mozilla 构建。我希望尽快解决这个问题。在此之前,您应该使用官方的 Python 2.7.10。
关于python - msys2 中的 Spidermonkey 构建失败 "OSError: [Errno 2] No such file or directory",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33504781/
我正在尝试在 Ubuntu 上运行 Python3,但遇到了一些奇怪的错误。该脚本显然无法找到我已确认存在的文件。 这是错误 Traceback (most recent call last):
我将大量文件写入一个文件夹,没有子目录,但是在写入 280 万个文件后,出现此错误: with open(bottleneck_path, 'w') as save_file: OSError: [E
我已经编写了自己的模块,主要处理 django 站点的文件字段。在弄乱了一些与 mod_wsgi 相关的东西之后(通过更新到 3.3 解决),我让我的代码运行。在所有必要的导入之后,在定义任何类或函数
我有以下代码: except(OSError) as (errno, strerror, filename): print "OSError [%d]: %s at %s" % (errno, str
由于某种原因,在使用 fromtimestamp 构造日期时间时,当我使用小于 -43200(-12 小时)的负数时,我得到一个“OSError [Errno22] Invalid Argument”
在声明 Theano 符号函数时,我得到一个 OSError 和回溯。有趣的是,相同的代码在不同的机器上运行。一台机器配置为使用 GPU,而另一台(有错误)仅配置为 CPU。有其他人经历过这种行为并知
我正在尝试创建一本新词典。 import os import datetime parent_dir = "E:\\" directory = "cali" now = datetime.dateti
我想像这样处理特定的 OSError 代码: try: os.scandir() except OSPermissionError as error: # Only catch er
我正在尝试在我的 Linux Ubuntu 64 位机器上安装 pycryptodomex 和 pycrypto。但是,我一直收到此错误:(提前致谢!) haomin@haomin-R110CS:~$
我有以下要测试的 python 代码: def find_or_make_logfolder(self): if not path.isdir(self.logfolder):
当我尝试将 OCRopus(基于 python 的 OCR 工具)应用于 TIFF 图像时,出现以下 python 错误: Traceback (most recent call last):
我在 Tensorflow 之上使用 Python 和 Keras 来训练我的神经网络。当我从 Ubuntu 16.04 切换到 Windows 10 时,运行以下命令时无法再保存我的模型: file
问题陈述 我正在使用 python3 并尝试 pickle 一个 IntervalTrees 字典,它的重量大约为 2 到 3 GB。这是我的控制台输出: 10:39:25 - project: IN
我一直在寻找一些对某些人来说可能相对愚蠢但对我来说非常有趣的东西! :-) 在 Python 3.3 中,输入和输出错误已与 OSError 合并,因此异常类层次结构发生了变化。内置类 OSError
如果我只是这样做: import lightgbm as lgb 我得到了 python script.py Traceback (most recent call last): File "scri
我有以下代码试图在 Linux 中启动下面的每个“命令”。如果两个命令中的任何一个因任何原因崩溃,该模块会尝试保持每个命令都运行。 #!/usr/bin/env python import subpr
我想执行以下简单的服务器代码: import socket s = socket.socket() # Create a socket object host = socket.get
我正在尝试在带有配置的 Power PC 上运行以下代码: Operating System: Red Hat Enterprise Linux Server 7.6 (Maipo) CPE OS N
当我尝试通过 django 管理界面上传媒体文件时,出现此错误: OSError: [Errno 45] Operation not supported 这是回溯的最后一行: File "/pat
使用 uwsgi 和 nginx 运行 Django 3 python 3.6 应用程序会抛出太多这些!我花了太多时间试图弄清楚,所以欢迎任何帮助。 它们绝对不是客户端断开连接。在网上查找时,我发现了
我是一名优秀的程序员,十分优秀!