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 peppler dot org>
Subject: make test fails
Date: May 27 1999 2:12PM

David Thompson writes:
 > Hi Gurus!
 > 
 > I'm new to perl and *very* new to sybperl, and *very* new to sybase administration.
 > (whoa, I not be thy sybase dba, however, just the perl/sybperl apprentice)
 > 
 > I've installed perl 5.005_03 and sybperl 2.10_02.  When I ran 'make test' for perl,
 > everything works fine, but when I ran 'make test' for sybperl, it fails.  The message
 > says,
 > 
 > [blahblahblah]
 > Sybase error: Server name not found in interface file.
 > Can't call method "sql" on an undefined value at t/bcp.t line 49.
 > [blahblahblah]
 > 
 > Ok, here goes my stupid question(s),  the file $SYBASE/interfaces
 > file clearly shows the name specified in the $DSQUERY environment
 > variable, and I can correctly startup and run an isql with my $DSQUERY
 > and $DBUSER settings.

Quick answer: edit the PWD file, and set the user, server and password 
entries correctly there, and make test again...

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