Compilation problem with gnupg 1.9.1

Alex Willmer alex at moreati.org.uk
Sun Nov 2 23:29:17 CET 2003


Dear gnupg developers,

I'm attempting to test a recent Aegypten environment for use with Kmail 
1.5.3, however I'm having some trouble compiling the latest gnupg.

The error occurs at the configure stage, the instructions I'm (loosely) 
following are those at:

http://www.gnupg.org/aegypten/development.en.html

I'm working the following packages:

dirmngr-0.4.5
gnupg-1.9.1
gpa-0.7.0
gpgme-0.4.3
libassuan-0.6.0
libgcrypt-1.1.44
libgpg-error-0.5
libksba-0.4.7
pinentry-0.6.9

libassuan, libgpg-error, libksba, libgcrypt and pinentry have been built and 
installed to '~/gnupg-1.9/'. However libgpg-error and libgcrypt are not 
found when configuring gnupg (full output below). 

I had similar problems with libgcrypt prior the new 1.1.44 release. Is a new 
version of gnupg-1.9.x to be released imminently, that might resolve this, 
or would I be better checking out the latest CVS? If so would I need to 
update any other modules from CVS for this?

Thankyou for any help you can provide.

Sincerely

Alex Willmer


GNUPG 1.9.1 configure output:

[alex at dhcp-182-154263 gnupg-1.9.1]$ ~/gnupg-1.9/bin/gpg-error-config 
--version
0.5
[alex at dhcp-182-154263 gnupg-1.9.1]$ ~/gnupg-1.9/bin/libgcrypt-config 
--version
1.1.44
[alex at dhcp-182-154263 gnupg-1.9.1]$ configure --prefix=$HOME/gnupg-1.9/ 
--with-libgpg-error-prefix=$HOME/gnupg-1.9 
--with-libgcrypt-prefix=$HOME/gnupg-1.9 
--with-libassuan-prefix=$HOME/gnupg-1.9 --with-ksba-prefix=$HOME/gnupg-1.9
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable external program execution...
checking whether the included zlib is requested... no
checking whether use of capabilities is requested... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr//bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ar... ar
checking for perl... /usr//bin/perl
checking for strerror in -lcposix... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for docbook-to-man... no
checking for faqprog.pl... no
checking for docbook2texi... yes
checking for sgml to texi tools... no
checking for gpg-error-config... no
checking for GPG Error - version >= 0.4... no
checking for libgcrypt-config... /home/alex/gnupg-1.9/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.1.43... Usage: 
/home/alex/gnupg-1.9/bin/libgcrypt-config [OPTIONS]
Options:
        [--thread={ pthread}]
        [--prefix]
        [--exec-prefix]
        [--version]
        [--libs]
        [--cflags]
        [--algorithms]
./configure: line 4749: test: : integer expression expected
./configure: line 4752: test: : integer expression expected
no
checking for libassuan-config... /home/alex/gnupg-1.9/bin/libassuan-config
checking for LIBASSUAN - version >= 0.6.0... yes
checking for ksba-config... /home/alex/gnupg-1.9/bin/ksba-config
checking for KSBA - version >= 0.4.6... yes
checking for usb_find_device in -lusb... no
checking for opensc-config... no
checking for OpenSC - version >= 0.8.0... no
checking for pth-config... /usr//bin/pth-config
checking for gethostbyname... yes
checking for setsockopt... yes
checking for msgfmt... /usr//bin/msgfmt
checking for gmsgfmt... /usr//bin/msgfmt
checking for xgettext... /usr//bin/xgettext
checking for msgmerge... /usr//bin/msgmerge
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for strchr... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for locale.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking whether sys_siglist is declared... yes
checking endianess... little
checking for byte typedef... no
checking for ushort typedef... yes
checking for ulong typedef... yes
checking for u16 typedef... no
checking for u32 typedef... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned long long... (cached) yes
checking size of unsigned long long... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for SO_PEERCRED... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for vprintf... yes
checking for _doprnt... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strerror... yes
checking for stpcpy... (cached) yes
checking for strsep... yes
checking for strlwr... no
checking for tcgetattr... yes
checking for strtoul... (cached) yes
checking for mmap... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for ctermid... yes
checking for times... yes
checking for memmove... yes
checking for gettimeofday... yes
checking for getrusage... yes
checking for setrlimit... yes
checking for clock_gettime... no
checking for atexit... yes
checking for raise... yes
checking for getpagesize... (cached) yes
checking for strftime... yes
checking for nl_langinfo... yes
checking for setlocale... (cached) yes
checking for waitpid... yes
checking for wait4... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for rand... yes
checking for pipe... yes
checking for stat... yes
checking for memicmp... no
checking for stpcpy... (cached) yes
checking for strlwr... (cached) no
checking for strtoul... (cached) yes
checking for memmove... (cached) yes
checking for stricmp... no
checking for strtol... yes
checking for getrusage... (cached) yes
checking for setrlimit... (cached) yes
checking for stat... (cached) yes
checking for setlocale... (cached) yes
checking for flockfile... yes
checking for funlockfile... yes
checking for vasprintf... yes
checking for fopencookie... yes
checking for mkdtemp... yes
checking for fseeko... (cached) yes
checking for ftello... yes
checking for isascii... yes
checking for putc_unlocked... yes
checking for gethrtime... no
checking for mlock... yes
checking whether mlock is broken... no
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking if mkdir takes one argument... no
checking whether regular expression support is requested... yes
checking whether the included regex lib is requested... no
checking for regcomp... yes
checking whether your system's regexp library is broken... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflateInit2_ in -lz... yes
configure:
***
*** You need libgpg-error to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/pub/gcrypt/alpha/libgpg-error
*** (at least version 0.4 is required.)
***
configure:
***
*** You need libgcrypt to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/pub/gcrypt/alpha/libgcrypt/
*** (at least version 1.1.43 is required.)
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.




More information about the Gnupg-devel mailing list