I use Ubuntu12.04, GNU Make 3.81 and I am not sure if I use some special configure options. The commands I use after clone the repo are as follows: cd xapian ./bootstarp ./configure make cd xapian-letor aclocal -I ../xapian-core/m4 libtoolize --force autoconf autoheader automake --add-missing ./configure make Is this normal? 2014-12-07 22:37 GMT+08:00 James Aylett <james-xapian at tartarus.org>:> On 6 Dec 2014, at 15:55, Hanxiao Sun <sunhanxiaoisme at gmail.com> wrote: > > > As to your compile errors, I have tested the branch just now and it > works well on my side. > > Can you confirm your system (operating system, compiler) and if you have > any special CPPFLAGS or options to configure? Because those compile errors > look like real warnings that should be cleared up, and I?ve had similar > problems with some of the letor code in the past; I?m wondering if there?s > a common configuration that letor developers have been using. > > J > > -- > James Aylett, occasional trouble-maker > xapian.org > >-- ???(Hansel Sun) Master Student of Computer Science at Institute of Computing Technology,Chinese Academy of Sciences(ICT) Email?sunhanxiaoisme at gmail.com <Email%3Asunhanxiaoisme at gmail.com> Mobile: (86)186-0025-6936 ------------------------------ This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you. ???(??????)?????????????????????????????????????????????????????????????????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20141208/294a04b8/attachment-0002.html>
On 7 Dec 2014, at 17:12, Hanxiao Sun <sunhanxiaoisme at gmail.com> wrote:> I use Ubuntu12.04, GNU Make 3.81 and I am not sure if I use some special configure options.Version of GCC (or other compiler) would be useful too.> The commands I use after clone the repo are as follows: > > cd xapian > ./bootstarp > ./configure > make > > cd xapian-letor > aclocal -I ../xapian-core/m4 > libtoolize --force > autoconf > autoheader > automake --add-missing > ./configure > make > > Is this normal?Not entirely. I?d just do: $ cd xapian $ rm xapian-letor/.nobootstrap $ ./bootstrap $ ./configure $ make 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. J -- James Aylett, occasional trouble-maker xapian.org
Hi I am on Debian verson 7.7, GCC 4.7.2 and make 3.8.1. I cloned the code : git clone https://github.com/v-hasu/xapian git checkout gsoc2014-evaluation rm xapian-letor/nobootstrap ./bootstrap ./configure --no-documentation make CXXFLAGS='-w' and I get a different set of errors --- ranker.cc: In member function 'std::string Xapian::Ranker::get_cwd()': ranker.cc:80:36: error: 'getcwd' was not declared in this scope make[3]: *** [ranker.lo] Error 1 make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor' --- 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 ? 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? Best Regards Manu Gupta On Sun, Dec 7, 2014 at 12:19 PM, James Aylett <james-xapian at tartarus.org> wrote:> On 7 Dec 2014, at 17:12, Hanxiao Sun <sunhanxiaoisme at gmail.com> wrote: > > > I use Ubuntu12.04, GNU Make 3.81 and I am not sure if I use some special > configure options. > > Version of GCC (or other compiler) would be useful too. > > > The commands I use after clone the repo are as follows: > > > > cd xapian > > ./bootstarp > > ./configure > > make > > > > cd xapian-letor > > aclocal -I ../xapian-core/m4 > > libtoolize --force > > autoconf > > autoheader > > automake --add-missing > > ./configure > > make > > > > Is this normal? > > Not entirely. I?d just do: > > $ cd xapian > $ rm xapian-letor/.nobootstrap > $ ./bootstrap > $ ./configure > $ make > > 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. > > J > > -- > James Aylett, occasional trouble-maker > xapian.org > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20141207/6b4feae7/attachment-0002.html>