> > 1. configure/make looks for headers in include rather than 
> > include/gpgme++
> > 
> 
> Distros put things into different places I guess - can you fix configure.ac 
> and submit a patch?
> 
The problem is with:

AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [ 
GPGMEPP_CFLAGS=-I/usr/include/gpgme++ ],

It needs to check in /usr/include/gpgme++ and /usr/local/include/gpgme++

> > 2. make fails with:
> > 
> > [CXX] xmlsecurity/source/gpg/CertificateImpl.cxx
> > [CXX] xmlsecurity/source/gpg/CipherContext.cxx
> > In file included from 
> > /mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.cxx:12:0:
> > /mnt/sdc8/usr/src/libreoffice-6.0.1.1/xmlsecurity/source/gpg/CertificateImpl.hxx:36:5:
> >  error:
> > 'GpgME' does > not name a type
> >      GpgME::Key m_pKey;
> >      ^~~~~
> >
> Is that after you've fixed the path lookup? I would expect it to fail 
> earlier, while trying to include gpgme.h.
> 
In fact after adding "-D_GLIBCXX_USE_C99_MATH" (I'm using glibc-2.26) and 
adjusting this in configure:

if test "$gccvisbroken" = "yes"; then
        as_fn_error $? "Your gcc is not -fvisibility=hidden safe. This is no 
longer supported." "$LINENO" 5

..to read "no", the build then succeeds.

John
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to