[htdig3-dev] [SOLVED] --enable-bigfile problem


Subject: [htdig3-dev] [SOLVED] --enable-bigfile problem
From: J. op den Brouw (MSQL_User@st.hhs.nl)
Date: Wed Aug 30 2000 - 04:09:18 PDT


I have reasons to believe I've solved the --enable-bigfile problem.

There were several problems:

1) The evaluation of the --enable-bigfile (and --disable-bigfile) was
   incorrect.

2) The generation of the HAVE_FILE_OFFSET_BITS flags in
   include/htconfig.h and db/dc_config.h was done wrong.

I have no means to generate configure from configure.in et al
so I give you the corrections this way. By the way, I don't
know $%^&*@! about autoconf et al.

1) In configure.in, line 159 and following, the evaluation is done
   incorrect. The values are "no" and "yes" and in the correspondig
   configure file it is translated as:

3986 echo $ac_n "checking if --enable-bigfile option specified""... $ac_c" 1>&6
3987 echo "configure:3988: checking if --enable-bigfile option specified" >&5
3988 # Check whether --enable-bigfile or --disable-bigfile was given.
3989 if test "${enable_bigfile+set}" = set; then
3990 enableval="$enable_bigfile"
3991 db_cv_bigfile="no"
3992 else
3993 db_cv_bigfile="yes"
3994 fi

   The "no" in line 3991 must be $enableval, because it sets the varaiable
   to the value supplied to --enable-bigfile. Now it sets it always to "no"
   if you supply --enable-bigfile. Don't know how to do it in
   configure.in though.

   In db/configure, line 1901 et al, the same problem as above.

   Note that these problems also occur in acinclude.m4 and aclocal.m4. I
   don't know which one(s) must be updated. Same in db/acinclude.m4 and
   db/aclocal.m4

2) In configure.in, line 168 et al, there is a test:

      if test "$db_cv_bigfile" = no; then

   and it sets HAVE_FILE_OFFSET_BITS if you have the right
   architecure.
   Of course "no" must be "yes"...

   in db/configure.in, line 175 et al, the same problem arises as in
   configure.in.

Hope this helps...

--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engeneering Netherlands
Electrical Engeneering +31 70 4458936
-------------------- J.E.J.opdenBrouw@st.hhs.nl --------------------

Linux - because reboots are for hardware changes

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Wed Aug 30 2000 - 04:10:29 PDT