Want to subscribe to topics you're interested in?
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

    55,805
    12,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,858
    Local Time:
    10:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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