On 30/04/2019 15:59, Pierre Labastie via blfs-dev wrote: > Hi, > > When trying to install libreoffice with current book instructions on recent > lfs svn, so that gawk version is 5.0, I get exactly the same error as has been > reported for libgpg-error. > > Actually, the reason is that libreoffice tries to compile its own version of > libgpg-error. To have it use the installed version, the switch > --with-system-libgpgmepp is needed (libgpgmepp is the C++ API to libgpgme). I > do not know the reason why we do not have the switch. Maybe it is because the > CXX API is not always built for libgpgme. > > OTOH, trying to patch libgpg-error inside the libreoffice tree is tricky: the > tarball is downloaded after launching make, so that the patch has to be > applied during the course of the build... > > I think we should arrange for recommending the necessary bits so that the C++ > API to libgpgme is always built: that would make it simpler. > > I'll investigate this way. >
Looks like libgpgmepp is built as soon as ther is a C++ compiler supporting c++11 norm, which is the case with the current gcc compiler. So libgpgmepp is always built. This mean we can pass the switch to libreoffice, and see what happens. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
