[ 
https://issues.apache.org/jira/browse/KUDU-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852630#comment-15852630
 ] 

Alexey Serbin commented on KUDU-1864:
-------------------------------------

I posted a patch for review:
https://gerrit.cloudera.org/#/c/5907/

At least it works for me on OS X 10.11.

{code:shell}
if openssl_cflags=$(pkg-config --cflags openssl) ; then
  EXTRA_CFLAGS="$EXTRA_CFLAGS $openssl_cflags"
fi

echo "***"
echo $EXTRA_CFLAGS
echo "***"
{code}

> Thirdparty squeasel build fails on macOS 10.12
> ----------------------------------------------
>
>                 Key: KUDU-1864
>                 URL: https://issues.apache.org/jira/browse/KUDU-1864
>             Project: Kudu
>          Issue Type: Bug
>          Components: build
>            Reporter: Dan Burkert
>
> Since recent changes to squeasel landed in 8993716d7, the thirdparty build of 
> squeasel has been broken on macOS 10.12.  The OpenSSL system headers in 
> {{/usr/include/openssl}} are not present in 10.12, and squeasel now depends 
> on them.  The error:
> {code}
> <..>/kudu/thirdparty/src/squeasel-c304d3f3481b07bf153979155f02e0aab24d01de/squeasel.c:153:10:
>  fatal error: 'openssl/ssl.h' file not found
> {code}
> An relatively easy workaround is to install OpenSSL via homebrew and set the 
> environment variable {{EXTRA_CFLAGS="-I/usr/local/opt/openssl/include"}} when 
> building thirdparty.
> We should come up with a long-term solution. [~tlipcon] suggested that we 
> might try to use pkg-config.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to