After upgrading to xapian-0.9.3, I tried to compile a program called Recoll using an unofficial ebuild (see bug# 120214). During configuration, recoll gave out these warnings: /usr/bin/xapian-config: line 224: unexpected EOF while looking for matching `'' /usr/bin/xapian-config: line 242: syntax error: unexpected end of file /usr/bin/xapian-config: line 224: unexpected EOF while looking for matching `'' /usr/bin/xapian-config: line 242: syntax error: unexpected end of file Ultimately, the compilation failed after several warnings about undefined xapian elements. Here's the final bit (I can post the whole thing if that would be helpful): ============================== ../lib/librcl.a(rcldb.o): In function `std::_List_base<Xapian::Query, std::allocator<Xapian::Query> >::_M_clear()': /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_construct.h:107: undefined reference to `Xapian::Query::~Query()' collect2: ld returned 1 exit status make[1]: *** [recollindex] Error 1 make[1]: Leaving directory `/var/tmp/portage/recoll-1.2.2-r1/work/recoll-1.2.2/index' make: *** [all] Error 2 !!! ERROR: app-misc/recoll-1.2.2-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile =============================== I noticed that the patch for 0.9.3 contains a line about EOFs. Recoll compiled fine when I emerged xapian without the patch.
you're quite right - add a quote (") at the end of line 24 of /usr/bin/xapian-config.
fixed in 0.8.3-r1. sorry for the inconvience and thanks for the bug report.