Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Heid_james at lanl dot gov (Jim Heid)
Subject: make test fails tests 13-16... any ideas?
Date: Mar 18 1996 4:39PM


I built sybperl just fine (I thought), but when I made test I got a
"bizarre" message. I've include environment info below, as well as the
complete output from 'make test' and the text of CONFIG. Does anyone have
any ideas of what's going on?

Jim Heid
Los Alamos National Laboratory

Sybperl version:	2.0
Perl Version:	        5.002
OS:		        Solaris 2.3
Hardware:	        SPARCcenter 2000E

datagate# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch -I../blib/lib -I/usr/local/
lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&ru
ntests $verbose); $verbose=0; runtests @ARGV;' t/*.t
All tests successful.
Files=1,  Tests=29,  2 secs ( 1.75 cusr  0.44 csys =  2.19 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch -I../blib/lib -I/usr/local/
lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&ru
ntests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dblib.............Bizarre copy of CODE in entersub at t/dblib.t line 93.
Aborting test: output counter mismatch [test 12 answered when test 13 expected]
FAILED tests 13-16
        Failed 4/16 tests, 75.00% okay
        Test returned status 255 (wstat 65280)
Failed 1 test script, 0.00% okay. 3/16 subtests failed, 81.25% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /usr/local/sybperl2.0-dist/sybperl-2.0/DBlib
*** Error code 1
make: Fatal error: Command failed for target `test'

datagate# more CONFIG
# Configuration file for Sybperl
# DBlibrary version. Set to 1000 (or higher) if you have System 10
# Set to 0 if you do not want to build DBlib or if DBlib is not available
# (Linux, for example)
# CTlib version. Set to 0 if Client Library is not available on your
# system, or if you don't want to build the CTlib module. The Client
# Library started shipping with System 10.
# Note that the CTlib module is still under construction, though the
# core API should be stable now.
# Set to 100 if you have System 10.
# Where is the Sybase directory on your system (include files &
# libraries are expected to be found at SYBASE/include & SYBASE/lib
# Additional libraries.
# Some systems require -lnsl or -lBSD.
# See the Sybase OpenClient Supplement for your OS/Hardware
# combination.
# Additional #defines.
# With Perl 5.001 there is a bug when returning an array that is
# entirely populated with 'undef' values (as would be the case when
# fetching a row where all the values are NULL. By defining UNDEF_BUG
# you enable a (crude) work around.
# If you wish to link Sybase::DBlib and/or Sybase::CTlib statically
# into perl uncomment the line below and run the make normally. Then,
# when you run 'make test' a new perl binary will be built.
# The sybperl version info is now extracted from the patchlevel.h
# file in this directory.
# Sybperl version - shouldn't need to change this.