Skip to Content.
Sympa Menu

freetds - Re: [freetds] Memory leak with 0.92.556 in SQLDescribeCol()

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Memory leak with 0.92.556 in SQLDescribeCol()
  • Date: Fri, 05 Dec 2014 09:58:39 +0100

Hello,

$ uname -a
Linux orion 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux

$ cat /etc/debian_version
jessie/sid

$ tar xvzf freetds-freetds-d78804636aef4562966e89a8d57aec7bea98cc3b.tar.gz
freetds-freetds/..
...

$ autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

$ ./autogen.sh
running /usr/bin/autoreconf in /opt3/dbs/tds/freetds-freetds:
src/ctlib/Makefile.am:5: error: Libtool library used but 'LIBTOOL' is
undefined
src/ctlib/Makefile.am:5: The usual way to define 'LIBTOOL' is to add
'LT_INIT'
src/ctlib/Makefile.am:5: to 'configure.ac' and run 'aclocal' and 'autoconf'
again.
src/ctlib/Makefile.am:5: If 'LT_INIT' is in 'configure.ac', make sure
src/ctlib/Makefile.am:5: its definition is in aclocal's search path.
src/ctlib/Makefile.am:9: warning: source file '../../win32/initnet.c' is in a
subdirectory,
src/ctlib/Makefile.am:9: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the
'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding
output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same
subdirectory
automake: of the corresponding sources.
...


What I am doing wrong?

Seb




On 12/04/2014 03:35 PM, Craig A. Berry wrote:

On Dec 3, 2014, at 6:00 AM, Sebastien FLAESCH <sf AT 4js.com> wrote:

Can someone point me to the instructions to download FreeTDS dev version?

When I take the sources from https://gitorious.org/freetds/freetds, there is
no configure script.

The INSTALL file contains instructions to use configure... what am I doing
wrong?

You have to be on a Unix or Unix-like system with recent autotools installed
and run autogen.sh in a git checkout of the current source. If all goes
well, you should get a configure script. If all does not go well, you may be
building autotools from scratch, which is a rather unpleasant bare knuckle
experience for those of us unaccustomed to such things.

Actually you don't have to be using git as you can get a tarball of the
latest source at any time from this link:

<https://gitorious.org/freetds/freetds/archive/HEAD.tar.gz>

However, you do have to have autotools.

Why is the www.freetds.org still showing an old "current" download link
(0.92.377)?

The nightly snapshots have not worked reliably for years and there is an
aversion to putting generated files under version control. The script for
generating snapshots was posted to the list once with suggestions for
improvement solicited but I don't think there were any takers.

________________________________________
Craig A. Berry
mailto:craigberry AT mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds






Archive powered by MHonArc 2.6.24.

Top of Page