[odb-users] Self-compiling ODB on Ubuntu 18.04 (GCC/G++ version 7)

Wolfgang Haupt haupt.wolfgang at gmail.com
Fri Jun 15 10:22:58 EDT 2018


I have compiled odb on Ubuntu 18.04 a few days ago.
The hardest part for me was to build cli as the master branch was moved to
build2 but the
INSTALL file still tells you to just "make" in the root dir.
After a few hours of trying to build it with build2 I gave up and reverted
back to the
last commit before build2 was introduced.

Boris, maybe you can update the INSTALL file with more recent instructions?

Boris Kolpackov <boris at codesynthesis.com> schrieb am Fr., 15. Juni 2018 um
15:53 Uhr:

> Whisperity <whisperity at gmail.com> writes:
>
> > However, there are many issues with this. Due to some errors with the
> > package ABI, self-compilation must be done for ODB. This works nice on
> > Ubuntu 16.04 LTS (GNU/G++ version 5), but with G++ 7, it fails.
> >
> > This only affects the ODB compiler (odb-2.4.0).
>
> ODB source code has to be adjusted for each major release of GCC (since
> they break the API). For GCC 7 you can use the latest pre-release (note
> that you also need the included libcutl):
>
> https://codesynthesis.com/~boris/tmp/odb/pre-release/b.3/
>
> Boris
>
>


More information about the odb-users mailing list