From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 00:15:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA50716A419 for ; Fri, 9 Jun 2006 00:15:23 +0000 (UTC) (envelope-from lordboink@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C3B43D46 for ; Fri, 9 Jun 2006 00:15:22 +0000 (GMT) (envelope-from lordboink@gmail.com) Received: by nz-out-0102.google.com with SMTP id n29so611038nzf for ; Thu, 08 Jun 2006 17:15:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=J7scvNys6bf/AeuicY8gQnT46eMgTYdMM0m2ycMjHV6JB0y2MT3fVbZ20jGstAcw+21pHYsBvOcROhNAZJb3qjti8TWC+2EUzd6s3FehjNzvs1R0UWksEjqT7TbW4tQZT+t4GW2L8wAOdHOQ298H4RuVdN4Oc8qxwbkU8F3/c2s= Received: by 10.36.250.30 with SMTP id x30mr3150791nzh; Thu, 08 Jun 2006 17:15:20 -0700 (PDT) Received: by 10.36.55.4 with HTTP; Thu, 8 Jun 2006 17:15:20 -0700 (PDT) Message-ID: <73cb07950606081715n66c70b97n98145446defeeafe@mail.gmail.com> Date: Fri, 9 Jun 2006 02:15:20 +0200 From: boink To: "Chad Leigh -- Shire.Net LLC" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: Re: Compile courier-imap 4.1.1 fails (solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 00:15:23 -0000 (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