Date: Sat, 27 Mar 2004 11:01:08 -0800 From: Ulf Zimmermann <ulf@Alameda.net> To: Odhiambo Washington <wash@wananchi.com>, freebsd-isp@freebsd.org Subject: Re: Header files problem ... OpenSSL Message-ID: <20040327190108.GH89845@seven.alameda.net> In-Reply-To: <20040327101611.GA32942@ns2.wananchi.com> References: <20040327101611.GA32942@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <evp.h> > ===> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040327190108.GH89845>
