关于在Windows上编译PHP7和在windows上编译sqlcipher的问题就给大家分享到这里,感谢你花时间阅读本站内容,更多关于c–如何在WIndows上使用Cython编译Pyparsing
关于在Windows上编译PHP 7和在windows上编译sqlcipher的问题就给大家分享到这里,感谢你花时间阅读本站内容,更多关于c – 如何在WIndows上使用Cython编译Pyparsing?、gearman怎么在windows上编译php扩展?、node-expat在Windows上编译但找不到模块、Python在Windows上编译开发构build等相关知识的信息别忘了在本站进行查找喔。
本文目录一览:- 在Windows上编译PHP 7(在windows上编译sqlcipher)
- c – 如何在WIndows上使用Cython编译Pyparsing?
- gearman怎么在windows上编译php扩展?
- node-expat在Windows上编译但找不到模块
- Python在Windows上编译开发构build
在Windows上编译PHP 7(在windows上编译sqlcipher)
在官方的“ 在Windows上构build自己的PHP”手册中,关于release configure命令的信息已经过时了。请问,有人能告诉我,与官方的NTS预编译版本相比,我怎样才能得到相同的PHP?
我试过configure --enable-snapshot-build --enable-debug-pack --disable-zts --with-pdo-oci=C:PHP-sdkoracleinstantclient10sdk,shared --with-oci8=C:PHP-sdkoracleinstantclient10sdk,shared --with-oci8-11g=C:PHP-sdkoracleinstantclient11sdk,shared ,但在编译的snapshot.txt中,正式发布…
如何通过ld将NASM程序链接到libc?
int 0x80是否覆盖寄存器值?
如何写入cpu寄存器实际上工作?
通过程序集以编程方式检测上下文切换
Linux x86引导程序
答案已经接近 – PHPinfo()中的“Configure Command”参数包含编译时使用的实际configure参数。
c – 如何在WIndows上使用Cython编译Pyparsing?
python setup.py build_ext --inplace running build_ext cythoning pyparsing.pyx to pyparsing.c Error compiling Cython file: ------------------------------------------------------------ ... If C{include} is set to true,the matched expression is also parsed (the skipped text and matched expression are returned as a 2-element list). The C{ignore} argument is used to define grammars (typically quoted strings and comment s) that might contain false matches. """ def __init__( self,other,include=False,ignore=None,failOn=None ): ^ ------------------------------------------------------------ pyparsing.pyx:2764:31: Expected an identifier,found 'include' Error compiling Cython file: ------------------------------------------------------------ ... def __init__( self,failOn=None ): super( SkipTo,self ).__init__( other ) self.ignoreExpr = ignore self.mayReturnEmpty = True self.mayIndexError = False self.includeMatch = include ^ ------------------------------------------------------------ pyparsing.pyx:2769:28: Expected an identifier or literal building 'pyparsing' extension creating build creating build\temp.win32-2.7 creating build\temp.win32-2.7\Release C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W 3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcpyparsing.c /Fobuild\t emp.win32-2.7\Release\pyparsing.obj pyparsing.c pyparsing.c(1) : Fatal error C1189: #error : Do not use this file,it is the re sult of a Failed Cython compilation. error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa iled with exit status 2
我使用Microsoft Visual C 2008 Express版进行了编译,使用的Pyparsing模块是最新版本.请问,有谁知道如何使这项工作?
解决方法
python setup.py build_ext --inplace running build_ext cythoning pyparsing.pyx to pyparsing.c warning: pyparsing.pyx:413:8: Unreachable code building 'pyparsing' extension creating build creating build\temp.win32-2.7 creating build\temp.win32-2.7\Release C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W 3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcpyparsing.c /Fobuild\t emp.win32-2.7\Release\pyparsing.obj pyparsing.c C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE MENTAL:NO /LIBPATH:C:\Python27\libs /LIBPATH:C:\Python27\PCbuild /EXPORT:initpyp arsing build\temp.win32-2.7\Release\pyparsing.obj /OUT:C:\Users\iProsper\Desktop \pyparsing\pyparsing.pyd /IMPLIB:build\temp.win32-2.7\Release\pyparsing.lib /MAN IFESTFILE:build\temp.win32-2.7\Release\pyparsing.pyd.manifest Creating library build\temp.win32-2.7\Release\pyparsing.lib and object build\ temp.win32-2.7\Release\pyparsing.exp C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build \temp.win32-2.7\Release\pyparsing.pyd.manifest -outputresource:C:\Users\iProsper \Desktop\pyparsing\pyparsing.pyd;2
警告实际上在第4行:警告:pyparsing.pyx:413:8:无法访问的代码.然后我将该行改为:
def __getattr__( self,name ): if True: #name not in self.__slots__: if name in self.__tokdict: if name not in self.__accumNames: return self.__tokdict[name][-1][0] else: return ParseResults([ v[0] for v in self.__tokdict[name] ]) else: return "" else: return None
然后重新编译它.我注意到的一件事是,即使我发出警告和编辑,它们都成功编译,但是当我尝试使用以下代码进行测试时:
from pyparsing import Word,alphas greet = Word(alphas) + ',' + Word(alphas) + '!' greeting = greet.parseString('Hello,World!') print greeting
我收到以下错误:
Traceback (most recent call last): File "C:\nwaomachux\build_pyparsing\checkout.py",line 1,in from pyparsing import Word,alphas File "pyparsing.pyx",line 3414,in init pyparsing (pyparsing.c:100064) AttributeError: 'builtin_function_or_method' object has no attribute 'ANY_VALUE'
我会进一步修改文件并发送给你检查它,但我只有几个小时的Pyparsing,所以我还没有掌握完整的源代码.
我不知道将withAttribute.ANY_VALUE = object()移动到def withAttribute(args,* attrDict)的开头是什么效果:function表示.请问,它有什么问题?谢谢.
gearman怎么在windows上编译php扩展?
之前的工作都是在windows上面开发的,现在要调试gearman分布式计算的功能,需要gearman的php扩展支持,百度了也没有看到相关资料。有大神知道吗?node-expat在Windows上编译但找不到模块
https://github.com/TooTallNate/node-expat/tree/gyp和node-gyp被用来编译它。 node_expat.node已经生成。 在代码中引用时出现跟随错误:
module.js:485 process.dlopen(filename,module.exports); ^ Error: The specified module Could not be found. C:UseRSSDesktopTranslinkTooTallNate-node-expat-e7d7cb5buildreleas node_expat.node at Object.Module._extensions..node (module.js:485:11) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17) at require (module.js:378:17) at Object.<anonymous> (C:UseRSSDesktopTranslinkserver.js:1:181) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10)
我无法进一步尝试在Windows上获得node-expat。 欣赏任何投入。
在没有构build的情况下在窗口上获取与节点相关的模块
npm安装mongoose导致gyp和kerberos错误(找不到gssapi / gssapi.h文件)
在Windows 8上安装node-gyp和Opencv
npm node-gyp在Windows 7上安装问题
由于没有findnode-gyp:binding.gyp,无法安装npm
它需要libexpat.dll作为.node实际上是一个动态链接库。 我将libexpat.dll复制到Release目录中以使其工作。 它也可以复制到system32中。
Python在Windows上编译开发构build
复制步骤
我试图用Python 2.7.6在Windows 7机器上构buildPandas的开发版本。 我遵循这里的步骤( http://pandas.pydata.org/pandas-docs/dev/install.html )。
我检查了我有需要的依赖关系和一些可选的(Cython = .20,Numpy = 1.7.1,python-dateutil = 1.5,pytz = 2013.9)
我仔细检查了依赖关系是最新的
我克隆了github:git clone git://github.com/pydata/pandas.git
我安装了minGW编译器套件(包括C和C ++编译器)
mingw设置是4.3.3版本
我确信pydistutils.cfg位于正确的位置(C: Python27 Lib distutils)并具有以下代码:
[build] compiler=mingw32
我试图使用:python setup.py build –compiler == mingw32
这开始build立几秒钟,然后运行到下面的错误
错误
防止从静态库中导入function
在基础接口类中缺less虚拟析构函数?
使用arm-none-eabi-gcc编译和链接库liba.a错误
在Linux上如何确定共享库依赖path?
缺lessgdb和nasm的debugging信息
我该如何解决这个问题呢? 谢谢!
编译一个使用gcc的win32项目时,如何链接到库?
ARM-GCC在Fedora 21下生成错误
Visual Studio和GCC – 编译器差异
Linux上dlopen()的有效相对path?
g ++ 4.1.2没有在此范围内声明runtime_error
以防万一有人犯了同样的错误,我意识到我正在使用一个64位的Windows 7只有一个32位的MinGW编译器。 这里有一个MinGW 64位编译器解决了这个问题。
总结
以上是小编为你收集整理的Python在Windows上编译开发构build全部内容。
如果觉得小编网站内容还不错,欢迎将小编网站推荐给好友。
关于在Windows上编译PHP 7和在windows上编译sqlcipher的问题我们已经讲解完毕,感谢您的阅读,如果还想了解更多关于c – 如何在WIndows上使用Cython编译Pyparsing?、gearman怎么在windows上编译php扩展?、node-expat在Windows上编译但找不到模块、Python在Windows上编译开发构build等相关内容,可以在本站寻找。
本文标签: