./configure: error: module ngx_pagespeed requires the pagespeed optimization library

1.253 Aufrufe
Direkt zur ersten ungelesenen Nachricht

陈华彬

ungelesen,
02.01.2014, 21:42:2702.01.14
an ngx-pagesp...@googlegroups.com
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!

Jeff Kaufman

ungelesen,
02.01.2014, 23:05:2402.01.14
an ngx-pagesp...@googlegroups.com
What does obj/autoconf.err say?
> --
> 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-di...@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.

Chen Windy

ungelesen,
03.01.2014, 23:32:1003.01.14
an ngx-pagesp...@googlegroups.com
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

Jud Porter

ungelesen,
06.01.2014, 10:24:4606.01.14
an ngx-pagesp...@googlegroups.com
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.


To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.

Jeff Kaufman

ungelesen,
06.01.2014, 10:50:2906.01.14
an ngx-pagesp...@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.

Chen Windy

ungelesen,
06.01.2014, 20:49:5106.01.14
an ngx-pagesp...@googlegroups.com
Yes, I want to build debug version. The build is No problem after add the --with-debug flag. Thanks.

在 2014年1月6日星期一UTC+8下午11时50分29秒,Jeff Kaufman写道:
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

--
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.

Chen Windy

ungelesen,
06.01.2014, 20:50:5706.01.14
an ngx-pagesp...@googlegroups.com
Yes, I want to build debug version. The build is No problem after add the --with-debug flag. Thanks.

在 2014年1月6日星期一UTC+8下午11时24分46秒,Jud Porter写道:
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

Cristi C

ungelesen,
15.07.2014, 12:34:2515.07.14
an ngx-pagesp...@googlegroups.com
apt-get install g++  

yum install  gcc
-c++


 

Marcelo Manzini

ungelesen,
22.11.2015, 19:57:0122.11.15
an ngx-pagespeed-discuss
Yum install gcc-c++ 



--> Resolve my problem. Thanks Cristi
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten