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: jander at lehman dot com (Jim Anderson)
Subject: BCP tests failing for Sybperl 2.04, perl5.002, SunOS 4.1.3
Date: Mar 7 1996 7:58PM

Any help appreciated!



Site configuration information for perl 5.002:

Configured by scopusad at Thu Mar  7 11:40:32 EST 1996.

Summary of my perl5 (5.0 patchlevel 2) configuration:
    osname=sunos, osver=4.1.3, archname=sun4-sunos
    uname='sunos gus033 4.1.3 1 sun4c '
    hint=recommended, useposix=true 
    cc='cc', optimize='-O', gccversion=
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=true
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=31
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ucblib
    libs=-ldbm -ldl -lm -lc -lposix
    libc=/lib/, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-pic', lddlflags='-assert nodefinitions -L/usr/local/lib'
# 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.001m, you will need -DUNDEF_BUG.
# With Perl 5.002, none are normally needed, but you may wish to
# use -DDO_TIE to get the benefit of stricter checking on the
# Sybase::DBlib and Sybase::CTlib attributes.

# 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.
cd ~/src/perl5/sybperl-2.04/
make -k test
make[1]: Entering directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/BCP'
make[1]: Leaving directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/BCP'
make[1]: Entering directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/CTlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/CTlib'
make[1]: Entering directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/DBlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/DBlib'
make[1]: Entering directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/Sybperl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/Sybperl'
make[1]: Entering directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/BCP'
PERL_DL_NONLAZY=1 /home/scopusad/s4/bin/perl -I../blib/arch -I../blib/lib -I/home/scopusad/s4/lib/perl5/sun4-sunos/5.002 -I/home/scopusad/s4/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............Argument "SYBESMSG" isn't numeric in ne at ../blib/lib/ line 56.
Sybase error: Attempt to use Bulk Copy with a non-existent Server table.
bcp_init failed. at t/bcp.t line 58
FAILED tests 5-9
	Failed 5/9 tests, 44.44% okay
	Test returned status 255 (wstat 65280)
Failed 1 test script, 0.00% okay. 5/9 subtests failed, 44.44% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Target `test' not remade because of errors.
make[1]: Leaving directory `/tmp_amd/helpdsyb1/local/0/home/scopusad/src/perl5/sybperl-2.04/BCP'
make: *** [test] Error 1

Compilation exited abnormally with code 1 at Thu Mar  7 14:51:17

Jim Anderson					Phone:  (201)524-4076
Lehman Brothers, Inc.				Fax:	(201)524-5153 
101 Hudson Street, 34th Floor			E-mail:
Jersey City, NJ 07302