Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: make (warnings) and make test fails on MacOSX
Date: Jun 24 2005 5:14AM
On Fri, 2005-06-24 at 06:48, Jay Listo wrote:
> Hi All,
> I'm trying to get DBD::Sybase 1.05 to work on MacOSX 10.3. I managed to
> make and install DBI-1.48 with no problems.
> PS: Below is the output from "make test"...
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/autocommit....NOK 3# Failed test (t/autocommit.t at line
> Can't call method "do" on an undefined value at t/autocommit.t line 31.
> # Looks like you planned 5 tests but only ran 3.
> # Looks like your test died just after 3.
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 3-5
> Failed 3/5 tests, 40.00% okay
> t/exec..........ok 2/17DBI
> connect('server=SYBASE;database=tempdb','sa',...) failed: OpenClient
> message: LAYER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER = (3)
> Server SYBASE, database
> Message String: ct_connect(): directory service layer: internal
> directory control layer error: Requested server name not found.
OK - now this error is pretty straightforward: Sybase OpenClient can't
find the server name you specified (SYBASE) in the interfaces file.
The interfaces file lists the host/port combinations for the Sybase
servers that you can access, and is normally located in the $SYBASE
Either add an entry for "SYBASE", or change the PWD file in the
DBD::Sybase build directory to reflect the name of the server you want
to use for testing.
Michael Peppler - email@example.com - http://www.peppler.org/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html