[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3809) db library detection procedure

At 03:39 AM 6/29/2005, walter.franzini@sys-net.it wrote:
>Full_Name: Walter Franzini
>Version: HEAD
>OS: Debian/GNU Linux (irrelevant)
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (
>The procedure used by the configure script to detect the Berkeley DB library to
>be used should be improved to better handle of more library version installed.
>The following example should help:
>1) libdb-4.3 is installed on the system in an usual place (/usr/lib)
>2) libdb-4.2.52 is installed in an unusual directory (/opt/foo/lib)
>3) running configure with the proper environment variables, set with correct
>values, fails becaus the script stop right after detecting the mismatch of
>version between the 4.2.52 headers and the 4.3 library.

Then the environment must not be properly configured.  A
proper configuration allows configure to find matching
headers and libraries files for the desired version of
each development library.

>The script should stop the test with a success if a correct match is found or
>with a failure if no correct match exists, but should go on after a wrong