Re: [greenstone-users] DBPlug question

From John R. McPherson
DateSat, 2 Sep 2006 04:25:03 +1200
Subject Re: [greenstone-users] DBPlug question
In-Reply-To (005801c6ca4d$7f2065c0$5c016c0a-hq-prl-ab-ca)
On Sun, Aug 27, 2006 at 08:56:02PM -0600, Michael Silver wrote:
> Hello,
>
> Still flailing away with my problem here... Started working with DBPlug as
> it looks promising and avoids me having to manually create thousands of nul
> files. However, I'm getting an error when I try to import.
>
> Here's what happens:
>
> C:Program FilesGreenstonecollectodbctest>perl -S import.pl odbctest
> -removeold
> Bareword "DBI::SQL_ALL_TYPES" not allowed while "strict subs" in use at
> C:/Perl/site/lib/DBD/ODBC.pm line 373.
> BEGIN not safe after errors--compilation aborted at
> C:/Perl/site/lib/DBD/ODBC.pm line 387.

Hi,
this looks quite odd... did you install any perl DBI/DBD modules yourself,
or did that ODBC.pm module come with the perl you've got?

That looks like it's either a bug in the module, or possibly a mismatch
in the versions (ie it was written for a different version of DBI or perl).

My linux distro doesn't even come with a DBD/ODBC.pm module, although
there is a DBI/W32ODBC.pm module.

Sorry I can't be much more help...

John