[rt-users] Re: Installin RT on Ubuntu

Daniel Pittman daniel at rimspace.net
Wed Nov 30 19:14:24 EST 2005


Jesse Vincent <jesse at bestpractical.com> writes:
> On Wed, Nov 30, 2005 at 09:58:07PM +0000, Gilberto Ribeiro wrote:
>> Hi,
>> 
>> I'm trying to install RT on Ubuntu 5.10, but i'm gettint the following
>> error while populating the DB:
>> 
>>  # rt-setup-database-3.4 --action init -dba rtuser
>> --prompt-for-dba-password
>> In order to create or update your RT database,this script needs to
>> connect to your Pg instance on localhost as rtuser.
>> Please specify that user's database password below. If the user has no
>> database
>> password, just press return.
>> 
>> install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC
>> contains: /usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 190) line 3, <STDIN> line 1.
>> Perhaps the DBD::Pg perl module hasn't been fully installed,
>> or perhaps the capitalisation of 'Pg' isn't right.
>> Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
>>  at /usr/sbin/rt-setup-database-3.4 line 132
>> root at SCSI:/home/gr # locate Pg.pm
>> /usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm
>
> cpan DBD::Pg

Better, for Ubuntu or Debian, to use the distribution package:

] apt-get install libdbd-pg-perl

Regards,
        Daniel




More information about the rt-users mailing list