freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Constantin Vasilyev <vasilyev AT ncbi.nlm.nih.gov>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] problem with building out of CVS
- Date: Fri, 29 Sep 2006 12:12:53 -0400 (EDT)
I finally found that the problem appeared because libtool was installed in
unusual place in our environment, so automake couldn't find libtool.m4
file where AC_PROG_LIBTOOL macro defined.
Fixed that by adding -I /path/to/libtool/m4/directory
to ACLOCAL_AMFLAGS macro in top-level Makefile.am
Constantin Vasilyev
NCBI Contractor, DBA
On Thu, 28 Sep 2006, Constantin Vasilyev wrote:
> Hi All,
>
> I'm trying to build latest version of freetds taken from CVS and getting
> some errors (see below). Any idea what could be wrong?
>
> 0.64 stable builds just fine.
>
> Constantin Vasilyev
> NCBI Contractor, DBA
>
>
>
> > (autoconf --version; automake --version; libtool --version) |grep GNU
> autoconf (GNU Autoconf) 2.59
> automake (GNU automake) 1.8
> ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
> > ./autogen.sh
> running /usr/local/autoconf-2.59/bin/autoreconf in
> /home/vasilyev/src/freetds-fresh:
> configure.ac:82: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:83: error: possibly undefined macro: AC_PROG_LIBTOOL
> autoreconf: /usr/local/autoconf-2.59/bin/autoconf failed with exit status: 1
> src/ctlib/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
> src/ctlib/Makefile.am:5:
> src/ctlib/Makefile.am:5: The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/ctlib/Makefile.am:5: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/dblib/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
> src/dblib/Makefile.am:5:
> src/dblib/Makefile.am:5: The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/dblib/Makefile.am:5: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/odbc/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
> src/odbc/Makefile.am:5:
> src/odbc/Makefile.am:5: The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/odbc/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf'
> again.
> src/replacements/Makefile.am:3: Libtool library used but `LIBTOOL' is
> undefined
> src/replacements/Makefile.am:3:
> src/replacements/Makefile.am:3: The usual way to define `LIBTOOL' is to
> add `AC_PROG_LIBTOOL'
> src/replacements/Makefile.am:3: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/server/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
> src/server/Makefile.am:3:
> src/server/Makefile.am:3: The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/server/Makefile.am:3: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/tds/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
> src/tds/Makefile.am:6:
> src/tds/Makefile.am:6: The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/tds/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf'
> again.
> autoreconf: automake failed with exit status: 1
>
>
>
-
[freetds] problem with building out of CVS,
Constantin Vasilyev, 09/28/2006
- Re: [freetds] problem with building out of CVS, James K. Lowden, 09/28/2006
- Re: [freetds] problem with building out of CVS, Constantin Vasilyev, 09/29/2006
Archive powered by MHonArc 2.6.24.