Summary: | dev-libs/cyrus-sasl-2.1.26-r7 - configure: error: --enable-sql chosen but neither Postgres nor MySQL nor SQLite nor SQLite3 found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | antu456 |
Component: | [OLD] Library | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | multilib+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
antu456
2014-07-06 13:28:16 UTC
Created attachment 380300 [details]
build.log
And all of them are installed: # emerge -pqv mysql postgresql-base postgresql-server sqlite [ebuild R ] dev-db/sqlite-3.8.5 USE="icu readline -debug -doc -secure-delete -static-libs -tcl {-test}" ABI_X86="32 (64) (-x32)" [ebuild R ] dev-db/postgresql-base-9.4_beta1 USE="kerberos nls pam readline ssl threads zlib -doc -ldap -pg_legacytimestamp -python" LINGUAS="de en -af -cs -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 (-python2_6) -python3_2 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 (-python2_6) -python3_2 -python3_4" [ebuild R ] dev-db/postgresql-server-9.4_beta1 USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl {-test} -uuid -xml" LINGUAS="de en -af -cs -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 (-python2_6) -python3_2 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 (-python2_6) -python3_2 -python3_4" [ebuild R ] dev-db/mysql-5.5.38 USE="community embedded perl ssl -bindist -cluster -debug -extraengine -jemalloc -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test}" It's a multilib problem - for the time being (meaning likely till multilib mysql gets added to the tree), a more complex condition is needed for adding '--enable-sql' - right now only sqlite3 is supported for multilib. Well, the problems starts with the ebuild pretending to support all three, with no REQUIRED_USE or otherwise clear statement. I'm thoroughly confused now. I know that berkdb & gdbm are blocking each other. Does cyrus-sasl support multiple SQL backends or does it use random one of them? (In reply to Michał Górny from comment #5) > Does cyrus-sasl support multiple SQL backends Yes. > or does it use random one of them? Not random. One specifies which sql backend to use for each application separately in the corresponding config file. For example, for postfix: /etc/sasl2/smtpd.conf: [...] auxprop_plugin: sql sql_engine: mysql [...] In general, cyrus-sasl supports a bunch of authentication methods and backends (ldap, sql, kerberos, external, shadow, rimap etc). And one specifies which backend and which mechanisms to use for each application. + 07 Jul 2014; Michał Górny <mgorny@gentoo.org> cyrus-sasl-2.1.26-r7.ebuild: + Pass --enable-sql for non-native build only when SQLite is enabled (since + MySQL and PgSQL are not multilib ATM), bug #516514. Please try now. As a note, the nested conditional can go when we enable multilib on MySQL and PgSQL. |