|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Help on sybperl installation.
Date: Nov 12 1997 3:34PM
Li, Jeffery wrote:
>
> Hi, Mr. Peppler,
>
> I tried to install sybperl-2.08 in my system. The installation failed in
> "make test" step. Following are the
> information as you required in README file. I appreciate any of help.
>
> Perl - 5.002
> Sybperl - 2.08
> Workstation - Sun Sparc sun4m.
> O/S - Solaris 2.5
> Sybase Open Client - 11.1
>
> "make test" failed when entering sybperl directory, attached are error
> dump.
> ------------------ begin dump-------------------
> make[1]: Entering directory `/usr/local/sybperl-2.08/Sybperl'
> PERL_DL_NONLAZY=1 /opt/gnu/bin/perl -I../blib/arch -I../blib/lib
> -I/opt/gnu/lib/perl5/sun4-solaris/5.002 -I/opt/gnu/lib/perl5 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/dbmoney...........Undefined subroutine &Sybase::Sybperl::dbmnyzero
> called at t/dbmoney.t line 47.
> FAILED tests 3-32
> Failed 30/32 tests, 6.25% okay
> Test returned status 255 (wstat 65280)
> t/sybperl...........ok
> Failed 1 test script, 50.00% okay. 30/60 subtests failed, 50.00% okay.
> make[1]: *** [test_dynamic] Error 29
> make[1]: Leaving directory `/usr/local/sybperl-2.08/Sybperl'
> make: *** [test] Error 2
> -------------------end ------------------------------
There is a change of behaviour in the AutoLoader between 5.002 and
5.004 which causes this bug.
You can upgrade your perl installation to 5.004_04 (which is a *good
idea* anyway), or edit Sybperl.pm and move the __END__ tag to the
very end of the file and rebuild sybperl.
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|