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: Eric Webber <streethockey at ureach dot com>
Subject: Re: Re: [sybperl-l] make test fails for dblib
Date: Jul 31 2000 5:59PM

Dear Mike, I too am having difficulties with "make test"
but under linux.  Please see my versions and error messages 
below, and if you can specifically respond to my issue, I would 
be MOST grateful, thanks !!!


  =========== BEGIN VERSION INFO

  This is sybperl, version 2.12

  Sybase::DBlib $Revision: 1.50 $ $Date: 2000/05/13
  22:52:58 $ 

  Copyright (c) 1991-1999 Michael Peppler

  This is sybperl, version 2.12

  Sybase::CTlib $Revision: 1.41 $ $Date: 2000/05/13
  22:51:14 $

  Copyright (c) 1995-1999 Michael Peppler
  Portions Copyright (c) 1995 Sybase, Inc.

  Summary of my perl5 (5.0 patchlevel 5 subversion
  3) configuration:
  osname=linux, osvers=2.2.5-22smp,
  uname='linux 2.2.5-22smp #1
  smp wed jun 2 09:11:51 edt 1999 i686 unknown '
  hint=recommended, useposix=true,
  usethreads=undef useperlio=undef d_sfio=undef
  cc='cc', optimize='-O2', gccversion=egcs-2.91.66
  19990314/Linux (egcs-1.1.2 release)
  cppflags='-Dbool=char -DHAS_BOOL
  ccflags ='-Dbool=char -DHAS_BOOL
  stdchar='char', d_stdstdio=undef, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8,
  d_longdbl=define, longdblsize=12
  alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
  ld='cc', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib
  libs=-lnsl -ldl -lm -lc -lposix -lcrypt
  libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
  cccdlflags='-fpic', lddlflags='-shared


  Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Aug 30 1999 23:09:51



  ================== END of version info

Hello, I am setting up Sybperl on RED HAT Linux
 to access a sybase server on another box via Sybase's
 Linux OpenClient.

 The Sybperl install comes REALLY CLOSE to working,
 i.e. the first 6 steps of the install are fine, 
 and MOST of the tests that "make test" performs, 
 seem to be fine, but it bombs out, as shown below.

 I should point out that on the Linux box, I have
 the latest version of Sybase OpenClient installed
 and isql works PERFECT to connect this Linux box
 to the sybase database server which resides on 
 another box ALTOGETHER.  Again the isql on the Linux 
 box connects FINE to the sybase server running on the
 other box.  Shouldnt Syberl be able to access that
 server as well via the Linux Sybase OpenClient since
 isql can ?

 When we run "make test", step 7 of the Sybperl 
 install we get the following:

 make test

 make[1]: Entering directory `/root/sybperl/sybperl-2.12/BCP'
 make[1]: Leaving directory `/root/sybperl/sybperl-2.12/BCP'
 make[1]: Entering directory `/root/sybperl/sybperl-2.12/CTlib'
 make[1]: Leaving directory `/root/sybperl/sybperl-2.12/CTlib'
 make[1]: Entering directory `/root/sybperl/sybperl-2.12/DBlib'
 make[1]: Leaving directory `/root/sybperl/sybperl-2.12/DBlib'
 make[1]: Entering directory
 make[1]: Leaving directory `/root/sybperl/sybperl-2.12/Sybperl'
 make[1]: Entering directory `/root/sybperl/sybperl-2.12/BCP'
 PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib 
 -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e
 Test::Harness qw(&runtests $verbose); $verbose=0; runtests
 @ARGV;' t/*.t
         Test returned status 255 (wstat 65280, 0xff00)
 make[1]: Leaving directory `/root/sybperl/sybperl-2.12/BCP'

 Sybase error: Unknown network type found in interface file.
 OS Error: Unknown error 4294967295
 Can't call method "sql" on an undefined value at t/bcp.t line
 Undefined subroutine &Test::Harness::WCOREDUMP called at
 /usr/lib/perl5/5.00503/Test/ line 288.
 make[1]: *** [test_dynamic] Error 255
 make: *** [test] Error 2

 ====================  END of "make test" output

 AGAIN, isql via sybase OpenClient on the Linux box, 
 connects JUST fine to the Sybase database server running
 on the solaris box.  Why does the Sybperl "make test"
 fail then ?

 Thanks in advance,

---- On Mon, 31 Jul 2000, Michael Peppler 
( wrote:

> Jie Gao writes:
>  > Hi All,
>  > ...
>  > t/dblib.............FAILED tests 20-22
>  >         Failed 3/22 tests, 86.36% okay
> This is a known problem with some versions of the 11.1.1 
openclient on 
> solaris. The problem is that dbpoll() misbehaves. 
> So if you don't use dbpoll() you're fine. Alternatively, 
> Sybase to get a newer version of OpenClient.
> Michael
> -- 
> Michael Peppler         -||-  Data Migrations Inc.
>    -||-
> Int. Sybase User Group  -||-
> Sybase on Linux mailing list:

Get your own "800" number - Free
Free voicemail, fax, email, and a lot more