agsBelow are the dependencies of ags listed as well as the link to it's project homepage. Note, please download the most recent stable versions of Gtk+ related libraries, because ags needs it.
You probably want to download pkg-config, gcc and make, too. Note, there are some nested functions, which is a GNU extension to the C Programming language.
You may consider blogspot article for a in depth view of installing dependencies.