执行命令如下:
./configure --gcc-version=7.3.0 --prefix=/soft/openGauss-server/mppdb_temp_install --3rd=/soft/binarylibs --enable-thread-safety --with-readline --without-zlib CFLAGS=-O0 --enable-mot --enable-debug --enable-cassert CC=g++
错误信息如下:
Begin configure.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default server version... (openGauss 3.0.5 build 188fed31) compiled at 2023-11-02 15:52:59 commit 0 last mr debug
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
checking for WAL segment size... 16MB
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether g++ accepts -g... yes
checking for g++ option to accept ISO C89... unsupported
checking whether g++ supports -Wdeclaration-after-statement... no
checking whether g++ supports -Wendif-labels... yes
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wformat-security... yes
checking whether g++ supports -fno-strict-aliasing... yes
checking whether g++ supports -fwrapv... yes
checking whether g++ supports -fexcess-precision=standard... no
checking whether the C compiler still works... yes
checking how to run the C preprocessor... g++ -E
checking allow thread-safe client libraries... yes
checking whether to build Python modules... no
checking whether to build with GSSAPI support... yes
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with SELinux support... no
configure: error: there is no jdk (containing jre) found in 3rd party repo
[makegaussdb] 23-11-02 15:53:00: configure failed.
Begin generate openGauss-3.0.5-CentOS-64bit.tar.bz2 tar file...