Hi Guys,
I'm writing to you because I was trying to build Ceph (master branch) on my OpenSUSE 15.3 leap and I stumbled into a very little issue, but I would like to point to you.
After have resolved some specific broken dependencies, I got this error : ./do_cmake.sh -DWITH_RDMA=OFF -DWITH_OPENLDAP=OFF -DWITH_LZ4=OFF -DWITH_LTTNG=OFF -DWITH_BABELTRACE=OFF -DWITH_SYSTEM_UTF8PROC=OFF
...
-- Configuring done CMake Error at cmake/modules/BuildBoost.cmake:294 (_add_executable):
Target "ceph-mon" links to target "FUSE::FUSE" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
src/CMakeLists.txt:642 (add_executable)
...
I would not expect to receive this error at this stage, but instead, I would expect that this broken dep should have detected earlier
in the configuring phase.
If we open the main CMakeList.txt:179 we have:
option(WITH_FUSE
"Fuse is here" ON)
if(WITH_FUSE)
find_package(FUSE)
set(HAVE_LIBFUSE
${FUSE_FOUND})
endif()Shouldn't perhaps more correct to put here a REQUIRED flag in find_package ? What
do you guys think?
Thanks you very much for your attention, Giuseppe |
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx