Error building 1.9.32.3-stable: fatal error: third_party/openssl/openssl/crypto/hmac/hmac.h: No such file or directory

16 views
Skip to first unread message

Robert Munteanu

unread,
Jan 15, 2015, 3:39:52 PM1/15/15
to mod-pagesp...@googlegroups.com
Hi,

I tried to build the latest stable version. I helped myself to tarball:

  wget http://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.3-r4448.tar.bz2

Started the build

[    9s] + build/gyp_chromium -Duse_system_libs=1 -Duse_system_icu=1 -Dsystem_include_path_apr=/usr/include/apr-1 -Dsystem_include_path_httpd=/usr/include/apache2 -Dsystem_include_path_aprutil=/usr/include/apr-1
[   10s] Updating projects from gyp files...
[   13s] Running build/landmines.py...
[   13s] + exit 0
[   13s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gyr4XB
[   13s] + umask 022
[   13s] + cd /home/abuild/rpmbuild/BUILD
[   13s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/apache2-mod_pagespeed-1.9.32.3-0.x86_64
[   13s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/apache2-mod_pagespeed-1.9.32.3-0.x86_64
[   13s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT
[   13s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/apache2-mod_pagespeed-1.9.32.3-0.x86_64
[   13s] + cd modpagespeed-1.9.32.3/src
[   13s] + make -j8 BUILDTYPE=Release

Later on I got an error related to a missing include

[   31s] pagespeed/kernel/base/sha1_signature.cc:26:58: fatal error: third_party/openssl/openssl/crypto/hmac/hmac.h: No such file or directory
[   31s]  #include "third_party/openssl/openssl/crypto/hmac/hmac.h"
[   31s]                                                           ^
[   31s] compilation terminated.
[   31s] pagespeed/pagespeed_base.target.mk:335: recipe for target 'out/Release/obj.target/pagespeed_base/pagespeed/kernel/base/sha1_signature.o' failed
[   31s] make: *** [out/Release/obj.target/pagespeed_base/pagespeed/kernel/base/sha1_signature.o] Error 1
[   31s] make: *** Waiting for unfinished jobs....
[   32s] error: Bad exit status from /var/tmp/rpm-tmp.gyr4XB (%build)
[   32s]
[   32s]
[   32s] RPM build errors:
[   32s]     Bad exit status from /var/tmp/rpm-tmp.gyr4XB (%build)

Does anyone have any idea where this comes from? Also, I see that the build has more than doubled in size compared to 1.8, is that intended?

11460622 Jan 15 22:32 mod-pagespeed-stable-1.8.31.5-r4307.tar.bz2
22707741 Jan 14 04:37 mod-pagespeed-stable-1.9.32.3-r4448.tar.bz2

Thanks,

Robert

Jeffrey Crowell

unread,
Jan 15, 2015, 3:55:17 PM1/15/15
to mod-pagesp...@googlegroups.com
Sorry about that, it seems like the openssl directory didn't get exported properly, will repackage the tarball.





--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/2626734c-4143-435b-8869-35b52ebf2b6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeffrey Crowell

unread,
Jan 20, 2015, 5:03:40 PM1/20/15
to mod-pagesp...@googlegroups.com
Hi Robert,

Sorry for the delay, the tarball and signature have both been updated.

Thanks,
Jeff

Robert Munteanu

unread,
Jan 21, 2015, 7:08:17 AM1/21/15
to mod-pagesp...@googlegroups.com
Hi Jeff,

On Wed, Jan 21, 2015 at 12:03 AM, 'Jeffrey Crowell' via
mod-pagespeed-discuss <mod-pagesp...@googlegroups.com> wrote:
> Hi Robert,
>
> Sorry for the delay, the tarball and signature have both been updated.
>
> Thanks,
> Jeff

That works, thank you!

Robert
> You received this message because you are subscribed to a topic in the
> Google Groups "mod-pagespeed-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mod-pagespeed-discuss/Jxvm2lwJA78/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> mod-pagespeed-di...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mod-pagespeed-discuss/CA%2B7dWMFCk8%3D%2BT7qKw3vgD7eW9G0DFwLJg8m8fzOqELpjPfOFDw%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
http://robert.muntea.nu/
Reply all
Reply to author
Forward
0 new messages