I have read the README files for both DBI and DBD. I may not have understood
the wording, as it appears that building DBI requires DBD and building DBD
requires DBI.

I have also not found anything useful in the FAQ, as it assumes that you
have successfully created the makefile.

$ perl -v

This is perl, v5.8.0 built for cygwin-multi-64int

I just downloaded the DBI-1.38.tar file from cpan and untarred it into a
temp directory. All the following commands are run from within the DBI-1.38
directory created when the file was untarred.

Here is the error:

$ perl Makefile.PL
Can't locate loadable object for module DBI in @INC (@INC contains:
lib/usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0/usr/lib/perl5/site_perl .) at DBI.pm line 255
BEGIN failed--compilation aborted at DBI.pm line 255.
Compilation failed in require at lib/DBI/DBD.pm line 3559.
BEGIN failed--compilation aborted at lib/DBI/DBD.pm line 3560.
Compilation failed in require at Makefile.PL line 40.
BEGIN failed--compilation aborted at Makefile.PL line 40.

Something that I found strange is that while I can view all the files just
fine with vi, perldoc gives an error:

$ perldoc DBI
Ignored ./DBI.pm: unreadable
No documentation found for "DBI".

$ perldoc DBI::FAQ
Ignored lib/DBI/FAQ.pm: unreadable
No documentation found for "DBI::FAQ".

The problem is probably something simple not covered in the documentation.

Let me know if more info is needed.

Thanks

Reply via email to