|
|
sybperl-l Archive
Up Prev Next
From: kim at ipac dot caltech dot edu
Subject: sybperl_question
Date: Nov 17 1995 7:36PM
Hello,
Can I ask something about sybperl installation?
We use perl5, sybperl I want to install is version2.0, hardware=sparc2,
os version=Solaris2.3, sybase version=10.0.2.
When I tried to install you sybper2.0, everything works fine
until it goes to the DBlib.c file.
The error message I've got is (after type "make"):
------------------------------------------------------------
DBlib.c: In function `XS_Sybase__DBlib_bcp_colfmt':
DBlib.c:4142: `DBTYPEINFO' undeclared (first use this function)
DBlib.c:4142: (Each undeclared identifier is reported only once
DBlib.c:4142: for each function it appears in.)
DBlib.c:4142: parse error before `typeinfo'
DBlib.c:4150: `typeinfo' undeclared (first use this function)
DBlib.c: In function `XS_Sybase__DBlib_dbrpcparam':
DBlib.c:5303: `SYBNUMERIC' undeclared (first use this function)
DBlib.c:5304: `SYBDECIMAL' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `DBlib.o'
Current working directory /img1/wwwned/packages/sybperl/sybperl-2.0/DBlib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
---------------------------------------------------------------------
The following are the line numbers in DBlib.c:
Line 4141: #if DBLIBVS >= 1000
4142: DBTYPEINFO typeinfo;
4143: #endif
Line 4150: typeinfo.precision = precision;
Line 5302: #if DBLIBVS >= 1000
5303: case SYBNUMERIC: /* dunno if this is the right place */
5304: case SYBDECIMAL:
The one thing I didn't changed in CONFIG file is the
"EXTRA_LIBS=" line. I just used as it is -->
----------------------------------------------------------
# Additional libraries.
# Some systems require -lnsl or -lBSD.
# See the Sybase OpenClient Supplement for your OS/Hardware
# combination.
#EXTRA_LIBS=
----------------------------------------------------------
Is that caused the problem or I need something else?
Thank you,
DongChan
|