Trouble building nginx from dotdeb

I’m trying to follow this tutorial:

to
build nginx with ngx_pagespeed on a Debian Wheezy machine. Unfortunately
so
far I have been using nginx from dotdeb so I’m trying to use their
sources.

The error occurs when building:

debuild -us -uc
.
.
.
make: *** [config.status.full] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

the rules file has only 319 lines though and ends with:

.PHONY: build clean binary-indep binary-arch binary install

so I’m not sure what the exact problem is. Any hints how to further
diagnose
this error?

Posted at Nginx Forum:

Use the official instructions from
GitHub - apache/incubator-pagespeed-ngx: Automatic PageSpeed optimization module for Nginx and you’ll have no problems.
Well, I haven’t upgraded from 1.4.1 yet, but that works fine.

Steve

Thanks, I knew about those instructions but I was trying to “build it
hte
Debian way” :frowning:
Found this page with some more instructions/hints:
Packaging/Intro - Debian Wiki but no luck.

So I guess if nobody can help me do it this way, in a few days I’ll give
it
a try with the instructions you linked to.

Posted at Nginx Forum: