google dense_hash_map no found

604 views
Skip to first unread message

Emanuel Ulses

unread,
Dec 31, 2016, 4:14:41 AM12/31/16
to ngx-pagespeed-discuss
hi,

I try to set up nginx on a Cent OS 7.2 with ngx_pagespeed.

the configuration always terminate because of a problem with google/dense_hash_map. here the message from the error file:

----------------------------------------
checking for psol

In file included from /root/ngx_pagespeed/psol/include/pagespeed/kernel/base/symbol_table.h:31:0,
                 from /root/ngx_pagespeed/psol/include/pagespeed/kernel/html/html_parse.h:36,
                 from objs/autotest.cc:8:
/root/ngx_pagespeed/psol/include/pagespeed/kernel/base/dense_hash_map.h:21:33: fatal error: google/dense_hash_map: No such file or directory
 #include "google/dense_hash_map"
                                 ^
compilation terminated.
----------

if I look into the directory the dense_hash_map.h is in there?
can anyone help?

Joshua Marantz

unread,
Dec 31, 2016, 7:38:59 AM12/31/16
to ngx-pagesp...@googlegroups.com
What hardware are you compiling for?

The dense_hash_map distribution files are hardware-dependent, and are one of the stumbling blocks (I think) for compiling on ARM etc.


--
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 https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.

Emanuel Ulses

unread,
Dec 31, 2016, 8:00:24 AM12/31/16
to ngx-pagespeed-discuss
I am a step ahead - the error was because I grabbed the wrong branch for my nginx version. in the meantime I am at this point that the configuration goes with no errors - but than the make fail because of some openssl errors.

on my centos 7.2 I have openssl 1.0.1e installed. but nginx need 1.0.2x for working. I tried do download the 1.0.2j and in the configuration I give that folder a try. make is than cancelling with the follwoing message - It is more a problem with compiling ngnix with openssl now - maybe someone knows a solution for this?

make[4]: *** No rule to make target `../../include/openssl/idea.h', needed by `e_idea.o'.  Stop.
make[4]: Leaving directory `/root/openssl-1.0.2j/crypto/evp'
make[3]: *** [subdirs] Fehler 1
make[3]: Leaving directory `/root/openssl-1.0.2j/crypto'
make[2]: *** [build_crypto] Fehler 1
make[2]: Leaving directory `/root/openssl-1.0.2j'
make[1]: *** [/root/openssl-1.0.2j/.openssl/include/openssl/ssl.h] Fehler 2
make[1]: Leaving directory `/root/nginx-1.11.4'
make: *** [build] Fehler 2

Emanuel Ulses

unread,
Dec 31, 2016, 8:20:19 AM12/31/16
to ngx-pagespeed-discuss
I fixed it already - the files that where not found in the include of the openssl folder must be copied and everything is fine ...

Ravi Soni

unread,
Dec 15, 2018, 10:18:58 AM12/15/18
to ngx-pagespeed-discuss
Please help. I'm stuck here but could not find file under openssl.
Reply all
Reply to author
Forward
0 new messages