Join the community today
Become a Member

Beta Branch Centmin Mod .08 beta3 + clang compiler ngx_pagespeed psol

Discussion in 'Beta release code' started by rdan, Jun 10, 2015.

  1. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    I think this is a problem?

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nah those errors can be ignored
    Code:
    ${CUR_DIR} & ${CM_INSTALLDIR}
    /usr/local/src/centmin-v1.2.3mod
    /usr/local/src/centmin-v1.2.3mod
    inc/ccache.inc: line 10: cd: ccache-3.2.2/: No such file or directory
    make: *** No rule to make target `clean'. Stop.
    inc/ccache.inc: line 12: ./configure: No such file or directory
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.
    but i'll fix it up in a minute :)
     
  3. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
  4. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    No.
    I have this:
    NGINX_PAGESPEED=y # Install ngx_pagespeed
    NGINX_PAGESPEEDGITMASTER=n # Install ngx_pagespeed from official github master instead
    NGXPGSPEED_VER='1.9.32.3-beta'
    NGINX_PAGESPEEDPSOL_VER='1.9.32.3'
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    okay i see the problem for ccache part, not quite ready for existing install upgrades.. the latest commits are for fresh installs first

    as to nginx failed upgrade,
    Code:
    checking for psol ... not found
    ./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
    Look in objs/autoconf.err for more details.
    psol didn't download.. try again and see
     
  8. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    I need to grab the latest code from github?
     
  9. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Can you first list contents of /svr-setup/ngx_pagespeed-release-1.9.32.3-beta/

    1.9.32.3.tar.gz = psol download
    Code:
    ls -lah /svr-setup/ngx_pagespeed-release-1.9.32.3-beta/
    total 108M
    drwxrwxr-x  6 root   root 4.0K Jun  9 15:39 .
    drwxr-xr-x 60 root   root  12K Jun  9 15:46 ..
    -rw-rw-r--  1 root   root   30 Dec 22 15:10 .gitignore
    -rw-r--r--  1 root   root 108M Jan  6 22:00 1.9.32.3.tar.gz
    -rw-rw-r--  1 root   root  12K Dec 22 15:10 LICENSE
    -rw-rw-r--  1 root   root 1.5K Dec 22 15:10 README.md
    -rw-rw-r--  1 root   root 7.2K Dec 22 15:10 config
    -rw-rw-r--  1 root   root 2.9K Dec 22 15:10 cpp_feature
    drwxr-x---  4 245878 5000 4.0K Dec 22 15:03 psol
    drwxrwxr-x  2 root   root 4.0K Dec 22 15:10 scripts
    drwxrwxr-x  2 root   root 4.0K Dec 22 15:10 src
    drwxrwxr-x  2 root   root 4.0K Dec 22 15:10 test
     
  10. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    I mean here:
    upload_2015-6-10_0-9-51.png
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    strange it looks like it exists... try updating to latest .08 beta03 i made some adjustments for ccache on upgrade releases might be related
     
  12. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
  13. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    I just did:
    rm -rf /svr-setup/*
    Then re run menu 4 now.
    Same error.
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    just download and overwrite the zip completely

    i tried on fresh install and nginx upgrades work

    Code:
    checking for psol ... found
    the configure stage
    Code:
    adding module in ../ngx-fancyindex-ngx-fancyindex
    + ngx_http_fancyindex_module was configured
    adding module in ../ngx_cache_purge-2.3
    + ngx_http_cache_purge_module was configured
    adding module in ../headers-more-nginx-module-0.25
    + ngx_http_headers_more_filter_module was configured
    adding module in ../nginx-accesskey-2.0.3
    + ngx_http_accesskey_module was configured
    adding module in ../nginx-http-concat-master
    + ngx_http_concat_module was configured
    adding module in ../nginx-dav-ext-module-0.0.3
    + ngx_http_dav_ext_module was configured
    adding module in ../openresty-memc-nginx-module-1518da4
    + ngx_http_memc_module was configured
    adding module in ../openresty-srcache-nginx-module-ffa9ab7
    + ngx_http_srcache_filter_module was configured
    adding module in ../ngx_devel_kit-0.2.19
    + ngx_devel_kit was configured
    adding module in ../set-misc-nginx-module-0.28
    found ngx_devel_kit for ngx_set_misc; looks good.
    + ngx_http_set_misc_module was configured
    adding module in ../echo-nginx-module-0.57
    + ngx_http_echo_module was configured
    adding module in ../lua-nginx-module-0.9.16rc1
    checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env) ... found
    checking for export symbols by default (-E) ... found
    checking for export symbols by default (--export-all-symbols) ... not found
    checking for SO_PASSCRED ... found
    + ngx_http_lua_module was configured
    adding module in ../lua-upstream-nginx-module-0.02
    + ngx_http_lua_upstream_module was configured
    adding module in ../lua-upstream-cache-nginx-module-0.1.1
    + ngx_http_lua_cache_module was configured
    adding module in ../nginx_upstream_check_module-0.3.0
    checking for ngx_http_upstream_check_module ... found
    + ngx_http_upstream_check_module was configured
    adding module in ../nginx-module-vts
    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../ngx_pagespeed-release-1.9.32.3-beta
    mod_pagespeed_dir=../ngx_pagespeed-release-1.9.32.3-beta/psol/include
    build_from_source=false
    checking for psol ... found
    List of modules (in reverse order of applicability): ngx_http_write_filter_module ngx_http_header_filter_module ngx_http_chunked_filter_module ngx_http_spdy_filter_module ngx_http_range_header_filter_module ngx_pagespeed_etag_filter ngx_http_gzip_filter_module ngx_pagespeed ngx_http_postpone_filter_module ngx_http_ssi_filter_module ngx_http_charset_filter_module ngx_http_image_filter_module ngx_http_sub_filter_module ngx_http_addition_filter_module ngx_http_userid_filter_module
    + ngx_pagespeed was configured
    checking for zlib library ... found
    checking for GD library ... found
    checking for GeoIP library ... found
    checking for atomic_ops library ... found
    creating objs/Makefile
    
    Configuration summary
      + using threads
      + using PCRE library: ../pcre-8.37
      + using OpenSSL library: ../portable-2.1.6
      + md5: using OpenSSL library
      + sha1: using OpenSSL library
      + using system zlib library
      + using system libatomic_ops library
    
      nginx path prefix: "/usr/local/nginx"
      nginx binary file: "/usr/local/sbin/nginx"
      nginx configuration prefix: "/usr/local/nginx/conf"
      nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
      nginx pid file: "/usr/local/nginx/logs/nginx.pid"
      nginx error log file: "/usr/local/nginx/logs/error.log"
      nginx http access log file: "/usr/local/nginx/logs/access.log"
      nginx http client request body temporary files: "client_body_temp"
      nginx http proxy temporary files: "proxy_temp"
      nginx http fastcgi temporary files: "fastcgi_temp"
      nginx http uwsgi temporary files: "uwsgi_temp"
      nginx http scgi temporary files: "scgi_temp"
    
    *************************************************
    
    Tue Jun  9 16:11:17 UTC 2015
    Success: Nginx configure ok
    
     
  15. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    Another new error :/
    # ./centmin.sh
    inc/downloads.inc: line 2610: cecho: command not found
    inc/downloads.inc: line 2615: http://samba.org/ftp/ccache/ccache-3.2.2.tar.gz: No such file or directory
    inc/downloads.inc: line 2618: cecho: command not found
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
     
  16. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    honestly not sure on the nginx psol one as the file exists and nothing in the changes i did would touch that
    i see for ccache, the order of download and install and the cecho color functions needs revising
     
  17. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    Will try this again after the above error will be fix.
    Thanks Eva!
     
  18. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hmmm i've only tested fresh installs for the .08 beta03 latest commits heh, so need to work some stuff out for existing centmin mod installed instances - problem for ccache at least stems from needing to auto detect and switch from ccache 3.1.9 yum install at /usr/bin/ccache to upgrading to ccache 3.2.2 via source compile at /usr/local/bin/ccache. For some reason ccache tarball is getting downloaded to centmin mod base install directory instead of /svr-setup

    edit: okay fixed that part at least for ccache update inc/ccache.inc fix download directory path · centminmod/centminmod@284f783 · GitHub
     
  19. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    7:20 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  20. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:20 PM
    Mainline
    10.2
    OK, Thanks :)
    BRB.