curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: building curl on macos

From: Dave via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 10 Jun 2021 18:23:39 +0100

On Thu, 10 Jun 2021 at 15:05, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Thu, 10 Jun 2021, Dave via curl-library wrote:
>
> > configure: error: [redacted, $openssldir]/builds/osx/debug is a bad
> > --with-openssl prefix!
>
> This means $PREFIX_OPENSSL/include/openssl/ssl.h is missing.
>

Thanks for the quick response.

Am I right in assuming that $PREFIX_OPENSSL would be set by this?
./configure --with-ssl=$openssldir/builds/osx/release

The path I am passing (see my original email) does indeed have a ssl.h at
$openssldir/builds/osx/release/include/openssl/ssl.h

The error though is not about the ../osx/release folder, but a
.../osx/debug folder next to it, which doesn't exist.
Nor am I telling any script to look for a debug folder as far as I am aware.

I've tried restarting the build machine in case there was some stale
environment variable hanging about, but I'm still getting the same
error.

> > If I create a debug library for OpenSSL and place it in that folder it does
> > succeed.
> >
> > My question is whether I can avoid creating and depending on openssl debug
> > libs with the right options for the curl configure script?
>
> The header file being there or not should not be dependent on a debug version.
>

Good to hear, perhaps I'm using the wrong options for ./configure?

Dave

On Thu, 10 Jun 2021 at 15:05, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Thu, 10 Jun 2021, Dave via curl-library wrote:
>
> > configure: error: [redacted, $openssldir]/builds/osx/debug is a bad
> > --with-openssl prefix!
>
> This means $PREFIX_OPENSSL/include/openssl/ssl.h is missing.
>
> > If I create a debug library for OpenSSL and place it in that folder it does
> > succeed.
> >
> > My question is whether I can avoid creating and depending on openssl debug
> > libs with the right options for the curl configure script?
>
> The header file being there or not should not be dependent on a debug version.
>
> --
>
> / daniel.haxx.se
> | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-06-10