Well, I guess I need to dig a little deeper before I complain.
I still don't know why this is happening, but I found a workaround.
The  libacl include detection requires both sys/types.h  and  sys/libacl.h, 
per line 35 of /core/cmake/BareosCheckIncludes.cmake.
On both 18.04 and 20.02, sys/types.h is  found in  
/usr/include/x86_64_linux_gnu/  and  sys/libach.h  is found in  
/usr/include/.
In 20.04, if I create a symlink:
ln -s /usr/include/x86_64_linux_gnu/sys/types.h  /usr/include/sys/ 
then cmake runs without error, but it's obviously not solving the 
underlying problem.

Karl
On Saturday, September 26, 2020 at 12:37:29 PM UTC-7 Karl Cunningham wrote:

> All,
> I'm trying to compile a bareos client on PopOS 20.04. I run cmake from the 
> build directory with the following options:
> cmake -Dclient-only=yes -Dconfdir=/etc/bareos ../bareos
> But it gives the following error:
> CMake Error at core/CMakeLists.txt:640 (message):
> build with acl requested, but lib not found
>
> libacl1-dev is installed and /usr/include/sys/acl.h is there.
>
> Doing the same on Ubuntu 18.04 succeeds.
> Adding -Dacl=no to the cmake options on PopOS succeeds.
>
> Does anyone have an idea what I'm doing wrong, or what I can do to 
> investigate further?
>
> Thanks,
> Karl
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/a39c44c0-8d15-4df7-ab56-16721a32aec8n%40googlegroups.com.

Reply via email to