Re: problems with make, round two

---------

From: Ron Pero (rpero@magnadev.com)
Date: Mon Mar 11 2002 - 15:07:33 CST


At 11:26 AM 03/10/02 -0800, Peter C. McCluskey wrote:
>
> daniel@haxx.se (Daniel Stenberg) writes:
>>It's odd. It means that configure discovered that you have it and set the
>>correct defines for building with gdbm support, but when trying to link with
>>it later it fails.
>
> I think it's finding the headers, and assuming that that implies the
>library can be found.
> I don't understand the configure code well enough to know what to do
>about this.
>--
>---------------------------------------------------------------------------

---
>Peter McCluskey          | Free Jon Johansen!
>http://www.rahul.net/pcm | 
OK. Trying this again, to make hypermail without getting stuck on gdbm.
You say that gdbm support is not needed. (Any drawback to not using it?
What happens without it? What is it used for?)
I've been looking at configure to see if I can disable it. But it is not
plain to see (I do not know the configure program.)
This is close to the top.
ac_help="$ac_help
  --with-gdbm[=DIR]       Include GDBM support"
I tried commenting it out, but it still looked for it, like so:
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... checking for gethostbyaddr in -lsocket...
(cached) no
About 2/3 of the way through configure, there is this code (it is also in
configure.in):
# Check whether --with-gdbm or --without-gdbm was given.
if test "${with_gdbm+set}" = set; then
  withval="$with_gdbm"
   given_gdbm=$withval
fi
if test "$given_gdbm" != "no"; then
    for i in /usr/local /usr $withval; do
      if test -f "$i/include/gdbm.h"; then
        GDBM_INCLUDE="$i/include"
        THIS_PREFIX="$i"
      fi
    done
AND CONTINUES WITH QUITE A BIT MORE....
Notice this line from the immediate above:
if test -f "$i/include/gdbm.h";
This is like what Peter McCluskey suggested, that maybe it finds the header
files and thinks that it has the whole thing. Does that sound right?
I wonder if commenting out that line would fix my problem. Seems fairly
complicated.
Does anyone know how to install hypermail without gdbm support (and if that
would be desirable)?
Thanks again.
Ron

---------

This archive was generated by hypermail 2.1.5.