Dear Courier Users:

        I am a new list subscriber working toward email independence based upon 
the Courier Mail Server. This transition was prompted by Verizon’s recent 
decision to block all outgoing email not sent from email addresses at its own 
domain. I am building a VPS hosted by DigitalOcean running FreeBSD 11.0. While 
trying to install the full Courier system I encountered an impasse. Any 
assistance from experienced Courier administrators would be most appreciated.

        I have been unable to complete installation of the Courier 
Authentication Library 0.66.4. When I run the configure script, it nearly 
finishes, but fails. The following are relevant excerpts from the terminal 
session:

checking if libtool supports shared libraries... yes
…
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I$(top_srcdir)/libltdl
checking where to find libltdl library... $(top_build_prefix)libltdl/libltdlc.la
…
checking for ltdl.h... (cached) no
configure: error: Unable to find ltdl.h. Please install Libtool's ltdl library

I had originally installed Libtool 2.4.6 (including the ltdl.h file), Courier 
Unicode 1.4, and the Courier Authentication Library 0.66.3 from the FreeBSD 
ports system. That produced an unusable system that needed some manual repair, 
so I deinstalled everything, and reinstalled from freshly downloaded source 
code.

        Libtool 2.4.6 and Courier Unicode 1.4 are now reinstalled from source. 
I ran the Libtool configure script as “./configure --prefix=/usr/local 
--exec-prefix=/usr/local --sysconfdir=/usr/local/etc/libtool 
--localstatedir=/var --includedir=/usr/local/include/libtool” which completed 
successfully. Running gmake and gmake install installed two copies of ldtl.h, 
one at /usr/local/share/libtool/, and another at /usr/local/include/libtool/. 
The following are relevant excerpts from the terminal session:

 /usr/bin/install -c -m 644 './libltdl/ltdl.h' '/usr/local/share/libtool/ltdl.h'
…
 /usr/bin/install -c -m 644 libltdl/ltdl.h '/usr/local/include/libtool'

I confirmed the installation of both ltdl.h files with root:wheel 0644 
permissions.

        I reviewed the courier-authlib configure script and found the following 
code excerpts that seem to be triggering the error:

if test yes != "$with_included_ltdl"; then
  # We are not being forced to use the included libltdl sources, so
  # decide whether there is a useful installed version we can use.
  ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" 
"$ac_includes_default

"
if test "x$ac_cv_header_ltdl_h" = xyes; then :
  ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" 
"ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
            #include <ltdl.h>
"
…

ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" 
"$ac_includes_default"
if test "x$ac_cv_header_ltdl_h" = xyes; then :
   :
else
  as_fn_error $? "Unable to find ltdl.h. Please install Libtool's ltdl library" 
"$LINENO" 5
fi

A full understanding of this code is beyond my current skill level, so I cannot 
determine why neither of the installed ltdl.h files are being found. Also, the 
leading “if” statement above suggests that it may be possible to compile 
courier-authlib using included libltdl sources by adding --with_included_ltdl 
to the ./configure command as an option. Assuming that this is even possible, 
it seems undesirable since ltdl.h files are actually available to be found.

        Thank you in advance for any help offered. I should note that I have 
not yet received any mail from this list, so a mail filter that I do not 
control may be blocking messages. So I do not miss anything, please also send a 
copy of any posted replies to MSS (at) ScaraHoof.com.

        Sincerely yours,

        Michael

<+>-=-<+>-=-<+>-=-<+>-=-<+>-=-<+>-=-<+>

SCARAMELLA & HOOFNAGLE
Computer Division
 ~  *  ~
Voice: 856-424-2100
Web: http://www.ScaraHoof.com

<+>-=-<+>-=-<+>-=-<+>-=-<+>-=-<+>-=-<+>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to