Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed on Pop_os #145

Open
M0hammedImran opened this issue Nov 18, 2021 · 1 comment
Open

Build failed on Pop_os #145

M0hammedImran opened this issue Nov 18, 2021 · 1 comment

Comments

@M0hammedImran
Copy link

I'm unable to build the project.
I have brotli installed.
When ever I try to build, I get this error.

-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libbrotlidec'
--   No package 'libbrotlidec' found
-- Could NOT find BrotliDec (missing: BROTLIDEC_INCLUDE_DIRS BROTLIDEC_LIBRARIES) (found version "")
CMake Error at CMakeLists.txt:38 (message):
  librotlidec is needed to build woff2.


-- Configuring incomplete, errors occurred!
See also "/home/imran/Downloads/woff2/out/CMakeFiles/CMakeOutput.log".

This is my setup.

$ cat /etc/*release
DISTRIB_ID=Pop
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Pop!_OS 21.04"
NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"

$ uname -r
5.13.0-7620-generic
@athxx
Copy link

athxx commented Mar 21, 2022

You need to install brotli lib, I don't know how to install in pop_os, but in Ubuntu you can use do these to install

apt search libbrotli*
apt install libbrotli-dev libbrotli1

Or in AlpineOS

apk search libbrotli*
apk add brotli-libs brotli-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants