Grant Henke has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16883 )

Change subject: [thirdparty] Fix curl build on SLES
......................................................................

[thirdparty] Fix curl build on SLES

SLES does not put the krb5-config in /usr/bin as curl expects.
Instead krb5-config is installed into `/usr/lib/mit/bin/`.
Additionally it doesn’t put that location on the `PATH` by default,
which means that the `which` command can fail to find it.
Building curl with an empty KRB5CONFIG results in the following
error:
   configure: error: one or more libs available at link-time are not available 
run-time. Libs used at link-time: -lgssapi

This patch fixes the issue for more common/default environments by
falling back to the special SLES krb5_config location if one is not found
and the file exists.

Change-Id: I0961865a00601431bbc833360590cafa3aaf65c6
Reviewed-on: http://gerrit.cloudera.org:8080/16883
Reviewed-by: Alexey Serbin <aser...@cloudera.com>
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Tested-by: Kudu Jenkins
---
M thirdparty/build-definitions.sh
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved
  Andrew Wong: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/16883
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0961865a00601431bbc833360590cafa3aaf65c6
Gerrit-Change-Number: 16883
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to