Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Lucas Rockwell <lr at socrates dot Berkeley dot EDU>
Subject: help compiling 2.14 on Mac OS X
Date: May 2 2002 11:35PM

Hi all,

I am trying to get 2.14 to install on OS X and I am getting an error with
CTlib. However, before I give the error, I want to mention that I have
gotten 2.13 to compile, but then I have a problem with "dbgetmacprocs" in
DBlib. I get the following error for that:

dyld: perl Undefined symbols:

When I remove all mention of CTlib from the Makefile for 2.14 it does
compile, but then the make test fails with the same error above. So, even
if I get 2.14 to compile, I think I'll still have this problem.

Anyway, here is the 2.14 make error:

[earth:~/src/sybperl-2.14] lr% make
cp lib/ blib/lib/
cp lib/ blib/lib/
cp blib/lib/
cp lib/ blib/lib/
cp lib/ blib/lib/
cp ../blib/lib/Sybase/
Manifying ../blib/man3/Sybase::BCP.3
cp ../blib/lib/Sybase/
Manifying ../blib/man3/Sybase::BLK.3
cp CTlib.pod ../blib/lib/Sybase/CTlib.pod
cp ../blib/lib/Sybase/
AutoSplitting ../blib/lib/Sybase/ (../blib/lib/auto/Sybase/CTlib)
/usr/local/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl
/System/Library/Perl/ExtUtils/xsubpp -prototypes -typemap
/System/Library/Perl/ExtUtils/typemap CTlib.xs > CTlib.xsc && mv CTlib.xsc
cc -c -I/usr/local/freetds/include -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"2.14\" -DXS_VERSION=\"2.14\"
-I/System/Library/Perl/darwin/CORE -DCTLIBVS=100 -DSYBPLVER='"2.14"'
-DDO_TIE CTlib.c
CTlib.xs: In function `initialize':
CTlib.xs:1963: `CS_COMPLETION_CB' undeclared (first use in this function)
CTlib.xs:1963: (Each undeclared identifier is reported only once
CTlib.xs:1963: for each function it appears in.)
CTlib.xs: In function `XS_Sybase__CTlib_ct_callback':
CTlib.xs:6735: `CS_COMPLETION_CB' undeclared (first use in this function)
make[1]: *** [CTlib.o] Error 1
make: *** [subdirs] Error 2

Any help with this would be very much appreciated.

Oh, and I am trying to use this with FreeTDS 0.53.

Thanks in advance.


Lucas Rockwell