Compile courier-imap 4.1.1 fails (solved)

boink lordboink at
Fri Jun 9 00:15:23 UTC 2006

(Sent off-group):

> The biggest thing is that if you have libs in non-standard locations
> then you need to set
> appropriately before you compile
>for tcsh/csh

>% setenv LDFLAGS -L/usr/mylibs
>% setenv CPPFLAGS -I/usr/myincludes
>% setenv CFLAGS -I/usr/myincludes

> Chad
> Chad Leigh -- Shire.Net LLC
> Your Web App and Email hosting provider
> chad at


Thank you for your advice.

I got there in the end, and cc the group for others' future reference
(and mine):

$setenv LDFLAGS "-L/usr/local/lib -L/usr/local/include -L/usr/include/openssl"
$setenv CPPFLAGS "-I/usr/local/lib -I/usr/local/include -I/usr/include/openssl"
$setenv CFLAGS "-I/usr/local/lib -I/usr/local/include -I/usr/include/openssl"

(where -I = big i not small L)

$./configure --without-authdaemon --with-authvchkpw
--enable-unicode=iso-8859-1,iso-8859-15,utf-8 --without-ipv6

$make check

Lots of complaints about FAM (which *is* installed, but "not
configured properly").  I browsed a few posts wrt FAM, which led me to
continue anyway, since it seems most applicable to many-user systems,
particularly with shared folders.

So, finally:
$./configure --without-authdaemon --with-authvchkpw
--enable-unicode=iso-8859-1,iso-8859-15,utf-8 --without-ipv6
$make check

(More complaints expected due to --enable-workarounds... as documented), then:

#make install
#make install configure

Up and running after a few tweaks, and first imap mails sent.  Thank you!

Imap over TLS/SSL next, then Sqwebmail....

Best wishes

More information about the freebsd-questions mailing list