confluentinc / confluent-cli

Confluent Platform CLI
Other
60 stars 38 forks source link

Add curl as a dependency on packaging branches. #54

Open kkonstantine opened 6 years ago

kkonstantine commented 6 years ago

curl is a required dependency and should be added in the appropriate files (e.g. confluent-cli-control.in) in the packaging branches for debian and rpm.

padwasabimasala commented 6 years ago

I still get this error on Red Hat Enterprise Linux Server release 7.4 (Maipo) as of May 22nd 2018.

padwasabimasala commented 6 years ago

I am getting this error even after installing curl

bash-4.2# confluent start
'confluent' requires 'curl'.
bash-4.2# yum -y install curl
Loaded plugins: ovl
Package curl-7.29.0-46.el7.x86_64 already installed and latest version
Nothing to do
bash-4.2# confluent start
'confluent' requires 'curl'.
padwasabimasala commented 6 years ago

LOL! It's because which is not installed.

bash -x /usr/bin/confluent

...
+ which curl
+ status=127
+ [[ 127 -ne 0 ]]
+ invalid_requirement curl
+ echo -n ''\''confluent'\'' requires '\''curl'\'''
'confluent' requires 'curl'+ [[ x == \x ]]
+ echo .

To fix this on Red Hat Enterprise Linux Server release 7.4 (Maipo)

sudo yum install which
sudo yum install curl
AntoinePr commented 5 years ago

Had the same issue, thanks for finding the error!

amit10may commented 4 years ago

Thanks! I had same issue. which was missing