I am trying to help, although I am not an EKG2 user, so bear with me.
Most Linux distributions list the dependencies of packages.
The archlinux distribution has a modest list of dependencies :
aspell giflib gnutls gpgme gpm libgadu libidn libjpeg python2
The Debian distribution has a very long list of dependencies :
debhelper : helper programs for debian/rules
libncursesw5-dev : developer's libraries for ncursesw
python-dev : header files and a static library for Python (default)
python-central : register and build utility for Python packages
libperl-dev : Perl library: development files
libssl-dev : SSL development libraries, header files and documentation
libgnutls-dev : the GNU TLS library - development files
libaspell-dev : Development files for applications with GNU Aspell support
libgadu-dev : Gadu-Gadu protocol library - development files
libexpat1-dev : XML parsing C library - development kit
libgpmg1-dev : transitional dummy package which can be safely removed also a virtual package provided by libgpm-dev
libidn11-dev : Development files for GNU Libidn, an IDN library
libxosd-dev : X On-Screen Display library - development
libsqlite3-dev : SQLite 3 development files
python : interactive high-level object-oriented language (default version)
xsltproc : XSLT 1.0 command line processor
docbook-xsl : stylesheets for processing DocBook XML to various output formats
doxygen : Documentation system for C, C++, Java, Python and other languages
libgtk2.0-dev : Development files for the GTK+ library
libgpgme11-dev : GPGME - GnuPG Made Easy
zlib1g-dev : compression library - development
quilt : Tool to work with series of patches
Your case might lie anywhere between these two. The best way to find out is to look up the description of the EKG2 package in the Linux distribution that you are actually using (although that might not include the packages used by all the plugins).
In any case, doesn't your Linux distribution include a binary release of the EKG2 package ?
Installing the binary release through a package manager will automatically take care of the dependencies (if it includes all the plugins).