I'm having problems installing the DBD::Pg module for PG. Admittedly I'm using the RPM version of Perl v5.6.0. I don't know if this makes a difference.
After finding out that CPAN was already installed in my PC (I didn't assume it was), I ended up trying to install perl v5.6.1 when I tried installing the CPAN module "Bundle::libnet". The perl v5.6.1 did not install correctly. I've installed DBI via CPAN (as well as RPM), confirmed DBI is installed via CPAN. DBD::Pg tries to install but the following is the last output CPAN gives when it fails :- Running Mkbootstrap for DBD::Pg () chmod 644 Pg.bs LD_RUN_PATH="/usr/lib" gcc -o blib/arch/auto/DBD/Pg/Pg.so -shared -L/usr/local/lib Pg.o dbdimp.o -L/usr/lib -lpq chmod 755 blib/arch/auto/DBD/Pg/Pg.so cp Pg.bs blib/arch/auto/DBD/Pg/Pg.bs chmod 644 blib/arch/auto/DBD/Pg/Pg.bs Manifying blib/man3/DBD::Pg.3pm Manifying blib/man3/DBD::dbd-pg.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl OS: linux Use of uninitialized value in join at test.pl line 53. DBI->data_sources .......... not ok: DBI->connect(dbname=template1) failed: connectDBStart() -- connect() failed: No such file or directory at test.pl line 59 DBI->connect ............... not ok: connectDBStart() -- connect() failed: No such file or directory at test.pl line 59. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Lines 53, 59 from the file test.pl (mentioned above) are below (they don't mean much to me) 53: my $data_sources = join(" ", DBI->data_sources('Pg')); 59: ( $dbh0 = DBI->connect("$dsn_main", '', '', { AutoCommit => 1 }) ) -- regs rupert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]