What does obj/autoconf.err say?
On Thu, Jan 2, 2014 at 9:42 PM, 陈华彬 <snail.ch...@gmail.com> wrote:
> Hi,
> I build PSOL from Source, following
> https://github.com/pagespeed/ngx_pagespeed/wiki/Building-PSOL-From-Source.
> When execute "MOD_PAGESPEED_DIR="$HOME/mod_pagespeed/src" ./configure
> --add-module=$HOME/ngx_pagespeed" ,
>
> occur the error "build_from_source=true
> checking for psol ... not found
> ./configure: error: module ngx_pagespeed requires the
> pagespeed optimization library", why ? Any one help me!
>
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ngx-pagespeed-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.
If you add the --with-debug flag to your nginx ./configure then ngx_pagespeed will use the (debug) build of PSOL you already have.
On Mon, Jan 6, 2014 at 10:24 AM, Jud Porter <j...@google.com> wrote:
Do you want a debug build or a release build? From the sounds of that error message PSOL was built in debug mode, but you're trying to build nginx in release mode. If you want a release build, make sure you specify BUILDTYPE=Release when running the make commands for mod_pagespeed and PSOL, otherwise the default is debug.
On Fri, Jan 3, 2014 at 11:32 PM, Chen Windy <snail.ch...@gmail.com> wrote:
I check obj/autoconf.err, and find the problem that build pagespeed_automatic.a for debug but building nginx for release, so say not found PSOL. Thanks.
在 2014年1月3日星期五UTC+8下午12时05分24秒,Jeff Kaufman写道:
What does obj/autoconf.err say?
On Thu, Jan 2, 2014 at 9:42 PM, 陈华彬 <snail.ch...@gmail.com> wrote:
> Hi,
> I build PSOL from Source, following
> https://github.com/pagespeed/ngx_pagespeed/wiki/Building-PSOL-From-Source.
> When execute "MOD_PAGESPEED_DIR="$HOME/mod_pagespeed/src" ./configure
> --add-module=$HOME/ngx_pagespeed" ,
>
> occur the error "build_from_source=true
> checking for psol ... not found
> ./configure: error: module ngx_pagespeed requires the
> pagespeed optimization library", why ? Any one help me!
>
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> Visit this group at http://groups.google.com/group/ngx-pagespeed-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
Do you want a debug build or a release build? From the sounds of that error message PSOL was built in debug mode, but you're trying to build nginx in release mode. If you want a release build, make sure you specify BUILDTYPE=Release when running the make commands for mod_pagespeed and PSOL, otherwise the default is debug.
On Fri, Jan 3, 2014 at 11:32 PM, Chen Windy <snail.ch...@gmail.com> wrote:
I check obj/autoconf.err, and find the problem that build pagespeed_automatic.a for debug but building nginx for release, so say not found PSOL. Thanks.
在 2014年1月3日星期五UTC+8下午12时05分24秒,Jeff Kaufman写道:
What does obj/autoconf.err say?
On Thu, Jan 2, 2014 at 9:42 PM, 陈华彬 <snail.ch...@gmail.com> wrote:
> Hi,
> I build PSOL from Source, following
> https://github.com/pagespeed/ngx_pagespeed/wiki/Building-PSOL-From-Source.
> When execute "MOD_PAGESPEED_DIR="$HOME/mod_pagespeed/src" ./configure
> --add-module=$HOME/ngx_pagespeed" ,
>
> occur the error "build_from_source=true
> checking for psol ... not found
> ./configure: error: module ngx_pagespeed requires the
> pagespeed optimization library", why ? Any one help me!
>
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> Visit this group at http://groups.google.com/group/ngx-pagespeed-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.
apt-get install g++
yum install gcc-c++