Hello,

I'm having issues compiling mariadb-connector-c in yocto 
(BSP-Yocto-i.MX6-PD20.1.0). The following is my recipe:

SUMMARY = "MariadbConnector"
SECTION = "base"
DESCRIPTION = "This recipe is for installing MariadbConnector"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
                
file://win/packaging/license.rtf;md5=d84792abbbf7478e48e648c9caf8107b \
                
file://cmake/COPYING-CMAKE-SCRIPTS;md5=54c7042be62e169199200bc6477f04d1"
SRC_URI = 
https://dlm.mariadb.com/2319728/Connectors/c/connector-c-3.3.1/mariadb-connector-c-3.3.1-src.tar.gz;name=source
SRC_URI[source.md5sum] = "bd8090528becf9a788f78ed14bb90764"
SRC_URI[source.sha256sum] = 
"29993f4ae4c975662724978792d1a503b9ee760fbb194d321a754253cbe60aad"

S = "${WORKDIR}/mariadb-connector-c-3.3.1-src"

DEPENDS = "zlib openssl gnutls krb5 curl zstd"

inherit cmake

do_configure() {
    cd ${WORKDIR}/build/
    cmake ../mariadb-connector-c-3.3.1-src -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_INSTALL_PREFIX=/usr
}

do_compile() {
    cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake --build .
}

Here is the link to the log file: https://pastebin.com/qK20ZJsK

I'm new to yocto, so please let me know if I must provide more details! 
Additionally, I managed to successfully compile and install mariadb-connector-c 
on the host Ubuntu 18.04.6 LTS system.

Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57882): https://lists.yoctoproject.org/g/yocto/message/57882
Mute This Topic: https://lists.yoctoproject.org/mt/93200525/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to