Discussion:
[freetds] Unable to build freetds
Feroze Daud
2013-09-19 17:05:52 UTC
Permalink
hi!

I? got the freetds source from the git server. I checked out the 0.64 branch, and am trying to build it.

However, configure is failing.

--

checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... five
checking for which type of localtime_r... struct
configure: debug enabled
checking CFLAGS for gcc -Wdeclaration-after-statement... -Wdeclaration-after-statement
done
configure: creating ./config.status
config.status: error: cannot find input file: `include/freetds/version.h.in'


--

What am I doing wrong? I have ubuntu 11.10 with a 3.0 linux kernel.

Thanks

feroze.
Marc Abramowitz
2013-09-19 17:35:44 UTC
Permalink
Did you check it out from git? Maybe run autoreconf -i to regenerate the
./configure and associated stuff?
hi!
I got the freetds source from the git server. I checked out the 0.64
branch, and am trying to build it.
However, configure is failing.
--
checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... five
checking for which type of localtime_r... struct
configure: debug enabled
checking CFLAGS for gcc -Wdeclaration-after-statement...
-Wdeclaration-after-statement
done
configure: creating ./config.status
config.status: error: cannot find input file: `include/freetds/
version.h.in'
--
What am I doing wrong? I have ubuntu 11.10 with a 3.0 linux kernel.
Thanks
feroze.
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Feroze Daud
2013-09-19 17:55:50 UTC
Permalink
That didnt work...

--
ferozed at ferozed-linux2:~/zstash/freetds$ autoreconf -i
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
acinclude.m4:1: warning: ill-formed serial number `AM2', expecting a version string with only digits and dots
configure.in:81: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:80: 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.in:81: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1

--




________________________________
From: Marc Abramowitz <msabramo at gmail.com>
To: Feroze Daud <khichdo at yahoo.com>; FreeTDS Development Group <freetds at lists.ibiblio.org>
Sent: Thursday, September 19, 2013 10:35 AM
Subject: Re: [freetds] Unable to build freetds



Did you check it out from git? Maybe run autoreconf -i to regenerate the ./configure and associated stuff?



On Thu, Sep 19, 2013 at 10:05 AM, Feroze Daud <khichdo at yahoo.com> wrote:

hi!
Post by Feroze Daud
I? got the freetds source from the git server. I checked out the 0.64 branch, and am trying to build it.
However, configure is failing.
--
checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... five
checking for which type of localtime_r... struct
configure: debug enabled
checking CFLAGS for gcc -Wdeclaration-after-statement... -Wdeclaration-after-statement
done
configure: creating ./config.status
config.status: error: cannot find input file: `include/freetds/version.h.in'
--
What am I doing wrong? I have ubuntu 11.10 with a 3.0 linux kernel.
Thanks
feroze.
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Marc Abramowitz
2013-09-19 18:42:15 UTC
Permalink
Post by Feroze Daud
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf
line 196

Looks like maybe you need to install "libtool"
Post by Feroze Daud
That didnt work...
--
ferozed at ferozed-linux2:~/zstash/freetds$ autoreconf -i
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
acinclude.m4:1: warning: ill-formed serial number `AM2', expecting a
version string with only digits and dots
configure.in:81: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:80: 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.in:81: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
--
------------------------------
*From:* Marc Abramowitz <msabramo at gmail.com>
*To:* Feroze Daud <khichdo at yahoo.com>; FreeTDS Development Group <
freetds at lists.ibiblio.org>
*Sent:* Thursday, September 19, 2013 10:35 AM
*Subject:* Re: [freetds] Unable to build freetds
Did you check it out from git? Maybe run autoreconf -i to regenerate the
./configure and associated stuff?
hi!
I got the freetds source from the git server. I checked out the 0.64
branch, and am trying to build it.
However, configure is failing.
--
checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... five
checking for which type of localtime_r... struct
configure: debug enabled
checking CFLAGS for gcc -Wdeclaration-after-statement...
-Wdeclaration-after-statement
done
configure: creating ./config.status
config.status: error: cannot find input file: `include/freetds/
version.h.in'
--
What am I doing wrong? I have ubuntu 11.10 with a 3.0 linux kernel.
Thanks
feroze.
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Igor Korot
2013-09-19 19:15:21 UTC
Permalink
Also, why you are using 0.64?

Thank you.
Post by Feroze Daud
Post by Feroze Daud
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf
line 196
Looks like maybe you need to install "libtool"
Post by Feroze Daud
That didnt work...
--
ferozed at ferozed-linux2:~/zstash/freetds$ autoreconf -i
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
acinclude.m4:1: warning: ill-formed serial number `AM2', expecting a
version string with only digits and dots
configure.in:81: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
Post by Feroze Daud
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
Post by Feroze Daud
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
Post by Feroze Daud
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
Post by Feroze Daud
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
Post by Feroze Daud
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
Post by Feroze Daud
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:80: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use
m4_pattern_allow.
Post by Feroze Daud
See the Autoconf documentation.
configure.in:81: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
--
------------------------------
*From:* Marc Abramowitz <msabramo at gmail.com>
*To:* Feroze Daud <khichdo at yahoo.com>; FreeTDS Development Group <
freetds at lists.ibiblio.org>
*Sent:* Thursday, September 19, 2013 10:35 AM
*Subject:* Re: [freetds] Unable to build freetds
Did you check it out from git? Maybe run autoreconf -i to regenerate the
./configure and associated stuff?
hi!
I got the freetds source from the git server. I checked out the 0.64
branch, and am trying to build it.
However, configure is failing.
--
checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... five
checking for which type of localtime_r... struct
configure: debug enabled
checking CFLAGS for gcc -Wdeclaration-after-statement...
-Wdeclaration-after-statement
done
configure: creating ./config.status
config.status: error: cannot find input file: `include/freetds/
version.h.in'
--
What am I doing wrong? I have ubuntu 11.10 with a 3.0 linux kernel.
Thanks
feroze.
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Feroze Daud
2013-09-20 20:15:23 UTC
Permalink
Ok, I installed libtool. Then I did the automake hack to regenrate the configure file.

Then ran ./configure

Then ran ./make

It seems to build something, but it does not build the unit tests in src/odbc/unittests. If I go into that directory and make, it doesnt do anything...

Please help




________________________________
From: Marc Abramowitz <msabramo at gmail.com>
To: Feroze Daud <khichdo at yahoo.com>
Cc: FreeTDS Development Group <freetds at lists.ibiblio.org>
Sent: Thursday, September 19, 2013 11:42 AM
Subject: Re: [freetds] Unable to build freetds
?Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196
Looks like maybe you need to install "libtool"



On Thu, Sep 19, 2013 at 10:55 AM, Feroze Daud <khichdo at yahoo.com> wrote:

That didnt work...
--
ferozed at ferozed-linux2:~/zstash/freetds$ autoreconf -i
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
acinclude.m4:1: warning: ill-formed serial number `AM2', expecting a version string with only digits and dots
configure.in:81: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded
from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
_AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:571: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded
from...
acinclude.m4:373: AC_tds_FUNC_WHICH_GETPWUID_R is expanded from...
configure.in:571: the top level
configure.in:80: 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.in:81: error: possibly undefined macro: AM_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
--
________________________________
From: Marc Abramowitz <msabramo at gmail.com>
To: Feroze Daud <khichdo at yahoo.com>; FreeTDS Development Group <freetds at lists.ibiblio.org>
Sent: Thursday, September 19, 2013 10:35 AM
Subject: Re: [freetds] Unable to build freetds
Did you check it out from git? Maybe run autoreconf -i to regenerate the ./configure and associated stuff?
hi!
Post by Feroze Daud
I? got the freetds source from the git server. I checked out the 0.64 branch, and am trying to build it.
However, configure is failing.
--
checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... five
checking for which type of localtime_r... struct
configure: debug enabled
checking CFLAGS for gcc -Wdeclaration-after-statement... -Wdeclaration-after-statement
done
configure: creating ./config.status
config.status: error: cannot find input file: `include/freetds/version.h.in'
--
What am I doing wrong? I have ubuntu 11.10 with a 3.0 linux kernel.
Thanks
feroze.
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
James K. Lowden
2013-09-20 22:35:53 UTC
Permalink
On Fri, 20 Sep 2013 13:15:23 -0700 (PDT)
Post by Feroze Daud
Then ran ./make
It seems to build something, but it does not build the unit tests in
src/odbc/unittests. If I go into that directory and make, it doesnt
do anything...
Yes, "make all" doesn't build the unit tests. "make check" builds them
*and* runs them, which takes awhile. It could be made more convenient,
but not many people care, and it's quite a bit to take on for anyone
who's not an autoconf expert.

What you can do is change to src/odbc/unittests and run

$ make genparams
$ ./genparams

Don't forget to update your PWD file first.

HTH.

--jkl

Loading...