Skip to Content.
Sympa Menu

freetds - Re: [freetds] Building Sybperl against FreeTDS on Fedora

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Building Sybperl against FreeTDS on Fedora
  • Date: Mon, 27 Jul 2009 22:45:13 -0400

Ed Avis wrote:
>
>
> DBlib.xs: In function âXS_Sybase__DBlib__DateTime_crackâ:
> DBlib.xs:6068: error: âDBDATERECâ has no member named âdateyearâ
> DBlib.xs:6069: error: âDBDATERECâ has no member named âdatemonthâ
> DBlib.xs:6070: error: âDBDATERECâ has no member named âdatedmonthâ
>
> So I suppose that MSDBLIB is defined?

Yes, I suppose so. ;-)

> Does Sybperl need patching to use the different names for structure
> members, or should I do something to unset the MSDBLIB preprocessor
> symbol, or something else?

That option is true when you configure --enable-msdblib. From the
configure script:

> if test "$enable_msdblib" = "yes" ; then
> dblib_define="#define MSDBLIB 1"
> else
> dblib_define="#define SYBDBLIB 1"
> fi

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page