Up Prev Next
From: "Tang, Jun [IT]" <jun dot tang at citigroup dot com>
Subject: RE: Sybperl compile error
Date: May 20 2002 10:22PM
I did it in both the CONFIG file and on the command line but I still can not
compile it. I am not using the Solaris 2.6 64bit feature and that should not
be a problem.
Thanks for the response,
From: Michael Peppler [mailto:firstname.lastname@example.org]
Sent: Monday, May 20, 2002 5:56 PM
To: SybPerl Discussion List
Subject: Re: Sybperl compile error
On Mon, 2002-05-20 at 14:45, Tang, Jun [IT] wrote:
> 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
> -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
> "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 Peppler Data Migrations, Inc.
email@example.com *or* firstname.lastname@example.org
International Sybase User Group: http://www.isug.com