-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
The current version is 17.x, but install the recommended 16.x series. [Change-log](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.15.0)
Address the warning below by using the latest GCC available in MarIuX: WARNING: C++ compiler (CXX=g++, 7.5.0) too old, need g++ 8.3.0 or clang++ 8.0.0 WARNING: warnings were emitted in the configure phase
So, it requires at least GCC 8, while GCC 7.5.0 is the default in MarIuX. So, I source the GCC 11.1.0 profile, but have to do more I guess:
Help from the RPATH experts much appreciated. |
Or do I just adapt
|
rpath is complicated. Even more so, as "man ld" is not working currently :-) Maybe just put the LD_LIBRARY_PATH into the node profile. This only works for commands via wrapper not for someone doing /package/node-XXX/bin/blabla but you shouldn't been doing that anyway. |
No, better ". /pkg/gcc-11.1.0-0/profile" into the profile of node. |
Unfortunately, that does not work with GCC packages: #193 To work around it, I am using LLVM/clang 13.0.1 package instead. |
You could also fix the gcc package first. Win-Win. But this is fine, too. |
The profile currently does not set this.
The build currently fails with the GCC 11.1.0 package, [as its profile does not set `LD_LIBRARY_PATH`][1]. [1]: #193
da787d9
to
70b67e9
Compare
I stayed with LLVM/clang 13.0.1, as that is from 12/2021 and newer than GCC 11.1.0 from 4/2021. |
No description provided.