On Fri, 19 Sep 2003 09:29:23 -0500 "Trudell, Keith" <[EMAIL PROTECTED]> wrote:
> 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. There is no 'DBD' module. There are DBD::Oracle, DBD::ODBC, and so on. All the DBD::x modules require DBI to already be installed before building. DBI requires a DBD::x module to actually connect to a database, but that is at run time, not build time. > I have also not found anything useful in the FAQ, as it assumes that > you have successfully created the makefile. Each step builds on the previous ones. You have to go through the entire build, test, and install process for DBI before you do the same for the DBD-x modules of your choice. > $ 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. Recheck the directory are you in. These errors are what I'd expect from attempting to build a DBD module before DBI is installed. > 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". These indicate that DBI is not installed. What absolute directory were you reading the files in with vi? -- Mac :}) ** I usually forward private questions to the appropriate mail list. ** Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
