Re: Building Sybperl against FreeTDS on Fedora

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.