<div dir="ltr">Hi<div><br></div><div>I am on Debian verson 7.7, GCC 4.7.2 and make 3.8.1.</div><div><br></div><div>I cloned the code :</div><div><div>git clone <a href="https://github.com/v-hasu/xapian">https://github.com/v-hasu/xapian</a></div><div>git checkout gsoc2014-evaluation</div><div>rm xapian-letor/nobootstrap</div><div>./bootstrap</div><div>./configure --no-documentation</div><div>make CXXFLAGS='-w'</div><div><br></div><div>and I get a different set of errors</div><div>---</div><div><div>ranker.cc: In member function 'std::string Xapian::Ranker::get_cwd()':</div><div>ranker.cc:80:36: error: 'getcwd' was not declared in this scope</div><div>make[3]: *** [ranker.lo] Error 1</div><div>make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div></div><div>---</div><div><br></div><div><br></div><div>I am also trying Hanxiao's method but am not able to find aclocal / libtool / autoconf / autoheader / automake --add-missing  in my os. Can you tell me which packages do I need to install ?</div><div><br></div><div>One option might be, I can try solving this error one by one in a branch of mine to get xapian-letor to a stage where it can be built directly and we will no longer require a .nobootstrap option while I get familiar with the code base too. What thoughts do you have on this?</div><div><br></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font face="arial,helvetica,sans-serif"><span style="font-family:'times new roman',serif"><font>Best Regards<br>Manu Gupta</font></span><br></font></div></div></div>
<br><div class="gmail_quote">On Sun, Dec 7, 2014 at 12:19 PM, James Aylett <span dir="ltr"><<a href="mailto:james-xapian@tartarus.org" target="_blank">james-xapian@tartarus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 7 Dec 2014, at 17:12, Hanxiao Sun <<a href="mailto:sunhanxiaoisme@gmail.com">sunhanxiaoisme@gmail.com</a>> wrote:<br>
<br>
> I use Ubuntu12.04, GNU Make 3.81 and I am not sure if I use some special configure options.<br>
<br>
</span>Version of GCC (or other compiler) would be useful too.<br>
<span class=""><br>
> The commands I use after clone the repo are as follows:<br>
><br>
> cd xapian<br>
> ./bootstarp<br>
> ./configure<br>
> make<br>
><br>
> cd xapian-letor<br>
> aclocal -I ../xapian-core/m4<br>
> libtoolize --force<br>
> autoconf<br>
> autoheader<br>
> automake --add-missing<br>
> ./configure<br>
> make<br>
><br>
> Is this normal?<br>
<br>
</span>Not entirely. I’d just do:<br>
<br>
$ cd xapian<br>
$ rm xapian-letor/.nobootstrap<br>
$ ./bootstrap<br>
$ ./configure<br>
$ make<br>
<br>
which presents slightly different options to what you’ve done (in particular yours doesn’t enable maintainer mode, I think), and so may explain the warnings. Manu, you could try the above instructions and see if the warnings go away.<br>
<div class=""><div class="h5"><br>
J<br>
<br>
--<br>
 James Aylett, occasional trouble-maker<br>
 <a href="http://xapian.org" target="_blank">xapian.org</a><br>
<br>
</div></div></blockquote></div><br></div></div></div>