Header files problem ... OpenSSL

Ulf Zimmermann ulf at Alameda.net
Sat Mar 27 11:01:09 PST 2004


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


More information about the freebsd-isp mailing list