Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-04-2012, 07:27 AM   #1
LQ Newbie
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
Problem when trying to build a ROS package

I'm learning how to use ROS, which is an API to develop robot applications. I'm trying to build some packages provided by ROS but I'm getting the following error:

[manu@manu rospy]$ sudo make
[sudo] password for manu: 
make: rospack: Command not found
Makefile:1: / No such file or directory
make: *** No rule to make target `/'.  Stop.
The makefile for this package looks like this:

[manu@manu rospy]$ cat Makefile 
include $(shell rospack find mk)/
If I understand correctly this file, it is trying to find the path of the '' file in order to execute it, but for some reason this is failing. If I execute directly in my bash shell:

[manu@manu rospy]$ rospack find mk
the 'rospack' command works correctly, so I don't understand why it doesn't work in the Makefile.
I'm not sure of how the '$(shell ...) part of the Makefile works, I think maybe the problem could be here... I'll really appreciate any help or suggestion about this .
Old 04-10-2012, 06:33 AM   #2
LQ Newbie
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
żAny suggestion about this? I've been looking for a while and haven't make any progress yet
Old 04-10-2012, 12:08 PM   #3
LQ Newbie
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I have solved this, it was a permission's issue. The rospack command was not visible to root, thus it was not resolving the path correctly.


build, makefile, package, robots

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kinect with ROS moving forward quickly mjolnir Linux - News 24 04-17-2012 02:43 PM
ros installation error vpriya Linux - Software 2 02-10-2012 12:38 AM
[SOLVED] linux kernerl3.0.0 build as rpm package got problem. xiutuo Linux - Server 2 08-18-2011 12:35 AM
What are the steps to build and install a Slackware package from a RPM package? sudeepkulkarni Slackware 6 04-25-2011 12:51 PM
[SOLVED] Build problem - ./configure output saying package is not present when it is. spoovy Linux - Software 5 04-07-2011 04:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration