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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Error with make test in Sybperl 2.8
Date: Oct 27 1997 5:06PM

Miles Purdy wrote:
> 
> Hi there,
> I'm running AIX 4.2 on a RS6000.  I'm having trouble installing sybperl 2.8.  When I run make test this is what I get:
> >>
> Sybase error: Could not open interface file.
> OS Error: No such file or directory
> Can't call method "sql" without a package or object reference at t/bcp.t line 47.
> Failed 1/1 test scripts, 0.00% okay. 8/9 subtests failed, 11.11% okay.
> make: 1254-004 The error code from the last command is 2.
> 
> Stop.
> make: 1254-004 The error code from the last command is 2.
> 
> Stop.
> 
> <<
> and ...
> >>
>        PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib -I/usr/lib/perl5/aix/5.0040
> 1 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/bcp...............dubious
>         Test returned status 255 (wstat 65280)
> 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
> ~
> 
> <<
> 
> where it is looking for the interfaces file?
> -my $SYBASE=/home/sybase/oc11.1.0
> 
> -the real interfaces file is in: /home/sybase/sql11.0.3, and I copied it to /home/sybase/oc11.1.0
> 
> -the include and lib directories are in: /home/sybase/oc11.1.0/{lib,include}
> 
> My CONFIG file is:
> >>
> DBLIBVS=461
> 
> CTLIBVS=100
> 
> SYBASE=/home/sybase/oc11.1.0
> 
> EXTRA_LIBS=-ltli
> 
> LINKTYPE=
> <<
> I have tried changing DBLIBVS to 1000 anbd 461, neither work properly.
> 
> can someone help!
> 
> Thanks Miles

OpenClient looks for the interfaces file in the directory
pointed to by the $SYBASE environment variable, or in the home
directory of the user named 'sybase'. Normally you should be able
to copy the interfaces file to /home/sybase/oc11.1.0 and have things
work with $SYBASE set to the same directory.

Note that Client Library 11.x needs the charsets/ config/ includes/
lib/ and locales/ directories (in the directory pointed to
by $SYBASE) to run.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler