Welcome to Centmin Mod Community
Register Now

Nginx problem while upgrading

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by hitman, Jan 13, 2015.

  1. hitman

    hitman Member

    126
    11
    18
    Jul 18, 2014
    Ratings:
    +15
    Local Time:
    5:00 AM
    hello
    i was trying to update nginx to 1.7.9 (currently 1.7.7) and i failed to do so
    i tried with (y) run yum installs and with (n) but in both cases it failed

    cc1: warnings being treated as errors
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_fastcgi_cache_purge_conf':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:275: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:275: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:292: error: assignment makes integer from pointer without a cast
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:293: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_fastcgi_cache_purge_handler':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:324: error: invalid type argument of '->' (have 'int')
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_proxy_cache_purge_conf':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:464: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:464: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:481: error: assignment makes integer from pointer without a cast
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:482: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_proxy_cache_purge_handler':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:513: error: invalid type argument of '->' (have 'int')
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_scgi_cache_purge_conf':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:595: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:595: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:612: error: assignment makes integer from pointer without a cast
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:613: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_scgi_cache_purge_handler':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:644: error: invalid type argument of '->' (have 'int')
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_uwsgi_cache_purge_conf':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:749: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:749: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:766: error: assignment makes integer from pointer without a cast
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:767: error: comparison between pointer and integer
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c: In function 'ngx_http_uwsgi_cache_purge_handler':
    ../ngx_cache_purge-2.2/ngx_cache_purge_module.c:798: error: invalid type argument of '->' (have 'int')
    make[1]: *** [objs/addon/ngx_cache_purge-2.2/ngx_cache_purge_module.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.7.9'
    make: *** [build] Error 2

    real 2m0.676s
    user 1m10.422s
    sys 0m15.996s
    *************************************************

    Mon Jan 12 14:32:55 UTC 2015
    Error: 2, Nginx make failed

    this is the message it get

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,554
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    12:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+