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

Nginx problem while upgrading

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

  1. hitman

    hitman Member

    110
    9
    18
    Jul 18, 2014
    Ratings:
    +13
    Local Time:
    5:46 PM
    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

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    12:46 AM
    Nginx 1.13.x
    MariaDB 5.5