From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 13:31:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 742F010656A7 for ; Fri, 24 Oct 2008 13:31:52 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8988FC2C for ; Fri, 24 Oct 2008 13:31:52 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KtMlb-0007bo-5T for freebsd-questions@freebsd.org; Fri, 24 Oct 2008 09:31:51 -0400 Message-ID: <9CF094BB35D341D28B1EFFD1A7A75FAF@GRANT> From: "Grant Peel" To: Date: Fri, 24 Oct 2008 09:31:41 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: FreeBSD 6.3-RELEASE installing php-imap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 13:31:52 -0000 Hi all, I have a script that required php-imap extension installed but I keep running into a 2 snags when 'making' the port (mail/php-imap)... First, I have to use the -DFORCE_PKG_REGISTER so openssl_overwtite_base won't kill the make, which seems to work, and, most importantly, when the mail/imap-php port tried to actually do the build of the imap part, it says it can't find (OpenSSLs) 'evp.h' file. I assume it is just failing on the first file it can't find. So, I guess the question is, when making the mail/imap-php port, is there a way to pass the path for the OpenSSL libraries? My libs appear to be in two places: server# locate evp.h /usr/include/openssl/evp.h /usr/src/crypto/openssl/crypto/evp/evp.h If I can pass the path, I assume I should use the /usr/include dir, but how? make -D"--with-openssl=/usr/include/openssl" ??? TIA, -Grant