[freetds] Mac OS X source build

Itamar Hassin ihassin at mac.com
Sat Jul 10 16:51:00 EDT 2004


I got it to work by removing $(SHELL) in front of LIBTOOL and removing  
the -Bsymbolic flag too.


On Jul 9, 2004, at 2:13 PM, Mark J. Lilback wrote:

> I remember reading messages that builds work correctly, but is that  
> for tarballs or when code is checked out of cvs?
>
> Building out of cvs gives a lot of errors, no matter what versions of  
> the tools I use (currently working with libtool-1.5.6, autoconf-2.57,  
> automake-1.7.9).
>
> I've fiddled around for a while and can't find a quick solutions. Any  
> ideas?
>
> Thanks.
>
>
>
>
> mlilback$LIBTOOL=glibtool ./autogen.sh --with-tdsver=7.0  
> --disable-odbc --disable-apps --disable-server --disable-pool
> processing .
> Running libtoolize...
> You should add the contents of  
> `/usr/local/libtool-1.5.6/share/aclocal/libtool.m4' to `aclocal.m4'.
> Running aclocal  ...
> aclocal: configure.in: 71: macro `AM_PROG_LIBTOOL' not found in library
> Running autoheader...
> autoheader: error: AC_CONFIG_HEADERS not found in configure.in
> Running automake --gnu --include-deps ...
> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.in: You should verify that configure.in invokes  
> AM_INIT_AUTOMAKE,
> configure.in: that aclocal.m4 is present in the top-level directory,
> configure.in: and that aclocal.m4 was recently regenerated (using  
> aclocal).
> Makefile.am:29: DISTCHECK_BUILD does not appear in AM_CONDITIONAL
> Makefile.am:38: DISTCHECK_BUILD does not appear in AM_CONDITIONAL
> Makefile.am:50: HAVE_DOXYGEN does not appear in AM_CONDITIONAL
> src/Makefile.am:2: INCAPPS does not appear in AM_CONDITIONAL
> src/Makefile.am:5: INCPOOL does not appear in AM_CONDITIONAL
> src/Makefile.am:9: INCSERVER does not appear in AM_CONDITIONAL
> src/Makefile.am:13: ODBC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> src/ctlib/Makefile.am:4: Libtool library used but `LIBTOOL' is  
> undefined
> src/ctlib/Makefile.am:4:
> src/ctlib/Makefile.am:4: The usual way to define `LIBTOOL' is to add  
> `AC_PROG_LIBTOOL'
> src/ctlib/Makefile.am:4: to `configure.in' and run `aclocal' and  
> `autoconf' again.
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> src/dblib/Makefile.am:5: SYBASE_COMPAT does not appear in  
> AM_CONDITIONAL
> src/dblib/Makefile.am:4: Libtool library used but `LIBTOOL' is  
> undefined
> src/dblib/Makefile.am:4:
> src/dblib/Makefile.am:4: The usual way to define `LIBTOOL' is to add  
> `AC_PROG_LIBTOOL'
> src/dblib/Makefile.am:4: to `configure.in' and run `aclocal' and  
> `autoconf' again.
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> src/odbc/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
> src/odbc/Makefile.am:4:
> src/odbc/Makefile.am:4: The usual way to define `LIBTOOL' is to add  
> `AC_PROG_LIBTOOL'
> src/odbc/Makefile.am:4: to `configure.in' and run `aclocal' and  
> `autoconf' again.
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> src/replacements/Makefile.am:2: Libtool library used but `LIBTOOL' is  
> undefined
> src/replacements/Makefile.am:2:
> src/replacements/Makefile.am:2: The usual way to define `LIBTOOL' is  
> to add `AC_PROG_LIBTOOL'
> src/replacements/Makefile.am:2: to `configure.in' and run `aclocal'  
> and `autoconf' again.
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> src/server/Makefile.am:2: Libtool library used but `LIBTOOL' is  
> undefined
> src/server/Makefile.am:2:
> src/server/Makefile.am:2: The usual way to define `LIBTOOL' is to add  
> `AC_PROG_LIBTOOL'
> src/server/Makefile.am:2: to `configure.in' and run `aclocal' and  
> `autoconf' again.
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> src/tds/Makefile.am:22: HAVE_DOXYGEN does not appear in AM_CONDITIONAL
> src/tds/Makefile.am:14: Libtool library used but `LIBTOOL' is undefined
> src/tds/Makefile.am:14:
> src/tds/Makefile.am:14: The usual way to define `LIBTOOL' is to add  
> `AC_PROG_LIBTOOL'
> src/tds/Makefile.am:14: to `configure.in' and run `aclocal' and  
> `autoconf' again.
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am:  
> am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/automake-1.7.9/share/automake-1.7/am/depend2.am: AMDEP does  
> not appear in AM_CONDITIONAL
> Running autoconf ...
> Running ./configure --with-tdsver=7.0 --disable-odbc --disable-apps  
> --disable-server --disable-pool ...
> ./configure: line 1290: syntax error near unexpected token `freetds,'
> ./configure: line 1290: `AM_INIT_AUTOMAKE(freetds, 0.63.dev.20040709)'
>
> --  
> _______________________________________________________________________ 
> ___
>                          "The fetters imposed on liberty at home have  
> ever
> Mark J. Lilback           been forged out of the weapons provided for
> <mark at lilback.com>        defence against real, pretended, or imaginary
> http://www.lilback.com/   dangers from abroad."  -- James Madison
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




More information about the FreeTDS mailing list