|
|
sybperl-l Archive
Up Prev Next
From: David Roboam <drm at cybercable dot tm dot fr>
Subject: Re: Sybperl Irix 6.3 make test not spam
Date: Nov 10 1997 9:49AM
the make test in DBlib gives
tdr4 42% cd DBlib/
tdr4 43% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/lib/perl5/IP32-irix/5.00401 -I/usr/local/lib/perl5 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/dblib.............perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ok
t/money.............perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ok
All tests successful.
Files=2, Tests=32, 3 secs ( 1.00 cusr 0.26 csys = 1.26 cpu)
****************************
the make test in CTlib gives
tdr4 38% cd CTlib/
tdr4 39% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/lib/perl5/IP32-irix/5.00401 -I/usr/local/lib/perl5 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/ctlib.............perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ok
t/cursor............perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ok
All tests successful.
Files=2, Tests=52, 3 secs ( 1.63 cusr 0.45 csys = 2.08 cpu)
***********************
my test program
use Sybase::DBlib
$dbh = new Sybase::DBlib 'sa','','SYBASE','';
$dbh->dbcmd("select * from sysprocesses\n");
$dbh->dbsqlexec;
$dbh->dbresults;
while(@data = $dbh->dbnextrow)
{
printf("%s\n",@data[0]);
}
***************************
but my program test gives
tdr4 56% ./tstsybperl.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "default",
LANG = "us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
"Sybase::DBlib=HASH(0x10189c50)" is not exported by the Sybase::DBlib
module at /usr/local/lib/perl5/Exporter.pm line 111
Exporter::export('Sybase::DBlib', 'main',
'Sybase::DBlib=HASH(0x10189c50)') called at
/usr/local/lib/perl5/Exporter.pm line 171
Exporter::import('Sybase::DBlib',
'Sybase::DBlib=HASH(0x10189c50)') called at ./tstsybperl.pl line 5
main::BEGIN() called at
/usr/local/lib/perl5/site_perl/Sybase/DBlib.pm line 0
eval {...} called at
/usr/local/lib/perl5/site_perl/Sybase/DBlib.pm line 0
Can't continue after import errors at ./tstsybperl.pl line 5
BEGIN failed--compilation aborted at ./tstsybperl.pl line 5.
Why warnings ?
What is this Exporter error ?
David.
|