mysql make 报错_1.1.0 源码编译打开mysql_fdw后make报错

yum install http://repo.okay.com.mx/centos/7/x86_64/release/mariadb-connector-c-3.0.10-1.el7.x86_64.rpm

yum install http://repo.okay.com.mx/centos/7/x86_64/release/mariadb-connector-c-devel-3.0.10-1.el7.x86_64.rpm

检查头文件mariadb_com.h

# ll /usr/include/mysql/mariadb_com.h

-rw-r--r-- 1 root root 17284 May 4 2019 /usr/include/mysql/mariadb_com.h

su - omm

cd /opt/openGauss-server/

export CODE_BASE=`pwd`

export BINARYLIBS=`pwd`/binarylibs

export GAUSSHOME=/opt/og

export GCC_PATH=$BINARYLIBS/buildtools/centos7.6_x86_64/gcc7.3/

export CC=$GCC_PATH/gcc/bin/gcc

export CXX=$GCC_PATH/gcc/bin/g++

export LD_LIBRARY_PATH=$GAUSSHOME/lib:$GCC_PATH/gcc/lib64:$GCC_PATH/isl/lib:$GCC_PATH/mpc/lib/:$GCC_PATH/mpfr/lib/:$GCC_PATH/gmp/lib/:$LD_LIBRARY_PATH

export PATH=$GAUSSHOME/bin:$GCC_PATH/gcc/bin:$PATH

./configure --prefix=/opt/og \

--3rd=$BINARYLIBS \

--gcc-version=7.3.0 \

--with-readline \

--with-zlib \

--with-libxml \

--enable-mysql-fdw \

--enable-oracle-fdw \

--enable-thread-safety \

CC=g++ CFLAGS="-O2 -g3"

**Environment**:

- Version:

- OS (e.g. from /etc/os-release):

- Kernel (e.g. `uname -a`):

- Install tools:

- Others:

make

...

...

make[3]: Leaving directory `/opt/openGauss-server/contrib/postgres_fdw'

make -C ../../contrib/mysql_fdw all

make[3]: Entering directory `/opt/openGauss-server/contrib/mysql_fdw'

ERROR: You need fetch and copy mysql_fdw from 'third_party' repo to 'third_party_binarylibs' repo and keep directory strucutre unchanged

make[3]: *** [prep_checked] Error 1

make[3]: Leaving directory `/opt/openGauss-server/contrib/mysql_fdw'

make[2]: *** [../../contrib/mysql_fdw-recursive] Error 2

make[2]: Leaving directory `/opt/openGauss-server/src/gausskernel'

make[1]: *** [all-gausskernel-recurse] Error 2

make[1]: Leaving directory `/opt/openGauss-server/src'

make: *** [all-src-recurse] Error 2

提示错误信息: You need fetch and copy mysql_fdw from 'third_party' repo to 'third_party_binarylibs' repo and keep directory strucutre unchanged

编译环境:centos7.6 x86

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值