未在 CentOS 8 上安装 Adacore GNATCOLL 库 [英] Adacore GNATCOLL library not installing on CentOS 8

查看:18
本文介绍了未在 CentOS 8 上安装 Adacore GNATCOLL 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在 CentOS 7 和 Debian 9 上使用 gnatcoll 库,两个操作系统的安装过程都是一样的.

I have recently been using the gnatcoll library on CentOS 7 and Debian 9, the installation process for both operating systems has been the same.

当我尝试在 CentOS 8 上进行此安装时,收到以下错误消息:

When I attempt this install on CentOS 8, I recieve the following error msg:

[lloyd@localhost sql]$ PATH=/home/lloyd/opt/GNAT/2020/bin:$PATH
[lloyd@localhost sql]$ make setup
[lloyd@localhost sql]$ make
gprbuild -p -m --target=x86_64-linux  -j0 -XGNATCOLL_VERSION=0.0 -XBUILD=PROD  -XLIBRARY_TYPE=static -XXMLADA_BUILD=static -XGPR_BUILD=static \
    gnatcoll_sql.gpr
Compile
   [Ada]          gnatcoll-sql_impl.adb
   [Ada]          gnatcoll-sql_fields.adb
   [Ada]          gnatcoll-sql.adb
   [Ada]          gnatcoll-sql-orm.adb
gnatcoll-sql_impl.adb:1679:44: "UTC_Time_Offset" is not visible (more references follow)
gnatcoll-sql_impl.adb:1679:44: non-visible declaration at a-catizo.ads:28
gnatcoll-sql_impl.adb:1679:44: non-visible declaration at a-calend.ads:403
gnatcoll-sql_impl.adb:1679:44: "UTC_Time_Offset" is not visible (more references follow)
gnatcoll-sql_impl.adb:1679:44: non-visible declaration at a-catizo.ads:28
gnatcoll-sql_impl.adb:1679:44: non-visible declaration at a-calend.ads:403
gnatcoll-sql_impl.adb:1679:44: "UTC_Time_Offset" is not visible (more references follow)
gnatcoll-sql_impl.adb:1679:44: non-visible declaration at a-catizo.ads:28
gnatcoll-sql_impl.adb:1679:44: non-visible declaration at a-calend.ads:403

   compilation of gnatcoll-sql.adb failed
   compilation of gnatcoll-sql_fields.adb failed
   compilation of gnatcoll-sql_impl.adb failed

gprbuild: *** compilation phase failed
make: *** [Makefile:116: build-static] Error 4

[lloyd@localhost sql]$ gcc --version
gcc (GCC) 9.3.1 20200430 (for GNAT Community 2020 20200818)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
See your AdaCore support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

任何有关如何解决此问题和安装库的建议将不胜感激.

Any advice on how to resolve this issue and install the library would be much appreciated.

谢谢,劳埃德

推荐答案

我之前的回答有点偏离:所以你不能用开箱即用的 GNAT CE 2020 构建它作为 GNATCOLL-core 落后了.GNATCOLL-db 依赖 GNATCOLL-core,后者已经更新.

My former answer was slightly off: so you can't build it with GNAT CE 2020 out-of-the-box as the version of GNATCOLL-core that ships with GNAT CE 2020 is behind. GNATCOLL-db depends on GNATCOLL-core, and the latter has been updated.

因此,您首先必须构建并安装更新的GNATCOLL-core,然后构建GNATCOLL-db.不过,如果您赶时间,也可以结帐并构建一个稍旧的分支(例如 20.2).

So, you first have to build and install the updated GNATCOLL-core and then build GNATCOLL-db. However still, if you're in a hurry, you can also checkout and build a slightly older branch (e.g. 20.2).

这篇关于未在 CentOS 8 上安装 Adacore GNATCOLL 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆