contrib/adddepend

Started by Christopher Kings-Lynnealmost 23 years ago2 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

When I run adddepend on my FreeBSD system, I get this:

/usr/local/bin/adddepend -d usa

install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503) at (eval 1) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed,
or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: ExampleP, Proxy, mysql.
at /usr/local/bin/adddepend line 123

Pg.pm is here:

locate Pg.pm

/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Pg.pm

So, it's not in @INC. I presume this is a problem with my system? I'm not
100% up with my Perl, so what is the workaround for this? Is there
something we can put in adddepend itself, or do I have to hack in something
temporarily to put the correct include path?

Chris

#2Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Christopher Kings-Lynne (#1)
Re: contrib/adddepend

*sigh* My system was stuffed. Fixed now. Please disregard this post -
sorry for spamming the list...

Chris

----- Original Message -----
From: "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
To: "Hackers" <pgsql-hackers@postgresql.org>
Sent: Friday, February 21, 2003 10:28 AM
Subject: [HACKERS] contrib/adddepend

When I run adddepend on my FreeBSD system, I get this:

/usr/local/bin/adddepend -d usa

install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503) at (eval 1) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed,
or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: ExampleP, Proxy, mysql.
at /usr/local/bin/adddepend line 123

Pg.pm is here:

locate Pg.pm

/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Pg.pm

So, it's not in @INC. I presume this is a problem with my system? I'm

not

100% up with my Perl, so what is the workaround for this? Is there
something we can put in adddepend itself, or do I have to hack in

something

Show quoted text

temporarily to put the correct include path?

Chris

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org