Po wydaniu takiego polecenia:
perl -MCPAN -e 'install DBI'
otzrymuje:
Checking if your kit is complete...
Looks good
I see you're using perl 5.008007 on i686-linux-thread-multi, okay.
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.
Writing Makefile for DBI
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Jak chce dodać DBD: perl -MCPAN -e 'install DBD'
to mam:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 13 Feb 2006 23:16:19 GMT
Warning: Cannot install DBD, don't know what it is.
Try the command
i /DBD/
to find objects with matching identifiers.
No a gdy chce: perl -MCPAN -e 'install DBD::mysql'
To:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 13 Feb 2006 23:16:19 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-3.0002/
DBD-mysql-3.0002/ChangeLog
DBD-mysql-3.0002/constants.h
.
.
.
Removing previously used /root/.cpan/build/DBD-mysql-3.0002
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz
Can't locate DBI/DBD.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i686-linux-thread-multi /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at Makefile.PL line 23.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Także coś niegra, ale już nie mam zielonego pojecia co
