[Ägypten] './configure' with newpg not able to find libgcrypt

Roland Wolters rolandwolters at web.de
Tue Mar 18 11:49:01 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Once upon a time Jan-Benedict Glaw wrote:
> Did you install it from sources or did you install your distribution's
> binary package?

I installed it from sources. I followed a link from
http://kmail.kde.org/kmail-pgpmime-howto.html
to the sources, and downloaded the newest package every time [1].

> You should have done the later one... Did you also
> install the matching developer package? Libraries are always split into
> at least two packages: the binary package (containing the library) and
> the developer package (containing the header files and most probably
> also a statically linkable version of the library).

I do not need any *-dev packages when I try to compile it for my own, do I
(and where can i get them in this case?)?

> For me (using Debian), these libgcrypto packages exist:

Well, I am using SuSE, and i can only get a binary version 1.1.8 (without
*-dev it seems....), and the homepage tells me I need a version up to 1.1.10.

And libgcrypt _is_ in the /usr/local/lib directory, and this directory _is_ in
my ld.so.conf.
I downloaded all sources a second time, tried to install it a second time from
new directories, but nothing helped.

So I attach both config.log, one from libgcrypt, and one from newpg.
And, maybe it could help, some information about my system [2].
btw, i have to split this mail into two mails, cause it do not accept to large 
messages.

Roland

[1]
1. libgcrypt 1.1.12
2. libksba 0.4.6
3. newpg 0.9.4
4. gpgme 0.3.15
5. cryptplug 0.3.15
6. pinentry 0.6.8

[2]
AMD K7C (so Intel architecture)
Suse 8.1
KDE 3.1 (self installed from SuSE rpm's)
Gnupg 1.2.2 self compiled from sources (so the gnuc++ compiler works!)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+dvnCnsVHlKAJG/IRAgRGAJ9Ocz27hLkLhyDy2C0yvQYInWGj5wCdHMQg
kS9BzABBFYgNXQQJug9KIbs=
=C6ye
-----END PGP SIGNATURE-----
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by newpg configure 0.9.4, which was
generated by GNU Autoconf 2.56.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = hesinde
uname -m = i686
uname -r = 2.4.19-4GB
uname -s = Linux
uname -v = #1 Fri Sep 13 13:19:15 UTC 2002

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1361: checking for a BSD-compatible install
configure:1415: result: /usr/bin/install -c
configure:1426: checking whether build environment is sane
configure:1469: result: yes
configure:1502: checking for gawk
configure:1518: found /bin/gawk
configure:1528: result: gawk
configure:1538: checking whether make sets $(MAKE)
configure:1558: result: yes
configure:1703: checking whether to enable maintainer-specific portions of Makefiles
configure:1712: result: no
configure:1875: checking for gawk
configure:1901: result: gawk
configure:1957: checking for gcc
configure:1973: found /usr/bin/gcc
configure:1983: result: gcc
configure:2227: checking for C compiler version
configure:2230: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2233: $? = 0
configure:2235: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2
configure:2238: $? = 0
configure:2240: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2243: $? = 1
configure:2267: checking for C compiler default output
configure:2270: gcc    conftest.c  >&5
configure:2273: $? = 0
configure:2319: result: a.out
configure:2324: checking whether the C compiler works
configure:2330: ./a.out
configure:2333: $? = 0
configure:2350: result: yes
configure:2357: checking whether we are cross compiling
configure:2359: result: no
configure:2362: checking for suffix of executables
configure:2364: gcc -o conftest    conftest.c  >&5
configure:2367: $? = 0
configure:2392: result: 
configure:2398: checking for suffix of object files
configure:2420: gcc -c   conftest.c >&5
configure:2423: $? = 0
configure:2445: result: o
configure:2449: checking whether we are using the GNU C compiler
configure:2474: gcc -c   conftest.c >&5
configure:2477: $? = 0
configure:2480: test -s conftest.o
configure:2483: $? = 0
configure:2496: result: yes
configure:2502: checking whether gcc accepts -g
configure:2524: gcc -c -g  conftest.c >&5
configure:2527: $? = 0
configure:2530: test -s conftest.o
configure:2533: $? = 0
configure:2544: result: yes
configure:2561: checking for gcc option to accept ANSI C
configure:2622: gcc  -c -g -O2  conftest.c >&5
configure:2625: $? = 0
configure:2628: test -s conftest.o
configure:2631: $? = 0
configure:2649: result: none needed
configure:2667: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2670: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2798: checking for style of include used by make
configure:2826: result: GNU
configure:2854: checking dependency style of gcc
configure:2916: result: gcc3
configure:2926: checking how to run the C preprocessor
configure:2956: gcc -E  conftest.c
configure:2962: $? = 0
configure:2994: gcc -E  conftest.c
configure:3000:28: ac_nonexistent.h: No such file or directory
configure:3000: $? = 1
configure: failed program was:
| #line 2985 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "newpg"
| #define PACKAGE_TARNAME "newpg"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "newpg 0.9.4"
| #define PACKAGE_BUGREPORT "gpa-dev at gnupg.org"
| #define PACKAGE "newpg"
| #define VERSION "0.9.4"
| #define PACKAGE "newpg"
| #define VERSION "0.9.4"
| #define PACKAGE_BUGREPORT "gpa-dev at gnupg.org"
| #define NEED_LIBGCRYPT_VERSION "1.1.8"
| #define NEED_KSBA_VERSION "0.4.6"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3038: result: gcc -E
configure:3057: gcc -E  conftest.c
configure:3063: $? = 0
configure:3095: gcc -E  conftest.c
configure:3101:28: ac_nonexistent.h: No such file or directory
configure:3101: $? = 1
configure: failed program was:
| #line 3086 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "newpg"
| #define PACKAGE_TARNAME "newpg"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "newpg 0.9.4"
| #define PACKAGE_BUGREPORT "gpa-dev at gnupg.org"
| #define PACKAGE "newpg"
| #define VERSION "0.9.4"
| #define PACKAGE "newpg"
| #define VERSION "0.9.4"
| #define PACKAGE_BUGREPORT "gpa-dev at gnupg.org"
| #define NEED_LIBGCRYPT_VERSION "1.1.8"
| #define NEED_KSBA_VERSION "0.4.6"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3155: checking for a BSD-compatible install
configure:3209: result: /usr/bin/install -c
configure:3220: checking whether ln -s works
configure:3224: result: yes
configure:3231: checking whether make sets $(MAKE)
configure:3251: result: yes
configure:3301: checking for ranlib
configure:3317: found /usr/bin/ranlib
configure:3328: result: ranlib
configure:3511: checking for libgcrypt-config
configure:3542: result: no
configure:3550: checking for LIBGCRYPT - version >= 1.1.8
configure:3592: result: no
configure:3599: error:
***
*** libgcrypt was not found. You may want to get it from
*** ftp://ftp.gnupg.org/pub/gcrypt/alpha/libgcrypt/
***


## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_LIBGCRYPT_CONFIG=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/liquidat/tmp/Kmail/newpg-0.9.4/missing --run aclocal-1.6'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/liquidat/tmp/Kmail/newpg-0.9.4/missing --run tar'
AUTOCONF='${SHELL} /home/liquidat/tmp/Kmail/newpg-0.9.4/missing --run autoconf'
AUTOHEADER='${SHELL} /home/liquidat/tmp/Kmail/newpg-0.9.4/missing --run autoheader'
AUTOMAKE='${SHELL} /home/liquidat/tmp/Kmail/newpg-0.9.4/missing --run automake-1.6'
AWK='gawk'
BUILD_AGENT_FALSE=''
BUILD_AGENT_TRUE=''
BUILD_GPGSM_FALSE=''
BUILD_GPGSM_TRUE=''
BUILD_INCLUDED_LIBINTL=''
BUILD_SCDAEMON_FALSE=''
BUILD_SCDAEMON_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes'
CPP='gcc -E'
CPPFLAGS=''
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GENCAT=''
GLIBC21=''
GMOFILES=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
KSBA_CFLAGS=''
KSBA_CONFIG=''
KSBA_LIBS=''
LDFLAGS=''
LIBGCRYPT_CFLAGS=''
LIBGCRYPT_CONFIG='no'
LIBGCRYPT_LIBS=''
LIBICONV=''
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/liquidat/tmp/Kmail/newpg-0.9.4/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT='o'
OPENSC_CFLAGS=''
OPENSC_CONFIG=''
OPENSC_LIBS=''
PACKAGE='newpg'
PACKAGE_BUGREPORT='gpa-dev at gnupg.org'
PACKAGE_NAME='newpg'
PACKAGE_STRING='newpg 0.9.4'
PACKAGE_TARNAME='newpg'
PACKAGE_VERSION='0.9.4'
PATH_SEPARATOR=':'
POFILES=''
POSUB=''
PTH_CFLAGS=''
PTH_CONFIG=''
PTH_LIBS=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='0.9.4'
XGETTEXT=''
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
am__include='include'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/liquidat/tmp/Kmail/newpg-0.9.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define GNUPG_DEFAULT_AGENT "/usr/local/bin/gpg-agent"
#define GNUPG_DEFAULT_DIRMNGR "/usr/local/bin/dirmngr"
#define GNUPG_DEFAULT_PINENTRY "/usr/local/bin/pinentry"
#define GNUPG_DEFAULT_SCDAEMON "/usr/local/bin/scdaemon"
#define GNUPG_PROTECT_TOOL "/usr/local/lib/newpg/gpg-protect-tool"
#define NEED_KSBA_VERSION "0.4.6"
#define NEED_LIBGCRYPT_VERSION "1.1.8"
#define PACKAGE "newpg"
#define PACKAGE "newpg"
#define PACKAGE_BUGREPORT "gpa-dev at gnupg.org"
#define PACKAGE_BUGREPORT "gpa-dev at gnupg.org"
#define PACKAGE_NAME "newpg"
#define PACKAGE_STRING "newpg 0.9.4"
#define PACKAGE_TARNAME "newpg"
#define PACKAGE_VERSION "0.9.4"
#define PRINTABLE_OS_NAME "Linux"
#define VERSION "0.9.4"
#define VERSION "0.9.4"

configure: exit 1


More information about the Gnupg-devel mailing list