-
-
Notifications
You must be signed in to change notification settings - Fork 617
Open
Labels
waitingWaiting for the original poster (in most cases) or something elseWaiting for the original poster (in most cases) or something else
Description
Hey,
I'm looking for a fulltext search engine for my project and bumped into this one.
Since I'm using FreeBSD 14.3 on the server, I was trying to compile it for myself, results vary.
So far I got the following commands in a newly created jail that will compile it:
pkg install -y cmake git-lite mysql-connector-c++ mysql-connector-odbc-unixodbc pkgconf bison
mkdir -pv /usr/local/src
cd /usr/local/src/
git clone https://github.com/manticoresoftware/manticoresearch.git
cd manticoresearch
mkdir build
cd build
ctest -VV -S ../misc/ctest/justbuild.cmake -DCTEST_SOURCE_DIRECTORY=.. --no-compress-output
Also, the POSTGRESQL dependency can be only removed the following way:
diff --git a/misc/ctest/justbuild.cmake b/misc/ctest/justbuild.cmake
index a2c18e9c0..465fe9a72 100755
--- a/misc/ctest/justbuild.cmake
+++ b/misc/ctest/justbuild.cmake
@@ -16,7 +16,7 @@ if ( NOT WITH_GALERA )
endif()
# common test options
-set ( CONFIG_OPTIONS "WITH_ODBC=1;WITH_RE2=1;WITH_STEMMER=1;WITH_POSTGRESQL=1;WITH_EXPAT=1;BUILD_TESTING=0" )
+set ( CONFIG_OPTIONS "WITH_ODBC=1;WITH_RE2=1;WITH_STEMMER=1;WITH_POSTGRESQL=0;WITH_EXPAT=1;BUILD_TESTING=0" )
LIST ( APPEND CONFIG_OPTIONS "LIBS_BUNDLE=${LIBS_BUNDLE}" )
LIST ( APPEND CONFIG_OPTIONS "WITH_GALERA=${WITH_GALERA}" )
My question would be:
- can this be compiled with mariadb support instead of mysql? (mariadb-connector-odbc)
- can the postgres dependency be removed by a command line parameter?
In the end, if I manage to consistently compile it, I might make a FreeBSD pkg from it.
Metadata
Metadata
Assignees
Labels
waitingWaiting for the original poster (in most cases) or something elseWaiting for the original poster (in most cases) or something else