ngx_pagespeed error code when compiled according to Tutorial

Discussion in 'Technical' started by DontSpaz, Jun 9, 2013.

  1. DontSpaz

    DontSpaz New Member

    Using the directions here:

    I have gotten to:
    cd /usr/src/pagespeed/nginx-1.2.1/ && dpkg-buildpackage -b
    It begins to compile, but fails with error:

    make: *** [config.status.full] Error 1
    dpkg-buildpackage: error: debian/rules build gave error exit status 2
    More info:
    Using latest STABLE debian (jesse) amd64
    1.2.6 version of nginx source

    PS: you forgot to mention to install git in your tutorial:
    sudo apt-get install git
    Can anyone help me resolve this issue? Let me know if more information is needed.
  2. Ovidiu

    Ovidiu Active Member

    exact same problem over here but running Debian Wheezy and building with nginx 1.4.1 from dotdeb sources.

  3. Ovidiu

    Ovidiu Active Member

    There are some explanation here about this type of error but its way over my head, could someone have a look maybe and help? - just search for "exit status 2" on that particular page.

    Could my problem be that I am using nginx from Dotdeb?
    insta-follow likes this.
  4. DontSpaz

    DontSpaz New Member

    insta-follow likes this.
  5. Ovidiu

    Ovidiu Active Member

    I've been digging at this and now I use
    to build and I see a few more error details:

    the rules file has only 319 lines though and ends with:
    Any other ideas?
    insta-follow likes this.
  6. Corvax

    Corvax New Member

    Yes. I had the same problem... AFTER
    git clone
    you MUST
    cd ngx_pagespeed
    tar zxvf
    It works fine for me
    insta-follow likes this.
  7. Ovidiu

    Ovidiu Active Member

    can't believe they forgot that in the tutorial, I hope I'll get around to giving it a try soon.

Share This Page