First i upgraded to GCC 9.1
I ran gcc --version, and the system returned 9.1
Then I ran npm install mediasoup
error: gcc <= 4.8 not supported, please upgrade your gcc
Then I switch to GCC 8.3
I ran gcc --version, and the system returned 8.3
Then I ran npm install mediasoup
error: gcc <= 4.8 not supported, please upgrade your gcc
Any ideas about why this is happening? Any obvious solutions?
I’m running CLOUDLINUX 7.6
Default GCC was 4.8.5
G++ also was installed and system returned same version as GCC each time
Here’s the full error output in case you need it:
[root@host ~]# npm install mediasoup
clang-tools-prebuilt@0.1.4 postinstall /root/node_modules/clang-tools-prebuilt
node install.js
unziping /root/.clang-tools/clang-tools-r298696-linux.tgz
mediasoup@3.1.1 postinstall /root/node_modules/mediasoup
make -C worker
make: Entering directory /root/node_modules/mediasoup/worker' /usr/bin/python2 ./scripts/configure.py -R mediasoup-worker Traceback (most recent call last): File "./scripts/configure.py", line 86, in <module> raise RuntimeError('gcc <= 4.8 not supported, please upgrade your gcc') RuntimeError: gcc <= 4.8 not supported, please upgrade your gcc make: *** [default] Error 1 make: Leaving directory
/root/node_modules/mediasoup/worker’
npm WARN enoent ENOENT: no such file or directory, open ‘/root/package.json’
npm WARN root No description
npm WARN root No repository field.
npm WARN root No README data
npm WARN root No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! mediasoup@3.1.1 postinstall: make -C worker
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the mediasoup@3.1.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-06-12T22_22_32_242Z-debug.log
Thanks in advance!