|
|
sybperl-l Archive
Up Prev Next
From: Hayden Myers <hayden at spinbox dot com>
Subject: sybperl installation
Date: Dec 19 2000 10:03PM
I am having trouble installing sybperl 2.12 on a base redhat 6.2 linux
system. I have installed the stable 5.6 perl from www.perl.com. I
compiled without -ldb and -lndbm. I have also made sure to set LD_LIBRARY
path to /opt/sybase/lib (sybase library path) I have also made sym links
to all of the libraries in /opt/sybase/lib to /usr/lib/. I was able to
compile sybperl successfully. The problems come when I try to run make
test. I am using sybase 11.0.3.3-6. I installed from sybase's rpm's.
The SYBASE env variable is set to /opt/sybase as well, which is the sybase
home dir. My output from make test is below.
make[1]: Entering directory `/usr/data/sybperl-2.12/CTlib'
make[1]: Leaving directory `/usr/data/sybperl-2.12/CTlib'
make[1]: Entering directory `/usr/data/sybperl-2.12/DBlib'
ake[1]: Leaving directory `/usr/data/sybperl-2.12/DBlib'
make[1]: Entering directory `/usr/data/sybperl-2.12/Sybperl'
make[1]: Leaving directory `/usr/data/sybperl-2.12/Sybperl'
make[1]: Entering directory `/usr/data/sybperl-2.12/BCP'
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/bcp...............Sybase error: Server name not found in interface file.
Can't call method "sql" on an undefined value at t/bcp.t line 49.
t/bcp...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
It appears to not read the interfaces file which is located in
/opt/sybase/interfaces and posted below.
## SYBASE on workstation4.skyline.net
## Services:
## query tcp (7100)
## master tcp (7100)
SYBASE
query tcp ether workstation4.skyline.net 7100
master tcp ether workstation4.skyline.net 7100
## SYB_BACKUP on workstation4.skyline.net
## Services:
## query tcp (7110)
## master tcp (7110)
SYB_BACKUP
query tcp ether workstation4.skyline.net 7110
master tcp ether workstation4.skyline.net 7110
here is the PWD file that I assume reads in the id, password, and server
UID=sybase
PWD=dbase123
SRV=workstation4.skyline.net
I am able to run isql from the top sybperl dir, which proves that the
sybase dir is in the path as well. Any help is appreciated. I am still
digging on the net for an answer.
Hayden Myers
Skyline Network Technologies
hayden@spinbox.com
(888)917-1600x120
|