Re: Header files problem ... OpenSSL
From: Ulf Zimmermann (ulf_at_Alameda.net)
Date: 03/27/04
- Previous message: Odhiambo Washington: "Problem after recompiling apache"
- In reply to: Odhiambo Washington: "Header files problem ... OpenSSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Mar 2004 11:01:08 -0800 To: Odhiambo Washington <wash@wananchi.com>, freebsd-isp@freebsd.org
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 _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Odhiambo Washington: "Problem after recompiling apache"
- In reply to: Odhiambo Washington: "Header files problem ... OpenSSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|