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: David Thompson <dtho44 at CBOT dot COM>
Subject: RE: make test fails
Date: May 27 1999 2:50PM

You're absolutely right!  I went back to the main README file and,
doggone it, there it was.  That what's happens when you 'make install'
one day and 'make test' the other.  My mistake (probably) was not
doing it all at once, because I *was* reading the README during
the 'make install' but never thought to refer to it again the next AM
when I did the 'make test'.  Silly me.  --Thanks

>>> Rob Fenstermacher  05/27 7:49 AM >>>
   You need to edit the PWD file to reflect the server, user and password 
that you want to test with.  Make test doesn't use the $DSQUERY environment 
variable, etc.


From:  David Thompson[SMTP:dtho44@CBOT.COM] 
Reply To: 
Sent:  Wednesday, May 26, 1999 4:32 PM
To:  SybPerl Discussion List
Subject:  make test fails

Hi Gurus!

I'm new to perl and *very* new to sybperl, and *very* new to sybase 
(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

Sybase error: Server name not found in interface file.
Can't call method "sql" on an undefined value at t/bcp.t line 49.

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.  What does this error message really mean?
If anyone has a quickie answer, please help me.  If its complicated, and
you're going to tell me to seek out the local sybase dba folks (arrggghh!),
ok, then I'll venture forth, risk life and political limb and ask someone 

What could be the problem? ...besides my limited knowledge, that is :-(,
which I'm working hard to correct.

Also, say one knows SQL fairly well, and even knows some Oracle and 
and a bit of Unify, where is the best place to go to learn about Sybase? 
anyone recommend and 3rd party books/websites, etc.  Do I *need* the
manuals... ?

Thanks for the help!

David Thompson