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
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users