philgogear writes

When building with the --disable-idxthreads you run into this error

../rcldb/rcldb.cpp: In member function 'bool Rcl::Db::Native::docToXdocXattrOnly(Rcl::TextSplitDb*, const std::string&, Rcl::Doc&, Xapian::Document&)':
../rcldb/rcldb.cpp:1594: error: 'm_mutex' was not declared in this scope

line 1594 in rcldb/rcldb.cpp

PTMutexLocker lock(m_mutex);

fix: wrap line 1594 in #ifdef IDX_THREADS


PTMutexLocker lock(m_mutex);

medoc writes

Thanks, I applied the fix, it’s committed.