ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosmake of sick_tim3xx package failed : says permission denied on SickTim3xx.cfg [closed]

asked 2014-05-04 07:08:17 -0600

hgtc-dp gravatar image

updated 2014-05-05 22:16:25 -0600

I am using ros-groovy on ubuntu 12.04

after running

$ rosmake sick_tim3xx

i get the output

[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['sick_tim3xx']                             
[ rosmake ] Logging to directory /home/piyush/.ros/rosmake/rosmake_output-20140504-222452
[ rosmake ] Expanded args ['sick_tim3xx'] to:
['sick_tim3xx']                   
[rosmake-0] Starting >>> catkin [ make ]                                        
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin
[rosmake-0] Starting >>> genmsg [ make ]                                        
[rosmake-3] Starting >>> cpp_common [ make ]                                    
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg
 No Makefile in package genmsg
[rosmake-2] Starting >>> rospack [ make ]                                       
[rosmake-0] Starting >>> genlisp [ make ]                                       
[rosmake-1] Starting >>> genpy [ make ]                                         
[rosmake-3] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
 No Makefile in package cpp_common
[rosmake-3] Starting >>> gencpp [ make ]                                        
[rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp
 No Makefile in package genlisp
[rosmake-2] Finished <<< rospack ROS_NOBUILD in package rospack
 No Makefile in package rospack
[rosmake-0] Starting >>> rostime [ make ]                                       
[rosmake-2] Starting >>> roslib [ make ]                                        
[rosmake-1] Finished <<< genpy ROS_NOBUILD in package genpy
 No Makefile in package genpy
[rosmake-1] Starting >>> roslang [ make ]                                       
[rosmake-0] Finished <<< rostime ROS_NOBUILD in package rostime
 No Makefile in package rostime
[rosmake-0] Starting >>> roscpp_traits [ make ]                                 
[rosmake-3] Finished <<< gencpp ROS_NOBUILD in package gencpp
 No Makefile in package gencpp
[rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib
 No Makefile in package roslib
[rosmake-2] Starting >>> rosunit [ make ]                                       
[rosmake-3] Starting >>> message_generation [ make ]                            
[rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang
[rosmake-0] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
 No Makefile in package roscpp_traits
[rosmake-0] Starting >>> roscpp_serialization [ make ]                          
[rosmake-1] Starting >>> xmlrpcpp [ make ]                                      
[rosmake-2] Finished <<< rosunit ROS_NOBUILD in package rosunit
 No Makefile in package rosunit
[rosmake-2] Starting >>> rosconsole [ make ]                                    
[rosmake-3] Finished <<< message_generation ROS_NOBUILD in package message_generation
 No Makefile in package message_generation
[rosmake-3] Starting >>> rosgraph [ make ]                                      
[rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
 No Makefile in package roscpp_serialization
[rosmake-0] Starting >>> message_runtime [ make ]                               
[rosmake-1] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
 No Makefile in package xmlrpcpp
[rosmake-1] Starting >>> rosclean [ make ]                                      
[rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
 No Makefile in package rosconsole
[rosmake-0] Finished <<< message_runtime ROS_NOBUILD in package message_runtime
 No Makefile in package message_runtime
[rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean
 No Makefile in package rosclean
[rosmake-0] Starting >>> std_msgs [ make ]                                      
[rosmake-3] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
 No Makefile in package rosgraph
[rosmake-3] Starting >>> rosparam [ make ]                                      
[rosmake-1] Starting >>> rosmaster [ make ]                                     
[rosmake-0] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
 No Makefile in package std_msgs
[rosmake-0] Starting >>> rosgraph_msgs [ make ]                                 
[rosmake-3] Finished <<< rosparam ROS_NOBUILD in package rosparam
 No Makefile in package rosparam
[rosmake-2] Starting >>> geometry_msgs [ make ]                                 
[rosmake-3] Starting >>> diagnostic_msgs [ make ]                               
[rosmake-0] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs
 No Makefile in package rosgraph_msgs
[rosmake-0] Starting >>> roscpp [ make ]                                        
[rosmake-1] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
 No Makefile in package rosmaster
[rosmake-3] Finished <<< diagnostic_msgs ROS_NOBUILD in package diagnostic_msgs
 No Makefile in package diagnostic_msgs
[rosmake-1] Starting >>> rospy [ make ]                                         
[rosmake-0] Finished <<< roscpp ROS_NOBUILD in package roscpp
 No Makefile in package roscpp
[rosmake-0] Starting >>> rosout [ make ]                                        
[rosmake-2] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
 No Makefile in package geometry_msgs
[rosmake-2] Starting >>> sensor_msgs [ make ]                                   
[rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy
 No Makefile in package rospy
[rosmake-0] Finished <<< rosout ROS_NOBUILD in package rosout
 No Makefile in package rosout
[rosmake-0] Starting >>> roslaunch [ make ]                                     
[rosmake-2] Finished <<< sensor_msgs ROS_NOBUILD in ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by hgtc-dp
close date 2014-05-06 00:33:09

1 Answer

Sort by » oldest newest most voted
1

answered 2014-05-05 00:22:16 -0600

updated 2014-05-05 22:18:53 -0600

You've probably run make using sudo before (you shouldn't do that), so you'll have to check the permissions on those folders. The easiest way to fix it would be to remove the build folder (using sudo) and try again.

Edit 1: Can you edit your question and paste the output of the following commands there?

roscd sick_tim3xx
ls -lah cfg
git status
whoami

Edit 2: Thanks for adding that info. Something weird is going on: you seem to have deleted the sick_tim3xx/.git directory, for example. Please delete the whole sick_tim3xx directory and run:

git clone -b groovy https://github.com/uos/sick_tim3xx.git

Then start over.

edit flag offensive delete link more

Comments

I tried it but i am getting the same error. I know for sure that rosmake is working fine as I have built other packages. Permissions attached with cfg folder are drwxrwxr-x(same for all folders in that directory). And with SickTim3xx.cfg -rw-rw-r-- do i need to change something in these. Thanks alot

hgtc-dp gravatar image hgtc-dp  ( 2014-05-05 04:37:49 -0600 )edit

It's not just the permissions, but also which user the files belong to. I've edited my answer.

Martin Günther gravatar image Martin Günther  ( 2014-05-05 05:41:14 -0600 )edit

Also, maybe the file isn't there at all. Try a `git reset --hard`.

Martin Günther gravatar image Martin Günther  ( 2014-05-05 05:44:31 -0600 )edit

Thanks a lot it worked. Earlier I was downloading the .zip file and then extracting the package. Could you tell me why it could have been failing

hgtc-dp gravatar image hgtc-dp  ( 2014-05-06 00:32:30 -0600 )edit

No idea. Somehow you didn't get all necessary files in the right places. Glad it works now for you. :-)

Martin Günther gravatar image Martin Günther  ( 2014-05-06 01:58:29 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-05-04 07:08:17 -0600

Seen: 273 times

Last updated: May 05 '14