Cannot compile Percona-Server-5.6 from source (gmock download error)
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
High
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Unassigned | |||
5.7 |
Fix Released
|
High
|
Unassigned |
Bug Description
Cannot compile Percona-Server-5.6 from source with CentOS7
Compilation log
-- Performing Test HAVE_PEERCRED
-- Performing Test HAVE_PEERCRED - Success
-- Library perconaserverclient depends on OSLIBS -lpthread;
-- Download failed, error: 22;"HTTP response code said error"
-- To enable google test, please download http://
-- If you are inside a firewall, you may need to use an http proxy: export http_proxy=http://
-- CMAKE_BUILD_TYPE: Debug
-- COMPILE_
-- CMAKE_C_FLAGS: -fPIC -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-
-- CMAKE_CXX_FLAGS: -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-
-- CMAKE_C_
-- CMAKE_CXX_
-- Configuring incomplete, errors occurred!
See also "/home/
See also "/home/
Cannot download gmock zip file from http://
description: | updated |
tags: | added: upstream |
summary: |
- Cannot compile Percona-Server-5.6 from source with CentOS7 + Cannot compile Percona-Server-5.6 from source (gmock download error) |
For some reason gmock 1.6.0 archive is no longer available via original URL googlemock. googlecode. com/files/ gmock-1. 6.0.zip
http://
The fix is trivial: server/ unittest/ gunit/CMakeList s.txt ' googlemock. googlecode. com/files/ ${GMOCK_TARBALL}" /github. com/google/ googlemock/ archive/ ${GMOCK_TARBALL}"
in 'percona-
change
"http://
to
"https:/
This issue exists in 5.6 and 5.7 (including upstream).