Grant Henke has uploaded this change for review. ( 
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
---
M thirdparty/build-definitions.sh
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/83/16883/1
--
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: newchange
Gerrit-Change-Id: I0961865a00601431bbc833360590cafa3aaf65c6
Gerrit-Change-Number: 16883
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to