Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 02:15:20 +0200
From:      boink <lordboink@gmail.com>
To:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Compile courier-imap 4.1.1 fails (solved)
Message-ID:  <73cb07950606081715n66c70b97n98145446defeeafe@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
(Sent off-group):

> The biggest thing is that if you have libs in non-standard locations
> then you need to set
>
> LDFLAGS
> CPPFLAGS
> CFLAGS
>
> 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 shire.net


Chad,

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
--enable-workarounds-for-imap-client-bugs

now...
$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
--enable-workarounds-for-imap-client-bugs
$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
boink



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73cb07950606081715n66c70b97n98145446defeeafe>