[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] configure and libgcrypt

From: Glenn McGrath
Subject: [GNUnet-developers] configure and libgcrypt
Date: Sat, 8 Nov 2003 01:08:51 +1100

I can usually work out autoconf problems but im stuck with this one.

libgcrypt 1.1.44 has packaged for debian experimental, im trying to
compile GNUnet against it and am getting wierd errors.

checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.1.43... Usage:
/usr/bin/libgcrypt-config [OPTIONS]
        [--thread={ pth pthread}]
./configure: line 22846: test: : integer expression expected
./configure: line 22849: test: : integer expression expected

which points to the following lines in configure
22845 minor=`echo $libgcrypt_config_version | \
22846               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
22847    micro=`echo $libgcrypt_config_version | \
22848               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
22849    if test "$major" -gt "$req_major"; then

I dunno whats going on, line 22846 doesnt have a test condition, and a
few echo statments showed the test in 22849 does have integers.

/usr/bin/libgcrypt-config works fine manually and i cant see anything
that would cause it to display that help.

Its all coming from the AM_PATH_LIBGCRYPT macro in acinclude.m4, which i
even replaced from the one in gcrypt src (with the neame changes), and i
still get the same errors.

Has anyone seen these errors before ?

Im using autoconf2.58, automake1.7 and 1.8



reply via email to

[Prev in Thread] Current Thread [Next in Thread]