perl anfänger

acid2k

Doppel-As
Beiträge
124
hallo leutz ich wollt ne verbindung zur mysql datenbank aufbauen.!

#!/usr/local/bin/perl -w
use DBI;
use DBI;
$dbh = DBI->connect("DBI:mysql:DB:host",'kennword','password');
$rc = $dbh->disconnect;

ich bekomme diese fehlermeldung:
Can't locate DBI/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at mailer.pl line 16.
BEGIN failed--compilation aborted at mailer.pl line 16.

thx im vorraus
 
Zuletzt bearbeitet von einem Moderator:

acid2k

Doppel-As
Beiträge
124
ich bekomm diese fehlermeldung
Can't locate object method "connect" via package "DBI" (perhaps you forgot to load "DBI"?) at mailer.pl line 2.


use DBI;
$dbh = DBI->connect("DBI:mysql:db:ip",'','');
if($dbh == NULL)
{
print "error\n";
}
else
{
print "verbindung erfolgreich\n";
}
#$rc = $dbh->disconnect;
print "verbindung geschlossen\n\n";
 

acid2k

Doppel-As
Beiträge
124
???????????????????????????????
???????????????????????????????
???????????????????????????????
???????????????????????????????
 

damager

Moderator
Beiträge
3.065
ist das DBI.pm in dem library-Path?
guck mal mit perl -V nach.... unter
@INC: sind die pfade angegeben.... und nter diesen muss auch das DBI.pm zu finden sein sonst gehts nicht.

beispiel bei mir:

@INC:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl
.
damager@mucsrv:~> locate DBI.pm
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Bundle/DBI.pm
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/DBI.pm

unter http://perl.about.com/library/weekly/aa090803b.htm und unter http://www.tol.it/doc/MySQL/chapter7.html gibts auch ein paar infos.
 
Zuletzt bearbeitet:

damager

Moderator
Beiträge
3.065
hasu du auch nicht vergessen im skript den interpreter anzugeben?
#!/usr/bin/perl sollte in der ersten zeile nicht fehlen :D

ggf. dem pfad anpassen
 

acid2k

Doppel-As
Beiträge
124
bis hier hab ichs
@INC:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl
acid2k@linux:/>
dieses locate DBI.pm geht nicht und ich hab auch in den ordner geschaut
acid2k@linux:/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi>
da gibt es kein ordner Bundle und auch keine datei DBI.pm
 

damager

Moderator
Beiträge
3.065
hmm...
wo hat er den dann installiert!?
durchsuche mal dein filesystem nach DBI.pm

find /usr -name DBI.pm -print

das kann aber je nach system und plattengröße schon etwas dauern :D
 

acid2k

Doppel-As
Beiträge
124
ich hab mit find /usr -name DBI.pm -print nix gefunden
und habs mit find / -name DBI.pm -print veruscht
das kam bei mir dabei raus
/home/acid2k/.cpan/Bundle/DBI.pm
/home/acid2k/.cpan/build/DBI-1.41/lib/Bundle/DBI.pm
/home/acid2k/.cpan/build/DBI-1.41/blib/lib/Bundle/DBI.pm
/home/acid2k/.cpan/build/DBI-1.41/blib/lib/DBI.pm
/home/acid2k/.cpan/build/DBI-1.41/DBI.pm
 

damager

Moderator
Beiträge
3.065
dann hat er den nicht wirklich installiert :(

kopiere doch einfach mal das
/home/acid2k/.cpan/build/DBI-1.41/DBI.pm
nach
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/

und das directory
/home/acid2k/.cpan/build/DBI-1.41/lib/Bundle/
auch nach
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/

try and error :]
 

acid2k

Doppel-As
Beiträge
124
kannst du mir sagen wie ich dieses mistding das sich DBD nennt installiere das is glaub ich das was fehler macht
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at (eval 1) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: ExampleP, Proxy, Sponge.
at mailer.pl line 3
:(
 

acid2k

Doppel-As
Beiträge
124
ich bekomm noch die kriese ich habs schon runtergeladen gehabt aber es geht net :
linux:/home/acid2k/Desktop/DBD-mysql-2.1014 # perl Makefile.PL
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 170.
readline() on closed filehandle PIPE at Makefile.PL line 172.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 170.
readline() on closed filehandle PIPE at Makefile.PL line 172.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 170.
readline() on closed filehandle PIPE at Makefile.PL line 172.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 170.
readline() on closed filehandle PIPE at Makefile.PL line 172.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 170.
readline() on closed filehandle PIPE at Makefile.PL line 172.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
linux:/home/acid2k/Desktop/DBD-mysql-2.1014 #
 

acid2k

Doppel-As
Beiträge
124
ich gibs auf ich hab kein peil wie ich dieses problem lösen soll ich hab die DBD runtergeladen
hab perl Makefile.PL eingetippt und irgend welche verzeichnisse werden nicht gefunden das langweilt mich
 

acid2k

Doppel-As
Beiträge
124
cpan> install Bundle::DBD::mysql
CPAN: Storable loaded ok
Going to read /home/zafer/.cpan/Metadata
Database was generated on Fri, 05 Mar 2004 04:50:23 GMT
DBI is up to date.
Running install for module Data::ShowTable
Running make for A/AK/AKSTE/Data-ShowTable-3.3.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /home/zafer/.cpan/sources/authors/id/A/AK/AKSTE/Data-ShowTable-3.3.tar.gz ok
Scanning cache /home/zafer/.cpan/build for sizes
Data-ShowTable-3.3/
Data-ShowTable-3.3/CVS/
Data-ShowTable-3.3/CVS/Entries
Data-ShowTable-3.3/CVS/Repository
Data-ShowTable-3.3/Changes
Data-ShowTable-3.3/Copyright
Data-ShowTable-3.3/Data-ShowTable-2.2.html
Data-ShowTable-3.3/Data-ShowTable-2.3.html
Data-ShowTable-3.3/Data-ShowTable-3.1.html
Data-ShowTable-3.3/Data-ShowTable-3.3.html
Data-ShowTable-3.3/GNU-LICENSE
Data-ShowTable-3.3/MANIFEST
Data-ShowTable-3.3/Makefile.PL
Data-ShowTable-3.3/README
Data-ShowTable-3.3/ShowTable.pm
Data-ShowTable-3.3/gen-html
Data-ShowTable-3.3/gen-tests
Data-ShowTable-3.3/showtable
Data-ShowTable-3.3/showtable-3.1.html
Data-ShowTable-3.3/showtable-3.3.html
Data-ShowTable-3.3/t/
Data-ShowTable-3.3/t/CVS/
Data-ShowTable-3.3/t/CVS/Entries
Data-ShowTable-3.3/t/CVS/Repository
Data-ShowTable-3.3/t/OBJ-TEST.pl
Data-ShowTable-3.3/t/Test-Setup.pl
Data-ShowTable-3.3/t/box-calls.t
Data-ShowTable-3.3/t/box-scaling.t
Data-ShowTable-3.3/t/box-widths.t
Data-ShowTable-3.3/t/box-wrap.t
Data-ShowTable-3.3/t/calls.pl
Data-ShowTable-3.3/t/html-calls.t
Data-ShowTable-3.3/t/html-fmt.t
Data-ShowTable-3.3/t/html-scaling.t
Data-ShowTable-3.3/t/html-widths.t
Data-ShowTable-3.3/t/html-wrap.t
Data-ShowTable-3.3/t/list-calls.t
Data-ShowTable-3.3/t/list-scaling.t
Data-ShowTable-3.3/t/list-widths.t
Data-ShowTable-3.3/t/list-wrap.t
Data-ShowTable-3.3/t/out/
Data-ShowTable-3.3/t/out/CVS/
Data-ShowTable-3.3/t/out/CVS/Entries
Data-ShowTable-3.3/t/out/CVS/Repository
Data-ShowTable-3.3/t/out/box-calls.t-1.ref
Data-ShowTable-3.3/t/out/box-calls.t-2.ref
Data-ShowTable-3.3/t/out/box-calls.t-3.ref
Data-ShowTable-3.3/t/out/box-calls.t-4.ref
Data-ShowTable-3.3/t/out/box-calls.t-5.ref
Data-ShowTable-3.3/t/out/box-calls.t-6.ref
Data-ShowTable-3.3/t/out/box-calls.t-7.ref
Data-ShowTable-3.3/t/out/box-calls.t-8.ref
Data-ShowTable-3.3/t/out/box-scaling.t-1.ref
Data-ShowTable-3.3/t/out/box-scaling.t-2.ref
Data-ShowTable-3.3/t/out/box-scaling.t-3.ref
Data-ShowTable-3.3/t/out/box-scaling.t-4.ref
Data-ShowTable-3.3/t/out/box-scaling.t-5.ref
Data-ShowTable-3.3/t/out/box-scaling.t-6.ref
Data-ShowTable-3.3/t/out/box-scaling.t-7.ref
Data-ShowTable-3.3/t/out/box-scaling.t-8.ref
Data-ShowTable-3.3/t/out/box-widths.t-1.ref
Data-ShowTable-3.3/t/out/box-widths.t-2.ref
Data-ShowTable-3.3/t/out/box-widths.t-3.ref
Data-ShowTable-3.3/t/out/box-widths.t-4.ref
Data-ShowTable-3.3/t/out/box-widths.t-5.ref
Data-ShowTable-3.3/t/out/box-widths.t-6.ref
Data-ShowTable-3.3/t/out/box-widths.t-7.ref
Data-ShowTable-3.3/t/out/box-widths.t-8.ref
Data-ShowTable-3.3/t/out/box-wrap.t-1.ref
Data-ShowTable-3.3/t/out/box-wrap.t-2.ref
Data-ShowTable-3.3/t/out/box-wrap.t-3.ref
Data-ShowTable-3.3/t/out/box-wrap.t-4.ref
Data-ShowTable-3.3/t/out/box-wrap.t-5.ref
Data-ShowTable-3.3/t/out/html-calls.t-1.ref
Data-ShowTable-3.3/t/out/html-calls.t-2.ref
Data-ShowTable-3.3/t/out/html-calls.t-3.ref
Data-ShowTable-3.3/t/out/html-calls.t-4.ref
Data-ShowTable-3.3/t/out/html-calls.t-5.ref
Data-ShowTable-3.3/t/out/html-calls.t-6.ref
Data-ShowTable-3.3/t/out/html-calls.t-7.ref
Data-ShowTable-3.3/t/out/html-calls.t-8.ref
Data-ShowTable-3.3/t/out/html-fmt.t-1.ref
Data-ShowTable-3.3/t/out/html-fmt.t-10.ref
Data-ShowTable-3.3/t/out/html-fmt.t-11.ref
Data-ShowTable-3.3/t/out/html-fmt.t-12.ref
Data-ShowTable-3.3/t/out/html-fmt.t-2.ref
Data-ShowTable-3.3/t/out/html-fmt.t-3.ref
Data-ShowTable-3.3/t/out/html-fmt.t-4.ref
Data-ShowTable-3.3/t/out/html-fmt.t-5.ref
Data-ShowTable-3.3/t/out/html-fmt.t-6.ref
Data-ShowTable-3.3/t/out/html-fmt.t-7.ref
Data-ShowTable-3.3/t/out/html-fmt.t-8.ref
Data-ShowTable-3.3/t/out/html-fmt.t-9.ref
Data-ShowTable-3.3/t/out/html-scaling.t-1.ref
Data-ShowTable-3.3/t/out/html-scaling.t-2.ref
Data-ShowTable-3.3/t/out/html-scaling.t-3.ref
Data-ShowTable-3.3/t/out/html-scaling.t-4.ref
Data-ShowTable-3.3/t/out/html-scaling.t-5.ref
Data-ShowTable-3.3/t/out/html-scaling.t-6.ref
Data-ShowTable-3.3/t/out/html-scaling.t-7.ref
Data-ShowTable-3.3/t/out/html-scaling.t-8.ref
Data-ShowTable-3.3/t/out/html-widths.t-1.ref
Data-ShowTable-3.3/t/out/html-widths.t-2.ref
Data-ShowTable-3.3/t/out/html-widths.t-3.ref
Data-ShowTable-3.3/t/out/html-widths.t-4.ref
Data-ShowTable-3.3/t/out/html-widths.t-5.ref
Data-ShowTable-3.3/t/out/html-widths.t-6.ref
Data-ShowTable-3.3/t/out/html-widths.t-7.ref
Data-ShowTable-3.3/t/out/html-widths.t-8.ref
Data-ShowTable-3.3/t/out/html-wrap.t-1.ref
Data-ShowTable-3.3/t/out/html-wrap.t-2.ref
Data-ShowTable-3.3/t/out/html-wrap.t-3.ref
Data-ShowTable-3.3/t/out/html-wrap.t-4.ref
Data-ShowTable-3.3/t/out/html-wrap.t-5.ref
Data-ShowTable-3.3/t/out/list-calls.t-1.ref
Data-ShowTable-3.3/t/out/list-calls.t-2.ref
Data-ShowTable-3.3/t/out/list-calls.t-3.ref
Data-ShowTable-3.3/t/out/list-calls.t-4.ref
Data-ShowTable-3.3/t/out/list-calls.t-5.ref
Data-ShowTable-3.3/t/out/list-calls.t-6.ref
Data-ShowTable-3.3/t/out/list-calls.t-7.ref
Data-ShowTable-3.3/t/out/list-calls.t-8.ref
Data-ShowTable-3.3/t/out/list-scaling.t-1.ref
Data-ShowTable-3.3/t/out/list-scaling.t-2.ref
Data-ShowTable-3.3/t/out/list-scaling.t-3.ref
Data-ShowTable-3.3/t/out/list-scaling.t-4.ref
Data-ShowTable-3.3/t/out/list-scaling.t-5.ref
Data-ShowTable-3.3/t/out/list-scaling.t-6.ref
Data-ShowTable-3.3/t/out/list-scaling.t-7.ref
Data-ShowTable-3.3/t/out/list-scaling.t-8.ref
Data-ShowTable-3.3/t/out/list-widths.t-1.ref
Data-ShowTable-3.3/t/out/list-widths.t-2.ref
Data-ShowTable-3.3/t/out/list-widths.t-3.ref
Data-ShowTable-3.3/t/out/list-widths.t-4.ref
Data-ShowTable-3.3/t/out/list-widths.t-5.ref
Data-ShowTable-3.3/t/out/list-widths.t-6.ref
Data-ShowTable-3.3/t/out/list-widths.t-7.ref
Data-ShowTable-3.3/t/out/list-widths.t-8.ref
Data-ShowTable-3.3/t/out/list-wrap.t-1.ref
Data-ShowTable-3.3/t/out/list-wrap.t-2.ref
Data-ShowTable-3.3/t/out/list-wrap.t-3.ref
Data-ShowTable-3.3/t/out/list-wrap.t-4.ref
Data-ShowTable-3.3/t/out/list-wrap.t-5.ref
Data-ShowTable-3.3/t/out/simple-calls.t-1.ref
Data-ShowTable-3.3/t/out/simple-calls.t-2.ref
Data-ShowTable-3.3/t/out/simple-calls.t-3.ref
Data-ShowTable-3.3/t/out/simple-calls.t-4.ref
Data-ShowTable-3.3/t/out/simple-calls.t-5.ref
Data-ShowTable-3.3/t/out/simple-calls.t-6.ref
Data-ShowTable-3.3/t/out/simple-calls.t-7.ref
Data-ShowTable-3.3/t/out/simple-calls.t-8.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-1.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-2.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-3.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-4.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-5.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-6.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-7.ref
Data-ShowTable-3.3/t/out/simple-scaling.t-8.ref
Data-ShowTable-3.3/t/out/simple-widths.t-1.ref
Data-ShowTable-3.3/t/out/simple-widths.t-2.ref
Data-ShowTable-3.3/t/out/simple-widths.t-3.ref
Data-ShowTable-3.3/t/out/simple-widths.t-4.ref
Data-ShowTable-3.3/t/out/simple-widths.t-5.ref
Data-ShowTable-3.3/t/out/simple-widths.t-6.ref
Data-ShowTable-3.3/t/out/simple-widths.t-7.ref
Data-ShowTable-3.3/t/out/simple-widths.t-8.ref
Data-ShowTable-3.3/t/out/simple-wrap.t-1.ref
Data-ShowTable-3.3/t/out/simple-wrap.t-2.ref
Data-ShowTable-3.3/t/out/simple-wrap.t-3.ref
Data-ShowTable-3.3/t/out/simple-wrap.t-4.ref
Data-ShowTable-3.3/t/out/simple-wrap.t-5.ref
Data-ShowTable-3.3/t/scaling.pl
Data-ShowTable-3.3/t/showtable.pl
Data-ShowTable-3.3/t/simple-calls.t
Data-ShowTable-3.3/t/simple-scaling.t
Data-ShowTable-3.3/t/simple-widths.t
Data-ShowTable-3.3/t/simple-wrap.t
Data-ShowTable-3.3/t/testfile
Data-ShowTable-3.3/t/widths.pl
Data-ShowTable-3.3/t/wrap.pl
Data-ShowTable-3.3/test.pl.off
Data-ShowTable-3.3/testfile.lst
Data-ShowTable-3.3/testfile.tabs
Data-ShowTable-3.3/update-public
Removing previously used /home/zafer/.cpan/build/Data-ShowTable-3.3

CPAN.pm: Going to build A/AK/AKSTE/Data-ShowTable-3.3.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Data::ShowTable
cp ShowTable.pm blib/lib/Data/ShowTable.pm
cp showtable blib/script/showtable
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/showtable
Manifying blib/man1/showtable.1
Manifying blib/man3/Data::ShowTable.3pm
*** ERROR: unterminated I<...> at line 724 in file ShowTable.pm
*** ERROR: unterminated I<...> at line 724 in file ShowTable.pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/box-calls.........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/box-calls.........ok
t/box-scaling.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/box-scaling.......ok
t/box-widths........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/box-widths........ok
t/box-wrap..........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/box-wrap..........ok
t/html-calls........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/html-calls........ok
t/html-fmt..........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/html-fmt..........ok
t/html-scaling......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/html-scaling......ok
t/html-widths.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/html-widths.......ok
t/html-wrap.........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/html-wrap.........ok
t/list-calls........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/list-calls........ok
t/list-scaling......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/list-scaling......ok
t/list-widths.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/list-widths.......ok
t/list-wrap.........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/list-wrap.........FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/simple-calls......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/simple-calls......ok
t/simple-scaling....Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/simple-scaling....ok
t/simple-widths.....Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/simple-widths.....ok
t/simple-wrap.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.
Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl line 102.
t/simple-wrap.......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
---------------------------------------------------------------------------------------------------------------
t/list-wrap.t 5 5 100.00% 1-5
Failed 1/17 test scripts, 94.12% okay. 5/128 subtests failed, 96.09% okay.
make: *** [test_dynamic] Fehler 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Running install for module Mysql
Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
Checksum for /home/zafer/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9003.tar.gz ok
DBD-mysql-2.9003/
DBD-mysql-2.9003/t/
DBD-mysql-2.9003/t/mysql2.t
DBD-mysql-2.9003/t/akmisc.t
DBD-mysql-2.9003/t/60leaks.t
DBD-mysql-2.9003/t/10dsnlist.t
DBD-mysql-2.9003/t/ak-dbd.t
DBD-mysql-2.9003/t/50chopblanks.t
DBD-mysql-2.9003/t/mysql.t
DBD-mysql-2.9003/t/lib.pl
DBD-mysql-2.9003/t/40blobs.t
DBD-mysql-2.9003/t/40nulls.t
DBD-mysql-2.9003/t/insertid.t
DBD-mysql-2.9003/t/40listfields.t
DBD-mysql-2.9003/t/40bindparam.t
DBD-mysql-2.9003/t/mysql.dbtest
DBD-mysql-2.9003/t/dbdadmin.t
DBD-mysql-2.9003/t/20createdrop.t
DBD-mysql-2.9003/t/00base.t
DBD-mysql-2.9003/t/30insertfetch.t
DBD-mysql-2.9003/t/40numrows.t
DBD-mysql-2.9003/t/50commit.t
DBD-mysql-2.9003/t/mysql.mtest
DBD-mysql-2.9003/MANIFEST
DBD-mysql-2.9003/myld
DBD-mysql-2.9003/dbdimp.c
DBD-mysql-2.9003/lib/
DBD-mysql-2.9003/lib/DBD/
DBD-mysql-2.9003/lib/DBD/mysql/
DBD-mysql-2.9003/lib/DBD/mysql/GetInfo.pm
DBD-mysql-2.9003/lib/DBD/mysql/INSTALL.pod
DBD-mysql-2.9003/lib/DBD/mysql.pm
DBD-mysql-2.9003/lib/Mysql/
DBD-mysql-2.9003/lib/Mysql/Statement.pm
DBD-mysql-2.9003/lib/Bundle/
DBD-mysql-2.9003/lib/Bundle/DBD/
DBD-mysql-2.9003/lib/Bundle/DBD/mysql.pm
DBD-mysql-2.9003/lib/Mysql.pm
DBD-mysql-2.9003/dbdimp.h
DBD-mysql-2.9003/mysql.xs
DBD-mysql-2.9003/MANIFEST.SKIP
DBD-mysql-2.9003/README
DBD-mysql-2.9003/INSTALL.html
DBD-mysql-2.9003/Makefile.PL
DBD-mysql-2.9003/ChangeLog
DBD-mysql-2.9003/constants.h
DBD-mysql-2.9003/TODO
Removing previously used /home/zafer/.cpan/build/DBD-mysql-2.9003

CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.tar.gz

Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
Is already unwrapped into directory /home/zafer/.cpan/build/DBD-mysql-2.9003
Makefile.PL returned status 512
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
Data::ShowTable Mysql DBD::mysql

cpan>
 

Ähnliche Themen

Nagios Plugin "check_clamav"

1& Virtual Server openSUSE 10.3 mit Plesk 9 (64 Bit)

DBD-Pg-2.13.0 lässt sich nicht installieren

dovecot und postfix Konfiguration Problem

httpd / apache startet nicht mehr

Oben