Thank you for this, just tried it, It all goes well up to this point: Creating extra DBI::PurePerl test: t/zz_70shell_pp.t Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t Checking if your kit is complete... Looks good Writing Makefile for DBI
Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this working directory before unpacking and building any DBD::* drivers. /usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl -MExtUtils::Command -e mkpath blib/lib/DBI Then lots of error and a 'install seems impossible' message: Perl.c: In function `XS_DBD__Perl__st_DESTROY': Perl.c:626: warning: unused variable `Perl___notused' Perl.c: In function `boot_DBD__Perl': Perl.c:675: warning: unused variable `Perl___notused' make: *** [Perl.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible If you have any ideas please let me know - perhaps I should reinstall the whole OS?, or just the perl part? ANY ideas most welcome and thank you very much. - Roland On 23/5/02 8:15 pm, "Troy Davis" <[EMAIL PROTECTED]> wrote: > Have you tried installing from the cpan shell? > > % sudo perl -MCPAN -e shell > > Then... > > cpan> install DBI > > I get lots of errors during the build phase, but it tests and > installs correctly (despite lots of warnings during the tests). > > Cheers, > Troy > >> I still cannot get DBD to install. >> >> Have just tried: >> [localhost:~/DBI-1.21] roland% perl Makefile.PL >> .... >> [localhost:~/DBI-1.21] roland% make test >> .... >> [localhost:~/DBI-1.21] roland% sudo make install >> >> >> >> I get a lot of these errors: >> >> Perl.c: In function `XS_DBD__Perl__st_DESTROY': >> Perl.c:626: warning: unused variable `Perl___notused' >> Perl.c: In function `boot_DBD__Perl': >> Perl.c:675: warning: unused variable `Perl___notused' >> make: *** [Perl.o] Error 1 >> >> But I can find the perl doc. >> >> However when I run a program to test if DBI is present: >> >> #!/usr/bin/perl -w >> use DBI; >> use CGI; >> @driver_names = DBI->available_drivers (); >> print "These are here: @driver_names\n"; >> exit (0); >> >> I get: >> >> [localhost:~] roland% ./testdbi.pl >> Can't locate DBI.pm in @INC (@INC contains: /System/Library/Perl/darwin >> /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl >> /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) >> at ./testdbi.pl line 2. >> BEGIN failed--compilation aborted at ./testdbi.pl line 2. >> >> Where are you supposed to perform the instalation of perl modules from? >> Should you move the original tar a special aplace, then unpack and install >> from there, OR is it ok to do it straight from the desktop. >> >> By the way I have tried both manual and CPAN installation, neither work. >> >> Any help much appreciated. >> >> - Roland > >