If the title doesn't make sense (if you are not from Chicago it might not) You can see where it came from at this link -https://www.youtube.com/watch?v=6Aj-EQrSAUs

Ok so you are out to compile Eucalyptus on Ubuntu and are following the instructions at https://github.com/eucalyptus/eucalyptus/blob/master/INSTALL and also the gracious instructions at The blog of Alin Tomescu and so far with a bit of grace luck and the previous article, https://blog.sat.iit.edu/2013/08/error-cant-load-javah-holy-ubuntu-error-batman/.

You have successfully solved the dependencies and now have completed make and sudo make install with nary an error. The next step is now to initialize the CLC with the command sudo /usr/sbin/euca_conf --initialize --debug (always add the --debug it gives verbose output that is immensely helpful.)

This is what is your output:

sudo-euca_conf--initialize-error

First error you will notice that it is asking for 'bc' - when following The blog of Alin Tomescu you will notice in the pre-reqs package section:

# install eucalyptus build dependencies
# WARNING: install these now, not later

sudo apt-get -y install cdbs debhelper libaxis2c-dev librampart-dev \
libvirt-dev libfuse-dev libfuse2 libcurl4-openssl-dev \
libssl-dev ant-optional zlib1g-dev pkg-config swig python \
python-setuptools open-iscsi libxslt1-dev gengetopt ant \
postgresql-server-dev-9.1 openjdk-7-jdk groovy libcap-dev

# install eucalyptus runtime dependencies
# WARNING: install these now, not later: ```sudo apt-get install -y bridge-utils iputils-arping libapache2-mod-axis2c adduser \ apache2 apache2-mpm-worker bridge-utils dhcp3-server euca2ools file \ iptables iputils-arping libapache2-mod-axis2c libaxis2c0 libc6 \ libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-x509-perl \ libcurl3 libdevmapper1.02.1 libpam-modules librampart0 libssl1.0.0 libvirt0 \ libvirt-bin libxml2 libxslt1.1 lvm2 open-iscsi openssh-client openssh-server \ parted postgresql-client-9.1 python python2.7 python-boto python-psutil \ rsync sudo tgt vblade vlan vtun postgresql-9.1 apache2-threaded-dev \ bzr drbd8-utils gcc kvm libsys-virt-perl libxml-simple-perl make openntpd \ python-libvirt python-pygresql qemu-kvm unzip at ```

The install instructions from The blog of Alin Tomescu are an all in one install (meaning all components on a single machine.) I wanted to split my components amongst my different servers. So I hopped over to https://github.com/eucalyptus/eucalyptus/blob/master/INSTALL which has the pre-reqs broken down by system:

Ubuntu 12.04
Install the following build dependencies.

cdbs debhelper libaxis2c-dev librampart-dev \
default-jdk libvirt-dev libfuse-dev libfuse2 libcurl4-openssl-dev \
libssl-dev ant-optional zlib1g-dev pkg-config swig python \
python-setuptools rsync wget open-iscsi libxslt1-dev gengetopt ant \
groovy postgresql-server-dev-9.1 iputils-arping

CLC: libc6, adduser, openssh-server, openssh-client, sudo, rsync,
postgresql-client-9.1, python2.7, python (>= 2.5), rsync, python-boto,
python-psutil, python-pygresql, lvm2, libgetargs-long-perl, postgresql-9.1,
vblade, dmsetup, default-jre-headless | java6-runtime-headless, velocity,
libpostgresql-jdbc-java (>= 9.1), libjboss-common-java,
libhibernate-commons-annotations-java
</blockquote>

This dependency list is missing bc - solution? Just sudo apt-get install bc openjdk-7-jdk and problem goes away. =)

Now on to the main event... Part 2