Monday, October 15, 2012

Getting AWS (Ada Web Server) running on a Raspberry Pi

I was happy to see that multitasking is supported in Ada on the raspberry pi.  This means that Ada Web Server should run just fine, so I hunted up the commands to get it installed.  It's generally much easier to install the packages from the linux distro repository, and that's what I did using the commands below:

Starting with a fresh copy of raspbian, I installed the gnat Ada compiler and aws with the following commands:

sudo apt-get install gnat
sudo apt-get install libaws-bin libaws2.10.2-dev

I'm an emacs fan, so I also installed my favorite editor:

sudo apt-get install emacs

A quick hello world web server was written and everything seems to work!