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

Re: [DebianGIS] error with mapserver and new libcurl3-gnutls-dev package



On 10/24/05, Jon Saints <saintsjd@yahoo.com> wrote:
> When I compile mapserver package with a new build
> dependency of libcurl3-gnutls-dev instead of
> libcurl3-dev (which uses openssl) I get the error:
>
> checking for curl-config... /usr/bin/curl-config
> found libcurl version 7.15.0
> configure: error: libcurl version 7.10.1 or more
> recent is required.

Jon,

In configure.in the test looks like this:

  CURL_VERNUM=`$LIBCURL_CONFIG --vernum`
  CURL_VER=`$LIBCURL_CONFIG --version | awk '{print $2}'`

  AC_MSG_RESULT([        found libcurl version $CURL_VER])

  dnl Need libcurl 7.10.1 or more recent
  if test -z "$CURL_VERNUM" -o `expr "0x$CURL_VERNUM" \< "0x070a01"` = 1; then
    AC_MSG_ERROR([libcurl version 7.10.1 or more recent is required.])
  fi

The curl-config --vernum should return a hex encoding of the
version which should be evaluteable against 0x070a01.  Check
that the curl-config --vernum value is "70F00" as it ought to be.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



Reply to: