[odb-users] Cannot Compile ODB Compiler on RHEL 8.5

Boris Kolpackov boris at codesynthesis.com
Wed May 25 07:18:01 EDT 2022


Tyler Lytle <tlytle123 at gmail.com> writes:

> [tlytle at localhost odb-2.4.0]$ g++ -v
>
> [...]
>
> gcc version 8.5.0 20210514 (Red Hat 8.5.0-3) (GCC)
> 
> The INSTALL directions then say to ensure that the plugin headers are
> installed. It is normally called something like "gcc-plugin-dev". Looking
> at the RHEL 8.5 repository, the closest thing that I could find is
> this: gcc-toolset-11-gcc-plugin-devel-11.2.1-1.1.el8.x86_64
> 
> I installed that RPM from the RHEL 8.5 repository. I then run "./configure"
> and I get the following error:
> 
> checking for GCC plugin headers... no

Can you run:

$ g++ --print-file-name=plugin

If that prints a directory, can you check that it contains the
include/ subdirectory and a bunch of header files (.h) inside?

If this all checks out, then it's most likely GCC 8 is too new
for ODB 2.4.0 and I suggest that you try to build the latest
pre-release of ODB 2.5.0 (which is known to work with GCC 8)
by following these instructions:

https://codesynthesis.com/products/odb/doc/install-build2.xhtml



More information about the odb-users mailing list