PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
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:
_dbgetmaxprocs

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/sybperl.pl blib/lib/sybperl.pl
cp lib/sybutil.pl blib/lib/sybutil.pl
cp config.pl blib/lib/config.pl
cp lib/ctutil.pl blib/lib/ctutil.pl
cp lib/sql.pl blib/lib/sql.pl
cp BCP.pm ../blib/lib/Sybase/BCP.pm
Manifying ../blib/man3/Sybase::BCP.3
cp BLK.pm ../blib/lib/Sybase/BLK.pm
Manifying ../blib/man3/Sybase::BLK.3
cp CTlib.pod ../blib/lib/Sybase/CTlib.pod
cp CTlib.pm ../blib/lib/Sybase/CTlib.pm
AutoSplitting ../blib/lib/Sybase/CTlib.pm (../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
CTlib.c
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

-----------------------------------
Lucas Rockwell
510.642.6465
lr@socrates.berkeley.edu
-----------------------------------