|
|
sybperl-l Archive
Up Prev Next
From: bpm at terraweb dot com (Brian P Millett)
Subject: Problem Installing... test 13 fails in DBlib, Please help
Date: Mar 7 1996 11:13PM
rsmith@proteus.arc.nasa.gov writes:
|
|Hi All
|
|We have been thrashing with this problem for several days now and
|have definately concluded that we don't know if it is a perl,
|sybperl, or sybase problem.
|
|The tests for CTlib all run OK to completion, but the tests for DBlib
|yield the following results:
|
|PERL_DL_NONLAZY=1 /bin/perl -I../blib/arch -I../blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
|t/dblib.............Bizarre copy of CODE in entersub at t/dblib.t line 93.
|1..16
|Sybperl Version This is sybperl, version 2.0
|
|Sybase::DBlib version 1.22 9/28/95
|
|Copyright (c) 1991-1995 Michael Peppler
|
|
|ok 1
|ok 2
|ok 3
|ok 4
|ok 5
|ok 6
|ok 7
|ok 8
|ok 9
|ok 10
|ok 11
|ok 12
|ok 12
|Aborting test: output counter mismatch [test 12 answered when test 13 expected]
|FAILED tests 13-16
| Failed 4/16 tests, 75.00% okay
| Test returned status 255 (wstat 65280)
|Failed 1 test script, 0.00% okay. 3/16 subtests failed, 81.25% okay.
|*** Error code 29
|make: Fatal error: Command failed for target `test_dynamic'
|Current working directory /opt/local/src/perl/sybperl/sybperl-2.0/DBlib
|*** Error code 1
|make: Fatal error: Command failed for target `test'
|
I had the same problem when I tried to install sybperl 2.01 on my
sparc 20, perl 5.002, solaris 2.4. Could not figure it out, so I
tried to install sybperl 2.04. Had a problem with the CTlib test.
Found a problem with the Makefile.PL for CTlib. Did a diff between
2.01 & 2.04 and found:
*** sybperl-2.01/CTlib/Makefile.PL
--- sybperl-2.04/CTlib/Makefile.PL
*** 21,27 ****
# Extra flags to pass to CPP
$inc_string = "-I$SYBASE/include";
$def_string = "-DCTLIBVS=$CTLIBVS -DSYBPLVER='\"\${VERSION}\"' $$sattr{EXTRA_DEFS}";
! $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -ltli -linsck $$sattr{EXTRA_LIBS} -ldl -lm";
#####
### Configure End
--- 21,27 ----
# Extra flags to pass to CPP
$inc_string = "-I$SYBASE/include";
$def_string = "-DCTLIBVS=$CTLIBVS -DSYBPLVER='\"\${VERSION}\"' $$sattr{EXTRA_DEFS}";
! $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -linsck $$sattr{EXTRA_LIBS} -lm";
So I added -ltli to sybperl-2.04/CTlib/Makefile.PL and SUCCESS!!!
So I've got an installed sybperl-2.04. I don't know why the make of
the 2.01 failed.
Good Luck
---
Brian Millett
Technology Applications Inc. "Heaven can not exist,
(314) 530-1981 If the family is not eternal"
bpm@techapp.com F. Ballard Washburn
|