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: 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 !!!  streethockey@ureach.com


VERSIONS WE ARE USING FIRST:

  =========== 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:
  Platform:
  osname=linux, osvers=2.2.5-22smp,
  archname=i386-linux
  uname='linux porky.devel.redhat.com 2.2.5-22smp #1
  smp wed jun 2 09:11:51 edt 1999 i686 unknown '
  hint=recommended, useposix=true,
  d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
  cc='cc', optimize='-O2', gccversion=egcs-2.91.66
  19990314/Linux (egcs-1.1.2 release)
  cppflags='-Dbool=char -DHAS_BOOL
  -I/usr/local/include'
  ccflags ='-Dbool=char -DHAS_BOOL
  -I/usr/local/include'
  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,
  ccdlflags='-rdynamic'
  cccdlflags='-fpic', lddlflags='-shared
  -L/usr/local/lib'


  PERL VERSION:

  Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Aug 30 1999 23:09:51
  @INC:
  /usr/lib/perl5/5.00503/i386-linux
  /usr/lib/perl5/5.00503
  /usr/lib/perl5/site_perl/5.005/i386-linux
  /usr/lib/perl5/site_perl/5.005
  .


  SYBASE OpenClient VERSION:

  sybase-openclient-11.1.1-1.i386.rpm

  ================== 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
`/root/sybperl/sybperl-2.12/Sybperl'
 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
 'use 
 Test::Harness qw(&runtests $verbose); $verbose=0; runtests
 @ARGV;' t/*.t
 t/bcp...............dubious
         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
 49.
 Undefined subroutine &Test::Harness::WCOREDUMP called at
 /usr/lib/perl5/5.00503/Test/Harness.pm 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, streethockey@ureach.com





---- On Mon, 31 Jul 2000, Michael Peppler 
(mpeppler@peppler.org) 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, 
contact
> Sybase to get a newer version of OpenClient.
> 
> Michael
> -- 
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
> Int. Sybase User Group  -||-  http://www.isug.com
> Sybase on Linux mailing list: ase-linux-list@isug.com
> 
> 
> 


________________________________________________
Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag