In order to compile some dependencies, you'll need some packages from your distro:
sudo apt-get install build-essential libssl-dev zlib1g-dev curl
sudo apt-get install libpng-dev
Carton is a Perl dependencies manager, it will get what you need, so don't bother about Perl dependencies (but you can read the file
cpanfile if you want).
sudo cpan Carton
If you want to use the cache system, please install memcached:
sudo apt-get install memcached
DB dev packages
NB: There's no dependency for SQLite
If you want to use PostgreSQL
sudo apt-get install libpq-dev
If you want to use MySQL (or MariaDB)
sudo apt-get install libmariadbd-dev
libmysqld-dev instead if you use Debian Jessie.
If you use MariaDB, please do:
sudo cd $(dirname $(which mariadb_config)) sudo ln -s mariadb_config mysql_config
in order to be able to install DBD::mysql.