|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: RE: Sybperl compile error
Date: May 21 2002 1:53PM
On Tue, 2002-05-21 at 06:23, Tang, Jun [IT] wrote:
> Michael,
>
> The sybase is install in /opt/sybase directory. I set SYBASE=/opt/sybase but
> not SYBASE_OCS. Is SYBASE_OCS for Sybase 12? I am using 11.
Yes, SYBASE_OCS is for Sybase 12.x.
Is your SYBASE env. variable set to /opt/sybase when you run perl
Makefile.PL?
Do you get any errors/warnings when you run perl Makefile.PL?
Michael
> -----Original Message-----
> From: Michael Peppler [mailto:mpeppler@peppler.org]
> Sent: Monday, May 20, 2002 7:06 PM
> To: SybPerl Discussion List
> Subject: RE: Sybperl compile error
>
>
> On Mon, 2002-05-20 at 15:22, Tang, Jun [IT] wrote:
> > Michael,
> >
> > 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.
>
> Where is Sybase installed?
>
> Is your SYBASE and SYBASE_OCS env. variables set correctly?
>
> Michael
>
> > -----Original Message-----
> > From: Michael Peppler [mailto:mpeppler@peppler.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:
> > > 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
> >
> >
> --
> 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
>
--
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
|