Cannot compile on raspberry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When trying to compile apparmor 2.9.2 or 2.10 in a raspberry, it gives some errors when any profile is not created (when I have not the profile application installed, like apache2). Error is in the "make check" phase of the "parser" directory.
---------
Error example:
$ fakeroot debian/rules binary
# Fix rpath in pam_apparmor.so
chrpath -d /home/pi/
# Profiles
# We'd like to keep site.local from being a conffile
rm ./profiles/
rm: can't delete «./profiles/
debian/rules:79: recipe for target 'override_
make[1]: *** [override_
make[1]: Leaving directory '/home/
debian/rules:11: recipe for target 'binary' failed
make: *** [binary] Error 2
--------
I have tried compiling it following your description and also trying to compile a deb.
When trying to compiling in a .deb package, I follow this link: http://
Thanks!
description: | updated |
description: | updated |
description: | updated |
description: | updated |
I managed to install it but I had to do all the following things:
$ touch ./profiles/ apparmor. d/tunables/ xdg-user- dirs.d/ site.local
$ sudo apt-get install xdg-user-dirs apache2