Cygwin에서 MongoDB 클라이언트 라이브러리를 빌드하려고합니다.Cygwin에서 MongoDB C++ 드라이버 빌드 : generate_error_codes.py를 찾지 못했습니다.
[email protected] /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.
[email protected] /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의 드라이버 구축에 관한 두 가지 질문이 있습니다
: 그들은 오류가 발생하지 않았다No special config for [cygwin] which probably means it won't work
- https://stackoverflow.com/questions/16060068/c-mongodb-driver-in-cygwin
- Compiling MongoDB C++ driver on Cygwin
가 0
mongodb-src-r2.4.8과 github (https://github.com/mongodb/mongo)의 최신 코드를 사용해 보았습니다.
문제를 어떻게 해결해야합니까? 미리 감사드립니다.
cygwin을 빌드 된 플랫폼으로 지원하는지 잘 모르겠습니다. 조사하겠습니다. – Derick
현재, 전체 프로젝트를 구축하고 mongoclient를 빌드하는 것이 좋습니다. –
@Derick 그 사람을 고대하고 있습니다 ... 개인적으로 – figroc