You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with a successfully installed MariaDB driver, I am getting the following error from CMake:
#12 6.812 CMake Error at CMakeLists.txt:25 (find_package):
#12 6.812 Could not find a package configuration file provided by
#12 6.812 "unofficial-libmariadb" with any of the following names:
#12 6.812
#12 6.812 unofficial-libmariadbConfig.cmake
#12 6.812 unofficial-libmariadb-config.cmake
#12 6.812
#12 6.812 Add the installation prefix of "unofficial-libmariadb" to CMAKE_PREFIX_PATH
#12 6.812 or set "unofficial-libmariadb_DIR" to a directory containing one of the
#12 6.812 above files. If "unofficial-libmariadb" provides a separate development
#12 6.812 package or SDK, be sure it has been installed.
#12 6.812
#12 6.812
#12 6.813 -- Configuring incomplete, errors occurred!
#12 6.813 See also "/opt/app/lithium/build/CMakeFiles/CMakeOutput.log".
#12 6.813 See also "/opt/app/lithium/build/CMakeFiles/CMakeError.log".
Is there any way to fix it or to completely disable certain databases from being included in the build?
Thank you very much in advance.
The text was updated successfully, but these errors were encountered:
Is there any way ... to completely disable certain databases from being included in the build?
That is exactly what I wanted to know. I'm building on Debian, not docker and when I hit the "unofficial-libmariadb" problem, I simply edited the CMakeLists.txt to comment out those lines, as well as the "unofficial-sqlite3" lines. That allowed me to get past the cmake configuration step, but then compilation stopped with
In file included from include/li/sql/mysql.hh:3:
include/li/sql/mysql_database.hh:12:10: fatal error: 'mysql.h' file not found
#include <mysql.h>
This occurs during compilation of test programs and also docs/sql.cc. I would think that compilation of what I presume are optional dependencies ought to be bypassed based on what is actually installed in a given environment.
To check further, I installed the libmariadb-dev package (I already had mariadb server/client), and that added /usr/include/mariadb/mysql.h, and even added a find_package(MYSQL REQUIRED), but it still couldn't find the file.
Hello,
I'm trying to setup a Docker image with lithium installed.
Here is the Dockerfile that I wrote:
Even with a successfully installed MariaDB driver, I am getting the following error from CMake:
Is there any way to fix it or to completely disable certain databases from being included in the build?
Thank you very much in advance.
The text was updated successfully, but these errors were encountered: