Installing packages from source for all users
I would like to deploy a custom package and am having trouble getting it to work for all users on the machine. Currently I have my targets installable using CMake's install()
and things are working fine for a single user (i.e., I install to some install space and then source the resulting setup.bash file).
My problem is when I try to move my install space somewhere for all users to access. Currently I am trying something to the effect of /usr/local/ros/kinetic/
. If I set my install space as such I get write permission errors; catkin build
with sudo seems wrong (environment setup issues); and installing locally and then copying/moving the resulting folder results in sourcing the resulting setup.bash
having no effect.
I am using catkin-tools on Kinetic. Any advice would be greatly appreciated at this point.
-Brett