On 20-05-2015 13:53, Jeremy Henty wrote:
> 
> Fernando de Oliveira wrote:
> 
>> Moved to Support, from Book. See also
>> http://wiki.linuxfromscratch.org/blfs/ticket/6479, because problem
>> started in version 2.1.3, and was possibly a deffect. For building
>> problems the list is this one.
>>
>> I think that you wil probably succeed now, see further below.
> 
> I am afraid not.  Same as before.
> 
> Head of config.log is:
> 
>     This file contains any messages produced by compilers while
>     running configure, to aid debugging if configure makes a mistake.
> 
>     It was created by gnupg configure 2.1.4, which was
>     generated by GNU Autoconf 2.69.  Invocation command line was
> 
> $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
> --libexecdir=/usr/lib/gnupg2 --docdir=/usr/share/doc/gnupg-2.1.4 \
> --enable-symcryptrun

I have (edited above and below the configure lines to fit in the mail
without being broken):

...

  $ ./configure --prefix=/usr \
--enable-symcryptrun \
--docdir=/usr/share/doc/gnupg-2.1.4

but do not think your extra switches matter, for this case.


> 
> The configuration detects that LDAP is not available.


Same thing here:

$ grep -i --color ldap config.log
configure:10223: checking whether LDAP via "-lldap" is present and sane
configure:10243: gcc -o conftest -g -O2     conftest.c -lldap   >&5
conftest.c:76:18: fatal error: ldap.h: No such file or directory

Perhaps this is what you are referring to as the test error?

It is not a problem, just will build without ldap support. Later in the
grep I see:

*** Building without LDAP support.
gnupg_cv_func_ldap_init=no
gnupg_cv_func_ldaplber_init=no
GNUPG_DIRMNGR_LDAP_PGM=''
GNUPG_DIRMNGR_LDAP_PGM_FALSE=''
GNUPG_DIRMNGR_LDAP_PGM_TRUE='#'
GPGKEYS_LDAP=''
LDAPLIBS=''
LDAP_CPPFLAGS=''
USE_LDAPWRAPPER_FALSE=''
USE_LDAPWRAPPER_TRUE='#'
USE_LDAP_FALSE=''
USE_LDAP_TRUE='#'

At the end of config.log, I have:

#define GPGEXT_GPG "gpg"
#define BUILD_REVISION "a67ead6"
#define BUILD_TIMESTAMP "2015-05-21T11:02+0000"

configure: exit 0

Also:

$ grep -i openpgp config.log
config.status:1223: creating tests/openpgp/Makefile

So, it will be able to run the tests.

I think you could go ahead.


> What should I try next?

Have you run "make check"?

Please, if it fails, report the error message.

At least for this test, use the book's instructions, with

./configure --prefix=/usr \
            --enable-symcryptrun \
            --docdir=/usr/share/doc/gnupg-2.1.4

-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to