Welcome to Centmin Mod Community
Register Now

Beta Branch fix initial install custom wget in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 6, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    30,912
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,404
    Local Time:
    3:36 PM
    Nginx 1.13.x
    MariaDB 5.5
    fix initial install custom wget in 123.09beta01

    Problem specific to installer-latest.sh / betainstaller-latest.sh curl installs as the custom wget install routine sets certain CFLAGS but didn't unset them after wget install routine, so compilations further down the line in initial install of centmin mod inherited the CFLAGS option and this was problematic when initial installer-latest.sh or betainstaller-latest.sh had these variables enabled for NGINX_DEVTOOLSETGCC='y', GENERAL_DEVTOOLSETGCC='y' and ORESTY_LUANGINX='y' as the LuaJit portion of nginx compilation inherited the wget CFLAGS resulting in doubling up of CFLAGS which ended up with nginx -V command reporting no compiler built with text

    Continue reading...

    123.09beta01 branch

     
  2. eva2000

    eva2000 Administrator Staff Member

    30,912
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,404
    Local Time:
    3:36 PM
    Nginx 1.13.x
    MariaDB 5.5
    seems this also fixed another issue of custom wget CFLAG inheritance issue for CentOS 6 specific initial installs with installer-latest.sh or betainstaller-latest.sh which had these variables enabled for NGINX_DEVTOOLSETGCC='y', GENERAL_DEVTOOLSETGCC='y' and ORESTY_LUANGINX='y'. LuaJit portion of the install fails as wget custom install used devtoolset-3 GCC 4.9 and sets some CFLAGS options which are not supported by CentOS 6 older GCC 4.4.7 when it came to LuaJit install part so Nginx also failed to install. This fix of properly unsetting CFLAGS for wget custom install during initial install fixes this so LuaJit and thus Nginx can compile :D