399 Star 1.3K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

【测试类型:编译打包】【测试版本:2.1.0】 1.内核打包漏掉了simpleInstall 2.手动make报java头文件找不到的错误

已完成
缺陷 成员
创建于  
2021-09-30 09:56

【标题描述】:
【测试类型:编译打包】【测试版本:2.1.0】 打包和编译的几个问题

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):

【测试环境】(单机/1主x备x级联备): 单机

【被测功能】: 打包和编译

【数据库版本】(查询命令: gaussdb –V): 2.1.0

【操作步骤】(请填写详细的操作步骤):

  1. 手动进行数据库编译
    ./configure --gcc-version=7.3.0 CC=g++ CFLAGS='-O0' --prefix=$GAUSSHOME --3rd=$BINARYLIBS --enable-debug --enable-cassert --enable-thread-safety --with-readline --without-zlib
    make -sj

make时候报错,提示java的头文件找不到
输入图片说明

  1. 对server进行打包,然后使用simpleInstall进行简化安装。 发现bz2解压出来的包中没有simpleInstall目录
    输入图片说明

  2. cmake文件中,引用的jdk应该为openjdk

【原因分析】:

  1. 这个问题的根因
  2. 问题推断过程
  3. 还有哪些原因可能造成类似现象
  4. 该问题是否有临时规避措施
  5. 问题解决方案
  6. 预计修复问题时间

【日志信息】(请附上日志文件、截图、coredump信息):

【测试代码】:

评论 (3)

Hey @zhangxubo, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/opengauss/community/blob/master/contributors/command.en.md to find the details.

zhangxubo 创建了缺陷
zhangxubo 关联仓库设置为openGauss/openGauss-server
zhangxubo 添加了
 
sig/storageengine
标签
展开全部操作日志

this issue is assigned to: @zhangxubo.

opengauss-bot 负责人设置为zhangxubo
zhangxubo 通过opengauss/openGauss-server Pull Request !1298任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5622128 opengauss bot 1581905080
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助