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: "Chito Domingo[DSLWN]" <chitod at datacom dot co dot nz>
Subject: SybPerl Make Test Error
Date: Oct 1 2001 10:57PM

I'm trying to install Sybperl to our site and I got this error  message
when I tried to do the 'make test':

PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch -I../blib/lib
-I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/bcp...............Sybase error: Unknown network type found in interface
file.
Can't call method "sql" on an undefined value at t/bcp.t line 49.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
----------------------------------------------------------------------------
---
t/bcp.t         255 65280     9    8  88.89%  2-9
Failed 1/1 test scripts, 0.00% okay. 8/9 subtests failed, 11.11% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /home/users/cxd01/sybperl-2.13/BCP
*** Error code 1
make: Fatal error: Command failed for target `test'

Following are my perl info:

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos 5.6 generic_105181-06 sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under solaris
  Compiled at Apr  3 1999 00:26:08
  @INC:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005



*** Some items that might help to identify the error *****

1. LD_LIBRARY_PATH = /sybase/cusmod_dev/sybase/lib::/opt/hpnp/lib

2.  My SYBASE environment var is set up correctly and I can issue 'isql' in
it without any problem.  I'm sure that the interfaces file is accessible and
all OK, otherwise I can't use the isql.

3.  Do I really need to rebuild my perl because it includes '-ldb'.  

4.  We  dont have libtcl.{so,a} library in /usr/local/lib.  


Please HELP,  I really need to have SybPerl to use a lot of SybPerl
fantastic tools available.

Cheers

Chito Sto. Domingo			SP&A Services
DATACOM SYSTEMS LTD.			84 Abel Smith Street
Tel: +64-4-385-5212			Wellington
Fax: +64-4-460-1511			New Zealand
Mob: +64-25-229-6283			Email: chitod@datacom.co.nz