[odb-users] Cannot Compile ODB Compiler on RHEL 8.5

Tyler Lytle tlytle123 at gmail.com
Wed Jun 15 11:04:57 EDT 2022


Two more questions:

Do you have a timeframe for when 2.5.0 will become the stable release?
Also, I downloaded the odb-2.5.0-b.21.tar.gz source and tried to build it
using "./configure; make; make install" but it appears there is no
configure file or Makefile. Do I have to build ODB using the build2 tool?

On Wed, Jun 15, 2022 at 9:39 AM Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Tyler Lytle <tlytle123 at gmail.com> writes:
>
> > One last question: does ODB support MariaDB in any capacity? I know it is
> > more-or-less a carbon copy of MySQL, but I presumed the libodb-mysql
> > configure tools isn't flexible enough to determine if MariaDB is
> installed
> > and to use its header files and libraries.
>
> The 2.5.0 version of libodb-mysql supports both MySQL and MariaDB and
> there is a configuration variable to select which client library to
> use.
>
> The magic incantation (which will hopefully make more sense once you
> go through the setup steps) will look like this:
>
> $ bpkg build config.libodb_mysql.client_lib=mariadb -- \
>     libodb-mysql ?sys:libmysqlclient ?sys:libmariadb
>
> Or, if you want to try to build libmariadb from source (we have
> known-to-build packages for both MySQL and MariaDB), then:
>
> $ bpkg build config.libodb_mysql.client_lib=mariadb -- \
>     libodb-mysql libmariadb ?sys:libmysqlclient
>
> (That ?sys:libmysqlclient is currently necessary because we don't yet
> have conditional dependencies in the package manager so libodb-mysql
> unconditionally depends on libmysqlclient even though at the build
> system level one can select between different client libraries. But
> that support is coming in the next version of build2).
>


-- 
Tyler Lytle
E-Mail: tlytle123 at gmail.com


More information about the odb-users mailing list