<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
When building getdns fresh from Git on CentOS 6.6 I run in a few
issues. I followed the instructions in README.md, INSTALL and
project-doc/release-procedure.txt, but I can't make it build without
some manual patches. So probably I'm missing some steps.<br>
<br>
Here's what happens:<br>
<br>
<b><tt>[rgr@henry </tt></b><b><tt><b><tt>[:] </tt></b>t]$ git
clone <a class="moz-txt-link-freetext" href="https://github.com/getdnsapi/getdns.git">https://github.com/getdnsapi/getdns.git</a></tt></b><br>
<tt>... (all Ok)</tt><br>
<b><tt>[rgr@henry [:] t]$ cd getdns</tt></b><b><br>
</b><b><tt>[rgr@henry [:develop] getdns]$ libtoolize -ci</tt></b><br>
<tt>libtoolize: putting auxiliary files in `.'.</tt><br>
<tt>libtoolize: copying file `./config.guess'</tt><br>
<tt>libtoolize: copying file `./config.sub'</tt><br>
<tt>libtoolize: copying file `./install-sh'</tt><br>
<tt>libtoolize: copying file `./ltmain.sh'</tt><br>
<tt>libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.</tt><br>
<tt>libtoolize: copying file `m4/libtool.m4'</tt><br>
<tt>libtoolize: copying file `m4/ltoptions.m4'</tt><br>
<tt>libtoolize: copying file `m4/ltsugar.m4'</tt><br>
<tt>libtoolize: copying file `m4/ltversion.m4'</tt><br>
<tt>libtoolize: copying file `m4/lt~obsolete.m4'</tt><br>
<tt>libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in
Makefile.am.</tt><br>
<b><tt>[rgr@henry [:develop] getdns]$ autoreconf -fi</tt></b><br>
<tt>libtoolize: putting auxiliary files in `.'.</tt><br>
<tt>libtoolize: copying file `./ltmain.sh'</tt><br>
<tt>libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.</tt><br>
<tt>libtoolize: copying file `m4/libtool.m4'</tt><br>
<tt>libtoolize: copying file `m4/ltoptions.m4'</tt><br>
<tt>libtoolize: copying file `m4/ltsugar.m4'</tt><br>
<tt>libtoolize: copying file `m4/ltversion.m4'</tt><br>
<tt>libtoolize: copying file `m4/lt~obsolete.m4'</tt><br>
<tt>libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in
Makefile.am.</tt><br>
<tt><b>[rgr@henry [:develop] getdns]$ ./configure
--with-libevent=/usr/local<br>
</b>...<br>
checking for u_char... yes<br>
checking for fcntl... yes<br>
checking for ioctlsocket... no<br>
checking for pkg-config... /usr/bin/pkg-config<br>
checking pkg-config is at least version 0.9.0... yes<br>
checking for CHECK... yes<br>
./configure: line 16761: syntax error near unexpected token `fi'<br>
./configure: line 16761: `fi'<br>
<br>
</tt>The offending line is an empty if:<br>
<blockquote type="cite">if test "x$have_libcheck" = x1; then<br>
<br>
fi<br>
</blockquote>
(there are a few more of these). I'm no m4 expert, so I don't get
why configure is generated like this. <br>
Changing this into<br>
<blockquote type="cite">if test "x$have_libcheck" = x1; then<br>
echo Getdns rocks<br>
fi</blockquote>
makes configure run without errors.<br>
<br>
The 2nd problem is that PACKAGE_URL is missing from the generated
src/config.h. After adding that manually things compile and work
fine.<br>
<br>
<br>
So apparently something goes wrong in the autoreconf area. I have:<br>
- libtoolize (GNU libtool) 2.2.6b<br>
- autoreconf (GNU Autoconf) 2.63<br>
<br>
Any hints would be appreciated.<br>
<br>
Thanks,<br>
Robert<br>
</body>
</html>