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: "Brent B dot Powers Swaps Programmer x2293" <powers at swaps dot ml dot com>
Subject: sybperl make
Date: Mar 26 1996 5:02PM

Attempting to make a dynamic version of sybperl2.0.4 .... odd messages
(essentially a failed make):

First, I tried dynamic:

    t/bcp...............Argument "SYBESMSG" isn't numeric in ne at ../blib/lib/ line 56.
    Sybase error: Attempt to use Bulk Copy with a non-existent Server table.
    bcp_init failed. at t/bcp.t line 58
    FAILED tests 5-9
            Failed 5/9 tests, 44.44% okay
            Test returned status 255 (wstat 65280)
    Failed 1 test script, 0.00% okay. 5/9 subtests failed, 44.44% okay.
    *** Error code 2
    make: Fatal error: Command failed for target `test_dynamic'

Then, a make clean, re-edit the CONFIG file and try again (Note that
the user/password/server worked for the first set of tests)

    To install the new "perl" binary, call
        make -f Makefile.aperl inst_perl MAP_TARGET=perl
    To remove the intermediate files say
        make -f Makefile.aperl map_clean
    PERL_DL_NONLAZY=1 ./../perl -I../blib/arch -I../blib/lib -I/home/powers/perl5/lib/sun4-sunos/5.002 -I/home/powers/perl5/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
    t/cursor............Identifier "Sybase::CTlib::VERSION" used only once: possible typo at ../blib/lib/Sybase/ line 862.
    Identifier "Sybase::CTlib::Version" used only once: possible typo at ../blib/lib/Sybase/ line 862.
    Cursors are not available on this SQL Server.
    All tests successful.
    Files=2,  Tests=52,  3 secs ( 1.48 cusr  0.48 csys =  1.97 cpu)
    PERL_DL_NONLAZY=1 ./../perl -I../blib/arch -I../blib/lib -I/home/powers/perl5/lib/sun4-sunos/5.002 -I/home/powers/perl5/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
    t/dblib.............not ok 1
    -- The supplied login id/password combination may be invalid
    FAILED tests 1-19
            Failed 19/19 tests, 0.00% okay
            Test returned status 22 (wstat 5632)
    t/money.............Identifier "main::SybperlVer" used only once: possible typo at ../blib/lib/Sybase/ line 304.
    not ok 1
    -- The userid/password combination may be invalid - check the PWD file
    FAILED tests 1-13
            Failed 13/13 tests, 0.00% okay
            Test returned status 22 (wstat 5632)
    Failed 2/2 test scripts, 0.00% okay. 32/32 subtests failed, 0.00% okay.

Oh, and, by the way:

    $ uname -a
    SunOS swapsdvlp 4.1.4 1 sun4m
    $ echo $SYBASE
    $ grep Sybase10 CONFIG
    $ echo $LD_LIBRARY_PATH

(Eventually, I'm hoping to build this and Tk static.  I had originally
tried to do this after doing Tk static, but that failed in the same
way... no shock there)

Any help is, as usual, appreciated

Brent B. Powers             Merrill Lynch