PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: michael dot peppler at bnpparibas dot com
Subject: Re: Need some help -- trying ot install Sybperl
Date: May 25 2007 11:59AM

It *should* work out of the box, but there might be something incorrect in 
your environment.

Anyway, here's how to find out what fails:

cd /root/.cpan/build/sybperl-2.18-L2yiZx/
perl -Mblib t/1_db_dblib.t

and see what you get in terms of output.

Michael





Internet
rob@sypron.nl@peppler.org - 25.05.2007 13:48
 
Please respond to rob@sypron.nl
Sent by:        owner-sybperl-l@peppler.org
To:     sybperl-l
cc: 
Subject:        Need some help -- trying ot install Sybperl

I'm trying to install Sybperl/DBD::Sybase on a new (Linux) box, and I'm
not sure if things are going right. I've done this before, but that's a
long time ago and I don't recall how I did it last time.

Basically, below I'm running "install Sybase::CTlib" in CPAN . Things look
OK until  'make test' is run: all tests fail.
My question: how can I find out more about what's exactly failing here?
This box has Perl 5.8.0 installed.

TIA,

Rob V.
rob@sypron.nl




cpan[1]> install Sybase::CTlib

....
....

cp Sybperl.pm ../blib/lib/Sybase/Sybperl.pm
AutoSplitting ../blib/lib/Sybase/Sybperl.pm
(../blib/lib/auto/Sybase/Sybperl)
Manifying ../blib/man3/Sybase::Sybperl.3pm
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18-L2yiZx/Sybperl'
Manifying blib/man3/sybperl.3
MEWP/sybperl-2.18.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make test
make[1]: Entering directory `/root/.cpan/build/sybperl-2.18-L2yiZx/BCP'
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18-L2yiZx/BCP'
make[1]: Entering directory `/root/.cpan/build/sybperl-2.18-L2yiZx/BLK'
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18-L2yiZx/BLK'
make[1]: Entering directory `/root/.cpan/build/sybperl-2.18-L2yiZx/CTlib'
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18-L2yiZx/CTlib'
make[1]: Entering directory `/root/.cpan/build/sybperl-2.18-L2yiZx/DBlib'
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18-L2yiZx/DBlib'
make[1]: Entering directory
`/root/.cpan/build/sybperl-2.18-L2yiZx/Sybperl'
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18-L2yiZx/Sybperl'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_db_dblib...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/1_db_money...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/2_ct_ctlib...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/2_ct_cursor..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/2_ct_nsql............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/2_ct_prepare.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/2_ct_xblk............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-21
Failed 21/21 tests, 0.00% okay
t/3_bcp................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/4_blk................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/5_sybperl............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-28
Failed 28/28 tests, 0.00% okay
t/5_sybperl_dbmoney....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-32
Failed 32/32 tests, 0.00% okay
Failed Test           Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/1_db_dblib.t         255 65280    ??   ??  ??
t/1_db_money.t         255 65280    ??   ??  ??
t/2_ct_ctlib.t         255 65280    30   59  1-30
t/2_ct_cursor.t        255 65280    22   43  1-22
t/2_ct_nsql.t          255 65280     4    7  1-4
t/2_ct_prepare.t       255 65280    15   29  1-15
t/2_ct_xblk.t          255 65280    21   41  1-21
t/3_bcp.t              255 65280     9   17  1-9
t/4_blk.t              255 65280    19   38  1-19
t/5_sybperl.t          255 65280    28   56  1-28
t/5_sybperl_dbmoney.t  255 65280    32   64  1-32
Failed 11/11 test scripts. 180/180 subtests failed.
Files=11, Tests=180,  5 wallclock secs ( 0.42 cusr +  0.04 csys =  0.46
CPU)
MEWP/sybperl-2.18.tar.gz
/usr/bin/make test -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MEWP/sybperl-2.18.tar.gz                     : make_test NO

(end) 


This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.