Hello Hanspeter, Thanks for your quick response !
I’ve tried the latest mongodb package but I still got compilation errors on v8 and related (required deps like gcc5 and the like built properly). —8<—— scons: *** [build/darwin/use-system-boost/use-system-pcre/use-system-snappy/usev8/third_party/v8/src/x64/debug-x64.o] Error 1 In file included from src/third_party/v8/src/x64/deoptimizer-x64.cc:28: In file included from src/third_party/v8/src/v8.h:60: In file included from src/third_party/v8/src/objects-inl.h:38: In file included from src/third_party/v8/src/elements.h:33: In file included from src/third_party/v8/src/heap.h:41: src/third_party/v8/src/store-buffer.h:229:9: error: private field 'heap_' is not used [-Werror,-Wunused-private-field] Heap* heap_; ^ 3 errors generated. —8<—— I’ll doubt fink project will upgrade to a later mongodb version (like 2.6) because of possible backward compatibility issues with existing deps I guess. Anyway, I’ll go and try a 2.6.x build from source outside of Fink ecosystem and keep you posted. Thanks for your support. Regards. > Le 13 sept. 2015 à 00:22, Hanspeter Niederstrasser <f...@snaggledworks.com> a > écrit : > > On 9/11/2015 11:59 AM, Laurent Lecigne wrote: >> Hello, >> >> I am currently stuck trying to compile mongodb package, I get the following >> compilation error : >> >> —8<— >> In file included from src/third_party/v8/src/heap.h:35: >> In file included from src/third_party/v8/src/incremental-marking.h:33: >> In file included from src/third_party/v8/src/mark-compact.h:32: >> src/third_party/v8/src/spaces.h:829:26: error: 'this' pointer cannot be null >> in well-defined C++ code; comparison may be assumed to always evaluate to >> true >> [-Werror,-Wtautological-undefined-compare] >> bool exists() { return this != NULL && code_range_ != NULL; } >> ^~~~ ~~~~ >> src/third_party/v8/src/spaces.h:831:9: error: 'this' pointer cannot be null >> in well-defined C++ code; comparison may be assumed to always evaluate to >> false >> [-Werror,-Wtautological-undefined-compare] >> if (this == NULL || code_range_ == NULL) return false; >> ^~~~ ~~~~ >> 2 errors generated. >> scons: *** [build/darwin/normal/third_party/v8/src/x64/assembler-x64.o] >> Error 1 >> scons: building terminated because of errors. >> —8<— >> >> Environment: >> Package manager version: 0.38.7 >> Distribution version: selfupdate-rsync Fri Sep 11 18:48:44 2015, 10.10, >> x86_64 >> Trees: local/main stable/main stable/crypto >> Xcode.app: 6.4 >> Xcode command-line tools: 6.4.0.0.1.1435007323 >> Max. Fink build jobs: 8 >> >> Does anyone have any clue on this ? > > That version of mongodb that we had is quite old and apparently doesn't build > with new(ish) systems and compilers. I've just updated Fink to have > mongodb-2.4.14, which at least now builds on 10.9 (though it's still quite an > old mongodb release). Please selfupdate and try building the new one I > committed. > > Hanspeter
------------------------------------------------------------------------------
_______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users