在Cygwin中构建MongoDB C ++驱动程序:未找到generate_error_codes.py

菲格罗克

我正在尝试在Cygwin上构建MongoDB客户端库。

Administrator@dev /cygdrive/e/warez/dev-tools/cpp/mongodb-src-r2.4.8
$ scons mongoclient
scons: Reading SConscript files ...
scons version: 2.3.0
python version: 2 7 5 'final' 0
No special config for [cygwin] which probably means it won't work
Checking whether the C++ compiler works(cached) yes
Checking for C header file unistd.h... (cached) yes
Checking whether clock_gettime is declared... (cached) yes
Checking for C library rt... (cached) yes
Checking for C++ header file execinfo.h... (cached) no
Checking for C library pcap... (cached) no
Checking for C library wpcap... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [build/cygwin/normal/mongo/base/error_codes.h] Source `src/mongo/base/generate_error_codes.py' not found, needed by target `build/cygwin/normal/mongo/base/error_codes.h'.
scons: building terminated because of errors.

Administrator@dev /cygdrive/e/warez/dev-tools/cpp/mongodb-src-r2.4.8
$ ls -l src/mongo/base/generate_error_codes.py
-rwx------+ 1 Administrators None 8736 Oct 31 22:15 src/mongo/base/generate_error_codes.py

与构建MongoDB驱动程序有关的两个问题:

他们没有得到错误:

[cygwin]没有特殊的配置,这可能意味着它将无法工作

我已经尝试了mongodb-src-r2.4.8和来自github(https://github.com/mongodb/mongo)的最新代码,但没有运气。

我应该如何解决该问题?提前致谢。

埃里克·米尔基(Eric Milkie)

当前不支持在Windows的Cygwin bash下运行scons来构建MongoDB。解决方案是使用本机Visual Studio命令提示符。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在 mongodb c++ 驱动程序中使用声明“未找到”

来自分类Dev

在OS X中构建和安装MongoDB C ++驱动程序

来自分类Dev

MongoDB驱动程序抛出文件未找到异常

来自分类Dev

未找到Mongodb Java驱动程序游标异常

来自分类Dev

在MongoDB C#驱动程序中获取生成的脚本

来自分类Dev

在Ubuntu中包含MongoDB C ++驱动程序时出错

来自分类Dev

MongoDB C#驱动程序超时

来自分类Dev

C#mongodb驱动程序groupby

来自分类Dev

mongodb c ++驱动程序无法更新

来自分类Dev

下载用于MongoDB的C ++驱动程序

来自分类Dev

即使已将JBDC驱动程序添加到类路径中,也未找到

来自分类Dev

Windows驱动程序中的C ++

来自分类Dev

Windows驱动程序中的C ++

来自分类Dev

使用.NET驱动程序2.0在MongoDB中构建索引

来自分类Dev

在mongodb中获取新集合在mongodb C#驱动程序中不起作用

来自分类Dev

PHP无法找到MongoDB驱动程序

来自分类Dev

无法构建32位Mongo DB C ++驱动程序

来自分类Dev

使用C#mongo驱动程序构建查询

来自分类Dev

如何在A.py中扩展C.py使用的B.py中定义的类

来自分类Dev

如何在A.py中扩展C.py使用的B.py中定义的类

来自分类Dev

MongoDB全文搜索C#驱动程序

来自分类Dev

如何使用MongoDB C#驱动程序进行$ lookup?

来自分类Dev

GroupBy Mongodb使用驱动程序C#

来自分类Dev

如何为Ubuntu安装MongoDB C ++驱动程序?

来自分类Dev

MongoDB C#驱动程序连接池

来自分类Dev

MongoDB C#驱动程序MongoCredential对象

来自分类Dev

Mongodb C#驱动程序和ISODate

来自分类Dev

C#MongoDB驱动程序忽略超时选项

来自分类Dev

检查插入是否成功(MongoDB C#驱动程序)