Here is the installation log
-- Performing Test have_C__Wunused_private_field
-- Performing Test have_C__Wunused_private_field - Failed
-- Performing Test have_CXX__Wunused_private_field
-- Performing Test have_CXX__Wunused_private_field - Failed
-- Performing Test have_C__Woverloaded_virtual
-- Performing Test have_C__Woverloaded_virtual - Failed
-- Performing Test have_CXX__Woverloaded_virtual
-- Performing Test have_CXX__Woverloaded_virtual - Success
-- Performing Test have_C__Wnon_virtual_dtor
-- Performing Test have_C__Wnon_virtual_dtor - Failed
-- Performing Test have_CXX__Wnon_virtual_dtor
-- Performing Test have_CXX__Wnon_virtual_dtor - Success
-- Performing Test have_C__Wvla
-- Performing Test have_C__Wvla - Success
-- Performing Test have_CXX__Wvla
-- Performing Test have_CXX__Wvla - Success
-- Performing Test have_C__Wwrite_strings
-- Performing Test have_C__Wwrite_strings - Success
-- Performing Test have_CXX__Wwrite_strings
-- Performing Test have_CXX__Wwrite_strings - Success
-- Performing Test have_CXX__Werror
-- Performing Test have_CXX__Werror - Success
== Configuring MariaDB Connector/C
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.81.0")
-- Performing Test HAS_-Wunused_FLAG
-- Performing Test HAS_-Wunused_FLAG - Success
-- Performing Test HAS_-Wlogical-op_FLAG
-- Performing Test HAS_-Wlogical-op_FLAG - Success
-- Performing Test HAS_-Wno-uninitialized_FLAG
-- Performing Test HAS_-Wno-uninitialized_FLAG - Success
-- Performing Test HAS_-Wall_FLAG
-- Performing Test HAS_-Wall_FLAG - Success
-- Performing Test HAS_-Wextra_FLAG
-- Performing Test HAS_-Wextra_FLAG - Success
-- Performing Test HAS_-Wformat-security_FLAG
-- Performing Test HAS_-Wformat-security_FLAG - Success
-- Performing Test HAS_-Wno-init-self_FLAG
-- Performing Test HAS_-Wno-init-self_FLAG - Success
-- Performing Test HAS_-Wwrite-strings_FLAG
-- Performing Test HAS_-Wwrite-strings_FLAG - Success
-- Performing Test HAS_-Wshift-count-overflow_FLAG
-- Performing Test HAS_-Wshift-count-overflow_FLAG - Success
-- Performing Test HAS_-Wdeclaration-after-statement_FLAG
-- Performing Test HAS_-Wdeclaration-after-statement_FLAG - Success
-- Performing Test HAS_-Wno-undef_FLAG
-- Performing Test HAS_-Wno-undef_FLAG - Success
-- Performing Test HAS_-Wno-unknown-pragmas_FLAG
-- Performing Test HAS_-Wno-unknown-pragmas_FLAG - Success
-- MariaDB Connector C: INSTALL_BINDIR=bin
-- MariaDB Connector C: INSTALL_LIBDIR=lib
-- MariaDB Connector C: INSTALL_PCDIR=lib/pkgconfig
-- MariaDB Connector C: INSTALL_INCLUDEDIR=include/mysql
-- MariaDB Connector C: INSTALL_DOCSDIR=
-- MariaDB Connector C: INSTALL_PLUGINDIR=lib/plugin
-- MariaDB Connector C: INSTALL_MANDIR=man
-- MariaDB Connector C: LIBMARIADB_STATIC_NAME mariadbclient
-- Looking for include file linux/limits.h
-- Looking for include file linux/limits.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file ucontext.h
-- Looking for include file ucontext.h - found
-- Looking for makecontext
-- Looking for makecontext - found
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Looking for floor
-- Looking for floor - not found
-- Looking for pthread_getspecific
-- Looking for pthread_getspecific - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for setsockopt
-- Looking for setsockopt - found
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)
(Required is at least version "3.3.24")
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindGnuTLS.cmake:68 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
libmariadb/CMakeLists.txt:331 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/www/server/mysql/src/CMakeFiles/CMakeOutput.log".
See also "/www/server/mysql/src/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
========================================================
Ubuntu 22.04.3 LTS
\l
Bit:64 Mem:3863M Core:2 gcc:11.4.0 cmake:3.22.1
Linux 5.19.0-1029-aws x86_64
ERROR: mysql mariadb_10.7 installation failed.
安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
或手机访问以下链接、扫码联系企业微信技术求助
帖子或企业微信注明企业版用户,将获得极速响应技术支持
============================================
联系链接:https://work.weixin.qq.com/kfid/kfc9072f0e29a53bd52
============================================