Skip to content

Instantly share code, notes, and snippets.

@fairchild
Created August 9, 2011 04:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fairchild/1133404 to your computer and use it in GitHub Desktop.
Save fairchild/1133404 to your computer and use it in GitHub Desktop.
script to install euca-tools 1.3.1 from source, tested on a mac
export VERSION="1.3.1"
export WORKING_DIR=~/Downloads/euca2install
mkdir -p ${WORKING_DIR}
cd ${WORKING_DIR}
wget http://open.eucalyptus.com/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http://eucalyptussoftware.com/downloads/releases/euca2ools-${VERSION}-src-deps.tar.gz
tar -zxvf euca2ools-${VERSION}-src-deps.tar.gz
cd euca2ools-${VERSION}-src-deps
tar -zxvf boto-1.9b.tar.gz
cd boto-1.9b
sudo python setup.py install
cd ..
tar -zxvf M2Crypto-0.20.2.tar.gz
cd M2Crypto-0.20.2
sudo python setup.py install
cd ${WORKING_DIR}
wget http://open.eucalyptus.com/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http://eucalyptussoftware.com/downloads/releases/euca2ools-${VERSION}.tar.gz&nid=1346
tar -zxvf euca2ools-${VERSION}.tar.gz
cd euca2ools-${VERSION}
sudo make
euca-version
@phs
Copy link

phs commented May 10, 2012

Thank you! This script helped a lot, but ended up changing two things:

  • To dodge problems with the PPC assembler being gone when making M2Crypto, I installed the iOS SDK and put the assembler back a la this SA hint
  • Instead of getting (the now aging) version 1.3.1, I got 2.0.2 from github

@randysecrist
Copy link

i've also had some success getting euca to work with virtualenv; but the bash #! headers need to be changed to use #!/usr/bin/env python over #!/usr/bin/python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment