Discover Centmin Mod today
Register Now

Beta Branch update addons/ NODEJS_SOURCEINSTALL='y'

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

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    11:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    update addons/ 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 YUM repo install of node.js 4.2.4+ LTS stable releases.

    Continue reading...

    123.09beta01 branch