Ask Your Question
1

Install catkin from source

asked 2014-08-25 08:04:00 -0600

baxter.irt gravatar image

updated 2014-08-25 08:20:10 -0600

In the source files ( https://github.com/ros/catkin branch: groovy-devel), a bug is fixed, that is not in the PPA repository for Ubuntu 12.04 ( https://github.com/ros/rosdistro/pull... ). I would like to install the new version from the source code like described here: http://wiki.ros.org/catkin .

When I do "make install", catkin is installed to /usr/local/bin and /usr/local/share. But in ROS, still the catkin binaries from /opt/ros/groovy/bin seem to be used, the problem remains. Manually copying the files to /opt/ros did not work either. Could you explain step by step, how to install catkin from source?

Thanks and Regards, Moritz

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-08-25 17:58:23 -0600

tfoote gravatar image

You want to use the CMAKE_INSTALL_PREFIX Documentation: http://www.cmake.org/cmake/help/v2.8....

Related stack overflow posts: https://stackoverflow.com/questions/6... and https://stackoverflow.com/questions/6...

edit flag offensive delete link more

Comments

Thanks, it worked. Unfortunately it did not solve the targeted bug, but this is another topic.

mkdir ~/catkin-download
cd ~/catkin-download
git clone https://github.com/ros/catkin --branch groovy-devel
cd catkin
cmake -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy ./
make
sudo make install
baxter.irt gravatar imagebaxter.irt ( 2014-08-26 02:40:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-08-25 08:03:36 -0600

Seen: 46 times

Last updated: Aug 25 '14