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

Cannot find MySQL. Include dir: MYSQL_INCLUDE_DIR-NOTFOUND library dir: #193

Closed
uhealin opened this issue Nov 17, 2014 · 3 comments
Closed

Comments

@uhealin
Copy link

uhealin commented Nov 17, 2014

i had install mysql, when exec make, the error msg is:

cd ../fnordmetric-webui && make)
make[1]: Entering directory /root/git/fnordmetric/fnordmetric-webui' make[1]: Leaving directory/root/git/fnordmetric/fnordmetric-webui'
(cd build/cmake && make)
make[1]: Entering directory `/root/git/fnordmetric/fnordmetric-core/build/cmake'
./assets.sh
mkdir -p target/tests
mkdir -p stage/src
test -e stage/src/fnordmetric || ln -s ../../../../src stage/src/fnordmetric || true
(cd target && cmake .. -DCMAKE_BUILD_TYPE=Release && make)
CMake Error at modules/FindMySQL.cmake:116 (MESSAGE):
Cannot find MySQL. Include dir: MYSQL_INCLUDE_DIR-NOTFOUND library dir:
Call Stack (most recent call first):
CMakeLists.txt:154 (find_package)

-- Configuring incomplete, errors occurred!
See also "/root/git/fnordmetric/fnordmetric-core/build/cmake/target/CMakeFiles/CMakeOutput.log".
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/git/fnordmetric/fnordmetric-core/build/cmake'
make: *** [build] Error 2

can you tell me what is wrong?

@iainelder
Copy link

This looks like a duplicate of #184.

Have you installed the package libmysqlclient-dev ?

If not, install it and try again.

@TerrificJ
Copy link

yes, agree with @iainelder , I have been through this. libmysqlclient-dev is required

@asmuth
Copy link
Owner

asmuth commented Nov 19, 2014

Hey, very sorry about that and thanks for your patience! This was a bug in our build process; libmysqlclient should have been optional but it wasn't. The bug is fixed now, so if you pull the latest version of FnordMetric from github, it should compile cleanly without libmysqlclient.

Many thanks for your support and contributions to FnordMetric 🍻

@asmuth asmuth closed this as completed Aug 2, 2019
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

4 participants