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

Ubuntu 14.04 x64 LTS compile gumbo-query error. #22

Open
nifflin opened this issue Dec 28, 2015 · 2 comments
Open

Ubuntu 14.04 x64 LTS compile gumbo-query error. #22

nifflin opened this issue Dec 28, 2015 · 2 comments

Comments

@nifflin
Copy link

nifflin commented Dec 28, 2015

-- The CXX compiler identification is GNU 4.8.4
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/LibFindMacros.cmake:259 (message):
REQUIRED PACKAGE NOT FOUND

We only found some files of Gumbo, not all of them. Perhaps your
installation is incomplete or maybe we just didn't look in the right place?
This package is REQUIRED and you need to install it or adjust CMake
configuration in order to continue building gumbo_query.

Relevant CMake configuration variables:

Gumbo_INCLUDE_DIR=/usr/local/include
Gumbo_LIBRARY=<not found>
Gumbo_static_LIBRARY=/usr/local/lib/libgumbo.a

You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
CMakeCache.txt to discard all values and force full re-detection if
necessary.

Call Stack (most recent call first):
cmake/FindGumbo.cmake:39 (libfind_process)
CMakeLists.txt:20 (find_package)

-- Configuring incomplete, errors occurred!

@nifflin nifflin changed the title Ubuntu 14.04 想 Ubuntu 14.04 x64 LTS compile gumbo-query error. Dec 28, 2015
@nifflin
Copy link
Author

nifflin commented Dec 29, 2015

I found something wierd.
git clone https://github.com/Falven/gumbo-query download a old version source code which /cmake/FindGumbo.cmake doesnot have "libgumbo.so"
but [email protected]:lazytiger/gumbo-query.git download a latest version source code which /cmake/FindGumbo.cmake have "libgumbo.so".

This difference caused compile error.

Is this a bug of github?

@emrahayanoglu
Copy link

I also experienced the same problem and realized that libgumbo.so is not introduced in the FindGumbo.cmake file. It should be introduced since in the linux side, the libraries are stored with so extension.

I'll propose a PR for related fix

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