Pg - db initialisation failed

'make install ’ for rt2 (2.0.15) and ‘make initialize-database’ for rt3
(rt-3.0.0)
results in:
DBD::Pg::db do failed: ERROR: CREATE DATABASE: may not be called in a
transaction block at
/usr/lib/perl5/site_perl/5.6.0/DBIx/DataSource/Driver.pm line 77,
line 1.
ERROR: CREATE DATABASE: may not be called in a transaction block at
/usr/lib/perl5/site_perl/5.6.0/DBIx/DataSource/Driver.pm line 77,
line 1.
make: *** [createdb] Error 2

And from my db logs I get:

ERROR:  CREATE DATABASE: may not be called in a transaction block

What could be the cause of the problem and how can I solve it?