Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] NodeJS compiling problem

4 views
Skip to first unread message

Peter Humphrey

unread,
Mar 5, 2023, 10:30:05 AM3/5/23
to
Hello list,

Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has
some interesting entries:

* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Checking whether python3_11 is suitable ...
* >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ...
[ ok ]
* Using python3.11 to build (via PYTHON_COMPAT iteration)
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not detect kernel version.

But I've just built a new kernel under /usr/src/linux ( -> linux-6.2.2-
gentoo), so I know it's there. Is the problem to do with python:3.11?

$ eselect python list
Available Python interpreters, in order of preference:
[1] python3.10
[2] python3.11 (fallback)

--
Regards,
Peter.

Arve Barsnes

unread,
Mar 5, 2023, 11:20:05 AM3/5/23
to
On Sun, 5 Mar 2023 at 16:21, Peter Humphrey <pe...@prh.myzen.co.uk> wrote:
>
> Hello list,
>
> Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has
> some interesting entries:
>
> * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
> * Checking whether python3_11 is suitable ...
> * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ...
> [ ok ]
> * Using python3.11 to build (via PYTHON_COMPAT iteration)
> * Determining the location of the kernel source code
> * Found kernel source directory:
> * /usr/src/linux
> * Could not detect kernel version.

I wouldn't think this is really the problem, as long as you get the
"found kernel source directory" message. Being able to determine the
version doesn't seem that important, depending on what the actual
compile errors are.

Regards,
Arve

Peter Humphrey

unread,
Mar 5, 2023, 12:00:05 PM3/5/23
to
Hm. I thought it might be leading to the later error "no rule to make target
'3' ". See the attached log.

An amd64 machine compiles this version of nodejs ok, but this machine is
~amd64. I tried yanking out python 3.11, but still got the error so I put it
back in again, toute-suite.

--
Regards,
Peter.
net-libs:nodejs-18.14.2:20230305-163955.log

Peter Humphrey

unread,
Mar 6, 2023, 6:00:05 AM3/6/23
to
On Sunday, 5 March 2023 15:21:25 GMT Peter Humphrey wrote:
> Hello list,
>
> Am I the only one unable to install net-libs/nodejs-18.14.2? The log file
> has some interesting entries:

It was a typo in /etc/portage/env.

Apologies for the noise.

--
Regards,
Peter.
0 new messages