Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch update addons/nodejs.sh NODEJS_SOURCEINSTALL='y'

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 23, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    30,933
    6,911
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,407
    Local Time:
    8:26 AM
    Nginx 1.13.x
    MariaDB 5.5
    update addons/nodejs.sh NODEJS_SOURCEINSTALL='y'

    switched to NODEJS_SOURCEINSTALL='y' for CentOS 6 detection and required node.js 4.x branch source compilation via alternative compiler to GCC, Clang. Clang compiler is used with help of devtoolset-3 to pass the tool chain path of devtoolset-3 GCC 4.9.1 to Clang so that node.js 4.x branch can compile on CentOS 6.x. CentOS 6.x has outdated GCC 4.4.7 which won't be able to compile node.js 4.x. But this work around to use Clang + devtoolset-3 GCC 4.9.1 allows node.js 4.x branch to successfully compile on CentOS 6.x. CentOS 7.x doesn't require this as it uses GCC 4.8.5 out of the box so can utilise nodesource.com YUM repo install of node.js 4.2.4+ LTS stable releases.

    Continue reading...

    123.09beta01 branch