Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Building mongodb-3.4.2 scons error
Date: Sun, 12 Mar 2017 17:49:59
Message-Id: HL3NGLLB.7ANFXCF3.MKDN4D42@4PU64PTR.HHEL45SP.D6RSCJWQ
In Reply to: [gentoo-user] Building mongodb-3.4.2 scons error by Dick Middleton
1 What's your glibc? If it is version 2.24 or 2.25 you probably need the
2 following patch
3
4
5
6 --- a/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp.ORIG
7 2017-02-01 20:00:25.000000000 +0100
8 +++ b/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp 2017-02-09
9 17:14:07.153905985 +0100
10 @@ -50,6 +50,8 @@
11 #include "mongo/db/storage/storage_options.h"
12 #include "mongo/util/clock_source.h"
13 #include "mongo/util/log.h"
14 +#define __USE_EXTERN_INLINES
15 +#include <sys/sysmacros.h>
16
17
18 namespace mongo {
19
20
21
22
23 I have compiled it with gcc-5.4.0 as well as with gcc-6.3.0

Replies

Subject Author
Re: [gentoo-user] Building mongodb-3.4.2 scons error Dick Middleton <dick@××××××.net>