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: Dan Chetlin <danchetlin at yahoo dot com>
Subject: 'make test' fails with "Server name not found..."
Date: Oct 22 1999 9:13PM

I apologize if this is a dumb question or off-topic.  I've searched numerous
FAQs and list archives for the answer, to no avail.  The search mechanism for
this list's archives seems to be out of order, but skimming the recent topics
makes me think that I'm not posting a redundant question.

I've downloaded and 'rpm'-d ASE, and set up the interfaces file (a
dump of which is included at the bottom of this message).  I'm running RedHat
6.0 with perl 5.005_03.  I got Sybperl 2.11 from CPAN and (with $SYBASE set
to where the ASE libs are) set it up basically with its default
configurations.  Running 'make' works fine, but 'make test' returns this:


PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*t
t/bcp....................Sybase error: Server name not found in interface
Can't call method "sql" on an undefined value at t/bcp.t line 49.
         Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/ line 288
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/home/dchetlin/sybperl-2.11/BCP'
make: ** [test] Error 2


And here is a copy of my interfaces file:


          query tcp ether ise 1433
          master tcp ether ise 1433

          query tcp ether stella 1433
          master tcp ether stella 1433


Both of the servers listed above are running MSSQL, one 6.5 and one 7.0. 
Both of the hostnames (ise and stella) resolve with no problem into a host --
i.e. 'telnet ise 1433' works fine.  The servers are up and running and
accesible from Windows. I misunderstanding how to put my interfaces file together?  I
followed the prompts from the sybinit script that came with ASE.  Am I
misunderstanding how to install Sybperl?  Should I be doing something
different to run 'make test'?  Or is it none of these and I'm completely on
the wrong track?

Any advice/pointers/answers would be greatly appreciated.  Thanks so much for
your help.

Dan Chetlin


Do You Yahoo!?
Bid and sell for free at