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: 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 Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: