From owner-freebsd-isp@FreeBSD.ORG Sat Mar 27 11:01:08 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E197016A4CE for ; Sat, 27 Mar 2004 11:01:08 -0800 (PST) Received: from seven.Alameda.net (seven.alameda.net [64.81.53.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE6343D2D for ; Sat, 27 Mar 2004 11:01:08 -0800 (PST) (envelope-from ulf@Alameda.net) Received: by seven.Alameda.net (Postfix, from userid 1000) id 9BB913A204; Sat, 27 Mar 2004 11:01:08 -0800 (PST) Date: Sat, 27 Mar 2004 11:01:08 -0800 From: Ulf Zimmermann To: Odhiambo Washington , freebsd-isp@freebsd.org Message-ID: <20040327190108.GH89845@seven.alameda.net> References: <20040327101611.GA32942@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040327101611.GA32942@ns2.wananchi.com> User-Agent: Mutt/1.4.1i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.8-RELEASE-p5 Subject: Re: Header files problem ... OpenSSL X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ulf@Alameda.net List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 19:01:09 -0000 On Sat, Mar 27, 2004 at 01:16:11PM +0300, Odhiambo Washington wrote: > > Hello friends, > > I believe this problem could be easily to solve with the brains here. > > OS is FreeBSD 5.2.1. > > I am recompiling php with gettext support. Support for OpenSSL is > also desired and it's what is giving me grief. The problem is only > on one box amongst the many that I have. > > While compiling, the script fails with this mesg: > > Configuring extensions > checking for OpenSSL support... yes > checking for pkg-config... /usr/local/bin/pkg-config > configure: error: Cannot find OpenSSL's > ===> Script "configure" failed unexpectedly. > > > OK, that file, evp.h is actually in /usr/include/openssl/evp.h > So something is amiss, perhaps with my ENV ??? > I have tried doing > > export CFLAGS="-I/usr/include" > > that still doesn't seem to help .. > > brain dead now ;) > Add to /etc/make.conf: WITH_OPENSSL_BASE=yes I ran into the same problem with mod_php and ssl, out of some reason the bsd.openssl.mk file for ports thinks that you have openssl installed as package in /usr/local and so the php port calls the configure with --with-openssl=/usr/local -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html