On Debian system you will need following packages installed to use RServ.
If you don't have compiler installed, you will need that too.

libecpg3
libdbd-pgsql
postgresql-client
libpgperl
libdbd-pg-perl
postgresql-dev
postgresql

