Re: problem compiling with openssl support
| From: | Jon Hill | Date: | Wed, 17 Dec 2003 13:39:02 +0000 |
| Subject: | Re: problem compiling with openssl support | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172876@lists.php.net to get a copy of this message | ||
cheers Adam,
that now works
Jon
On Wednesday 17 December 2003 13:29, Adam Maas wrote:
> Jon Hill wrote:
> > Hi
> >
> > I cannot manage to compile openssl support into php.
> >
> > my configuration line is
> >
> > CPPFLAGS='-I/usr/local/include/' ./configure
> > --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr
> > --with-gettext-dir=/usr --with-gd --with-png-dir=/usr
> > --with-zlib-dir=/usr --with-jpeg-dir=/usr --with-gd-native-ttf
> > --enable-magic-quotes
> > --enable-calendar --enable-ftp --enable-wddx --with-openssl=/usr
> >
> >
> > configure always complains that it cannot find evp.h
> > evp.h IS located in /usr/local/include/openssl
> >
> > I have tried a vairety of variations to try and get it to work. Perhaps I
> > have not set CPPFLAGS properly or I need something else?
> >
> > hope someone can show me the way.
> >
> > Jon
>
> Your last flag is incorrect. --with-openssl needs to be /usr/local
>
> It's looking in /usr/include for evp.h
>
> Adam