`crontool.cpp` seems missing include `pathut.h`
/Users/slbtty/src/recoll/src/qtgui/crontool.cpp:102:28: error: use of undeclared identifier 'path_getfather'
auto bindir = path_cat(path_getfather(path_pkgdatadir()), "MacOS");
^
If I add the pathut.h
, it will sadly crash with
./src/cmake-build-debug/recoll.app/Contents/MacOS/recoll
updateMainConfig: NEW CONFIGURATION READ FAILED
fish: Job 1, './src/cmake-build-debug/recoll.…' terminated by signal SIGSEGV (Address boundary error)
Crash backtrace:
RclConfig::updateMainConfig() rclconfig.cpp:637
RclConfig::RclConfig(const std::string *) rclconfig.cpp:544
RclConfig::RclConfig(const std::string *) rclconfig.cpp:424
recollinit(int, void (*)(), void (*)(int), std::string &, const std::string *) rclinit.cpp:289
main main.cpp:344
start 0x000000019992be50
- macOS 13.2.1, homebrew qt6,
- testing !20 (merged), looks like the branch is up-to-date. not tested with normal autoconf build.
- the path of recoll.app is at the build output dir.
- I nuked
~/.recoll
but still happens.
Edited by shenlebantongying