Re: Courier and maildrop build 20211126 released.

Christian Ebert <[email protected]> Sun, 28 Nov 2021 17:46:23 +0100
Newsgroups gmane.mail.maildrop
Organization Phloxic Productions https://phloxic.productions
Message-ID <[email protected]>

* Sam Varshavchik on Sunday, November 28, 2021 at 10:45:16 -0500:
> Christian Ebert writes:
>> By q&d replacing all occurences of pcre.h with pcre2.h and (maybe 
>> not needed) pcre/pcre.h with pcre2posix.h configure succeeds.
> 
> The only references to pcre.h I found were in the maildir directory, 
> which I just fixed in build 20211128, so that one should compile.

Almost there, but see below.

>> However:
>> $ make
>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
>> [...]maildrop-3.0.3.20211126/missing aclocal-1.16
>> [...]maildrop-3.0.3.20211126/missing: line 81: aclocal-1.16: command 
>> not found
>> WARNING: 'aclocal-1.16' is missing on your system.
>>        You should only need it if you modified 'acinclude.m4' or
>>        'configure.ac' or m4 files included by 'configure.ac'.
>>        The 'aclocal' program is part of the GNU Automake package:
>>        <https://www.gnu.org/software/automake>
>>        It also requires GNU Autoconf, GNU m4 and Perl in order to run:
>>        <https://www.gnu.org/software/autoconf>
>>        <https://www.gnu.org/software/m4/>
>>        <https://www.perl.org/>
>> make: *** [aclocal.m4] Error 127
> 
> This happens only if your build system attempts to regenerate the 
> configure script. This is not necessary and should not happen when the 
> tarball is simply unpacked and the configure script executed, as is.

./configure itself and thereby configure.ac still look for 
pcre.h:

$ grep -rl '\bpcre\.h\b' *
ChangeLog
configure
configure.ac

Once I remove the checks from configure[1], it builds just fine.

[1]
--- configure.orig	2021-11-28 17:31:24.532851360 +0100
+++ configure	2021-11-28 17:31:39.800815054 +0100
@@ -12251,32 +12251,6 @@
  
  
  
-ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
-if test "x$ac_cv_header_pcre_h" = xyes; then :
-   :
-else
-
-
-		ac_fn_c_check_header_mongrel "$LINENO" "pcre/pcre.h" "ac_cv_header_pcre_pcre_h" "$ac_includes_default"
-if test "x$ac_cv_header_pcre_pcre_h" = xyes; then :
-   :
-else
-
-						as_fn_error $? "pcre.h not found - install PCRE from www.pcre.org" "$LINENO" 5
-
-fi
-
-
-
-
-fi
-
-
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-
  eval "prefix=$prefix"
  eval "exec_prefix=$exec_prefix"
  eval "libdir=$libdir"

-- 
phloxic.underdogma movie        _SAME  TIME  SAME  PLACE_
   --->> https://phloxic.productions/en/underdogma/stsp/en
phloxic.underdogma audio  _ANOTHER  TIME  ANOTHER  PLACE_
         --->> https://phloxic.productions/underdogma/atap