1 |
I'm trying to install mongodb 3.4.2 and have a troublesome scons error when |
2 |
linking the mongo shell. |
3 |
|
4 |
collect2: error: ld returned 1 exit status |
5 |
scons: *** [build/opt/mongo/mongo] Error 1 |
6 |
scons: building terminated because of errors. |
7 |
build/opt/mongo/mongo failed: Error 1 |
8 |
* ERROR: dev-db/mongodb-3.4.2::gentoo failed (compile phase): |
9 |
* escons failed. |
10 |
* |
11 |
* Call stack: |
12 |
* ebuild.sh, line 115: Called src_compile |
13 |
* environment, line 3364: Called escons 'CC=x86_64-pc-linux-gnu-gcc' |
14 |
'CXX=x86_64-pc-linux-gnu-g++' '--disable-warnings-as-errors' |
15 |
'--use-system-boost' '--use-system-pcre' '--use-system-snappy' |
16 |
'--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--ssl' 'core' |
17 |
'tools' |
18 |
* environment, line 1602: Called die |
19 |
* The specific snippet of code: |
20 |
* die "escons failed." |
21 |
|
22 |
The line in the environment is in a function called escons and it's testing a |
23 |
value called EAPI to be less than 4 which it isn't. |
24 |
|
25 |
I've already updated gcc to v5.4 and done the tasks listed here: |
26 |
http://www.funtoo.org/News:GCC_Update |
27 |
|
28 |
It's all a bit baffling to me and I'd appreciate a little guidance. |
29 |
|
30 |
I've attached some of the info but the log file is ~250K |
31 |
|
32 |
Thanks |
33 |
|
34 |
Dick |