Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: nodejs 6.2.1 fails to compile
Date: Mon, 27 Jun 2016 14:20:20
Message-Id: loom.20160627T160120-185@post.gmane.org
In Reply to: [gentoo-user] nodejs 6.2.1 fails to compile by covici@ccs.covici.com
1 <covici <at> ccs.covici.com> writes:
2
3 > Hi. I am having problems emerging nodejs 6.2.1 which happened on my
4 > last update of world. I get the following error output:
5
6 OK, so, I'm "no java whiz" so keep that in mind....
7 I was just able to install it::
8 Installed versions: 6.2.1(09:59:02 AM 06/27/2016)(npm snapshot
9 ssl -debug -doc -icu -test CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7")
10
11 So it's probably an issue on your system.
12
13 Security reading suggest that 6.3.0 is out, so I'd file a bug at bgo
14 to 'version bump' it anyway.
15
16
17 First, look at the ebuild as the install procedure is quite long
18 for an ebuild. So that means there are plenty of place where compiling
19 can go wrong. Looking at the ebuild flow of control and correlating the
20 issues in the elog file helps you to comprehend the steps and particularly
21 hone in on where the compile fail occurred.
22
23 Go to the build dir and look at the intermediate files for issues,
24 permission etc etc.
25
26
27 > [ -x ./node ] && ./node tools/doc/generate.js --node-version=v6.2.1
28 > --format=html --template=doc/template.html doc/api/modules.md >
29 > out/doc/api/modules.html || node tools/doc/generate.js
30 > --node-version=v6.2.1 --format=html --template=doc/t\emplate.html
31 > doc/api/modules.md > out/doc/api/modules.html
32 > Input file = doc/api/modules.md
33 > module.js:442
34 > throw err;
35 > ^
36 >
37
38 Right below here the errors narrow in::
39
40 > Error: Cannot find module
41
42
43 Here they tell you want one of the problems is, below.
44
45
46 > Error: Cannot find module
47
48 > Any assistance would be appreciated.
49 >
50
51 You can publish your java settings and I'll compare against mine
52 (I'm not really sure how to print the java-settings only...
53
54
55 Good Hunting!
56 hth,
57 James

Replies

Subject Author
Re: [gentoo-user] Re: nodejs 6.2.1 fails to compile Alan McKinnon <alan.mckinnon@×××××.com>