Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am trying to get the ec2 command-line api work on my OS X 10.7.4 without much success. The commands are complaining about curl but it looks like curl is installed and is available. See below:

[$:local] ec2din
sanity-check:  Problems accessing AWS.  Is curl installed?
[$:local] curl
curl: try 'curl --help' or 'curl --manual' for more information
[$:local] which curl
curl is /opt/local/bin/curl
curl is /usr/bin/curl
curl is /opt/local/bin/curl
[$:local] ec2din --debug
--debug: mispelled meta parameter?
[$:local] ec2din -debug
-e: mispelled meta parameter?
[$:local] ec2dim --debug
--debug: mispelled meta parameter?

Any help is appreciated.

PS: I am using iTerm2.

share|improve this question
    
Do you have the environment variables EC2_CERT, EC2_PRIVATE_KEY and EC2_HOME defined? –  Ian C. Oct 4 '12 at 21:18
    
yes, they are all defined. I have a similar setup working on a ubuntu machine. Just not working on my mac laptop. –  Ketan Oct 5 '12 at 1:19
    
Can you add the output of ec2din --debug to your question? –  Ian C. Oct 5 '12 at 13:23
    
Ok, added some debug commands to the question. Not sure if they'll help. –  Ketan Oct 5 '12 at 15:31
    
Yea, not helpful. :) Where'd you get the ec2 commands from? Homebrew? Are you running the latest version? brew info ec2-api-tools will show you what you have and what the latest is if you installed with Homebrew. –  Ian C. Oct 5 '12 at 15:50
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.