Здравствуйте, проблема вкратце: не могу установить любой модуль Perl ни из file.tar.gz , ни из CPAN
например:
Centurion:/System/Library/Perl/5.8.6/DBD-mysql-3.0008 root# perl Makefile.PL
Can't locate DBI/DBD.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl .) at Makefile.PL line 23.
Centurion:/System/Library/Perl/5.8.6/DBD-mysql-3.0008 root# и:
perl -MCPAN -e shell
cpan> install DBD::mysql
CPAN: Storable loaded ok
Going to read /var/root/.cpan/Metadata
Database was generated on Thu, 06 Sep 2007 06:36:43 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /var/root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz ok
Scanning cache /var/root/.cpan/build for sizes
DBD-mysql-4.005/
DBD-mysql-4.005/ChangeLog
DBD-mysql-4.005/constants.h
DBD-mysql-4.005/dbdimp.c
DBD-mysql-4.005/dbdimp.h
DBD-mysql-4.005/eg/
DBD-mysql-4.005/eg/prepare_memory_usage.pl
DBD-mysql-4.005/eg/proc_example1.pl
DBD-mysql-4.005/eg/proc_example2.pl
DBD-mysql-4.005/eg/proc_example3.pl
DBD-mysql-4.005/INSTALL.html
DBD-mysql-4.005/lib/
DBD-mysql-4.005/lib/Bundle/
DBD-mysql-4.005/lib/Bundle/DBD/
DBD-mysql-4.005/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.005/lib/DBD/
DBD-mysql-4.005/lib/DBD/mysql/
DBD-mysql-4.005/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.005/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.005/lib/DBD/mysql.pm
DBD-mysql-4.005/Makefile.PL
DBD-mysql-4.005/Makefile.PL.embedded
DBD-mysql-4.005/MANIFEST
DBD-mysql-4.005/MANIFEST.SKIP
DBD-mysql-4.005/META.yml
DBD-mysql-4.005/myld
DBD-mysql-4.005/mysql.xs
DBD-mysql-4.005/README
DBD-mysql-4.005/t/
DBD-mysql-4.005/t/00base.t
DBD-mysql-4.005/t/10connect.t
DBD-mysql-4.005/t/20createdrop.t
DBD-mysql-4.005/t/30insertfetch.t
DBD-mysql-4.005/t/35limit.t
DBD-mysql-4.005/t/35prepare.t
DBD-mysql-4.005/t/40bindparam.t
DBD-mysql-4.005/t/40bindparam2.t
DBD-mysql-4.005/t/40blobs.t
DBD-mysql-4.005/t/40catalog.t
DBD-mysql-4.005/t/40listfields.t
DBD-mysql-4.005/t/40nulls.t
DBD-mysql-4.005/t/40numrows.t
DBD-mysql-4.005/t/41bindparam.t
DBD-mysql-4.005/t/41blobs_prepare.t
DBD-mysql-4.005/t/42bindparam.t
DBD-mysql-4.005/t/50chopblanks.t
DBD-mysql-4.005/t/50commit.t
DBD-mysql-4.005/t/60leaks.t
DBD-mysql-4.005/t/70takeimp.t
DBD-mysql-4.005/t/75supported_sql.t
DBD-mysql-4.005/t/80procs.t
DBD-mysql-4.005/t/insertid.t
DBD-mysql-4.005/t/lib.pl
DBD-mysql-4.005/t/multi_statement.t
DBD-mysql-4.005/t/mysql.dbtest
DBD-mysql-4.005/t/param_values.t
DBD-mysql-4.005/t/prepare_noerror.t
DBD-mysql-4.005/t/texecute.t
DBD-mysql-4.005/t/utf8.t
DBD-mysql-4.005/TODO
Removing previously used /var/root/.cpan/build/DBD-mysql-4.005
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz
Can't locate DBI/DBD.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/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
инструкции http://www.mactech.com/articles/mactech/Vol.18/18.09/PerlforMacOSX/index.html
(к примеру...)
тоже не помогли
еще (при точно не помню каком варианте) он иногда ругается на /usr/bin/libtool
(точно смысл ошибки не скажу - если надо поковыряю выложу) - с ним проблема вроде у людей тоже часто бывала, но опять же решения не нашел
подобная тема на форуме где то была, и опять же таки, ответа в ней нет
вообще есть решение? может кто помочь то? долго бьюсь, прям как об дерево головй
спасибо