|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Sybperl compile error
Date: May 20 2002 9:55PM
On Mon, 2002-05-20 at 14:45, Tang, Jun [IT] wrote:
> Hi,
>
> I am new to Sybper and trying to compile it but got the following error:
>
>
> + exec /xenv/Forte/sun4/6.2/5.6p4/WS6U2/bin/_cc -xildoff -Dsvr4
> -Yl,/xenv/Forte/sun4/6.2/5.6p4/WS6U2/bin
> -Yp,/xenv/OS/sun4/5.6p4/sun4u/ccs/lib -YI,/xenv/OS/sun4/5.6p4/sun4u/include
> -c /xenv/OS/sun4/5.6p4/sun4u/include -I/usr/local/include
> -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION="2.13" -DXS_VERSION="2.13" -KPIC
> -I/opt/perl/5.6.1/lib/5.6.1/sun4-solaris/CORE -DCTLIBVS=100
> -DSYBPLVER="2.13" -DDO_TIE CTlib.c -L/xenv/OS/sun4/5.6p4/sun4u/lib
> -L/xenv/OS/sun4/5.6p4/sun4u/ccs/lib
> "CTlib.xs", line 41: cannot find include file:
Which means that the SYBASE installation wasn't found correctly.
This would seem to indicate that your SYBASE environment variable and/or
SYBASE_OCS wasn't set correctly.
In addition - do you have the 64 bit version of Sybase installed?
If so - you need to do one of two things:
1) Rebuild perl in 64 bit mode, get sybperl 2.14_01 (from
http://www.peppler.org/downloads) and the build this new version (but
read the information in the README and CONFIG files).
2) Load the 32 bit version of OpenClient, and use that to build sybperl.
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org *or* mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com
|