Skip to Content.
Sympa Menu

freetds - Re: [freetds] OSX distribution

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] OSX distribution
  • Date: Sat, 11 Jun 2016 08:47:22 +0100

2016-06-11 7:25 GMT+01:00 Ryan Schmidt <freetds AT ryandesign.com>:
>
> On Jun 10, 2016, at 5:59 AM, Frediano Ziglio wrote:
>
>> 2016-06-06 12:25 GMT+01:00 Ryan Schmidt wrote:
>>>
>>> I'm the maintainer of freetds in the MacPorts package management system,
>>> and unfortunately, I've found that freetds 1.00 does not compile on OS X.
>>> (0.95.x versions did.) The error is:
>>>
>>>
>>> In file included from odbc.c:51:
>>> ../../include/odbcss.h:300:8: error: unknown type name 'BYTE'
>>> const BYTE * colptr;
>>> ^
>>> ../../include/odbcss.h:305:29: error: unknown type name 'BYTE'
>>> bcp_colptr(HDBC hdbc, const BYTE * colptr, int table_column)
>>> ^
>>> ../../include/odbcss.h:343:8: error: unknown type name 'BYTE'
>>> const BYTE * varaddr;
>>> ^
>>> ../../include/odbcss.h:346:8: error: unknown type name 'BYTE'
>>> const BYTE * terminator;
>>> ^
>>> ../../include/odbcss.h:353:27: error: unknown type name 'BYTE'
>>> bcp_bind(HDBC hdbc, const BYTE * varaddr, int prefixlen, int varlen,
>>> ^
>>> ../../include/odbcss.h:354:8: error: unknown type name 'BYTE'
>>> const BYTE * terminator, int termlen, int vartype, int
>>> table_column)
>>> ^
>>
>> Could you try
>> ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.1.tar.bz2 ?
>
> Yes, that works, thanks. I've updated MacPorts freetds to this version.
>
> BTW, the ChangeLog and NEWS files don't appear to have been updated in
> 1.00.1.
>

Yes, it's the way it works, post release updated (which are created
automatically) does
not create/update NEWS or ChangeLog. Note however the ChangeLog is not
distributed
and actually is no more updated since 2012 as now changes are in git log.
Probably the ChangeLog files should be removed from git too, make no sense and
you get them back from history if needed.

Would however make sense to have a new ChangeLog in the distribution
file containing
changes since the release.

>
> On Jun 9, 2016, at 10:31 AM, Igor Korot wrote:
>
>> Which OSX/Xcode version you are trying it on?
>
> OS X El Capitan 10.11.5 and 10.11.6 beta 1, Xcode 7.3.1.
>

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page