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