Opened 11 years ago
Closed 11 years ago
#625 closed defect (duplicate)
Can't build xapian 1.2.15 without remote backend
Reported by: | lameventanas | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Build system | Version: | 1.2.15 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | Linux |
Description
I get this error when trying to build xapian 1.2.15 without the remote backend:
./configure --prefix=/usr --mandir=/usr/man --disable-static --disable-documentation --disable-backend-remote && make -j 1 ... libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -g -O2 -o bin/.libs/xapian-check bin/bin_xapian_check-xapian-check.o bin/bin_xapian_check-xapian-check-brass.o bin/bin_xapian_check-xapian-check-chert.o bin/bin_xapian_check-xapian-check-flint.o ./.libs/libbrasscheck.a ./.libs/libchertcheck.a ./.libs/libflintcheck.a ./.libs/libxapian.so /usr/lib/libuuid.so /usr/lib/../lib/libstdc++.so -lz -Wl,-rpath -Wl,/usr/lib/../lib ./.libs/libxapian.so: undefined reference to `decode_length(char const**, char const*, bool)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::send_message(char, std::string const&, double)' ./.libs/libxapian.so: undefined reference to `unserialise_document(std::string const&)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::get_message_chunked(double)' ./.libs/libxapian.so: undefined reference to `serialise_document(Xapian::Document const&)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::sniff_next_message_type(double)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::RemoteConnection(int, int, std::string const&)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::get_message_chunk(std::string&, unsigned long, double)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::receive_file(std::string const&, double)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::send_file(char, int, double)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::get_message(std::string&, double)' ./.libs/libxapian.so: undefined reference to `RemoteConnection::~RemoteConnection()' collect2: error: ld returned 1 exit status make[2]: *** [bin/xapian-check] Error 1 make[2]: Leaving directory `/dev/shm/work/xapian/src/xapian-core-1.2.15' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/dev/shm/work/xapian/src/xapian-core-1.2.15' make: *** [all] Error 2
Change History (2)
comment:2 by , 11 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Thanks for your report.
Currently replication uses a lot of the remote backend machinery, so if you disable the remote backend then replication fails to link, but there's no option to disable replication. These issues are already covered by ticket #361.
--disable-documentation isn't meant to control installation of the documentation, it just turns the rules to regenerate the documentation off so you can configure with --enable-maintainer-mode --disable-documentation and then patch the source code without having to install all the tools needed to rebuild the docs.
I would like to add that --disable-documentation doesn't prevent the installation of the documentation.