[Bug 859] New: make install not possible when working in a ros environment

http://bugs.orocos.org/show_bug.cgi?id=859

Summary: make install not possible when working in a ros
environment
Product: Toolchain
Version: 2.3.1
Platform: All
OS/Version: GNU/Linux
Status: NEW
Severity: normal
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: tinne [dot] delaet [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

When trying make install in a orocos-ros package I get the following error:
make: *** No rule to make target `install'. Stop.

Therefore, it is impossible to install the headers of a package in a ros
environment.

[Bug 859] make install not possible when working in a ros enviro

http://bugs.orocos.org/show_bug.cgi?id=859

--- Comment #4 from Peter Soetens <peter [..] ...> 2011-05-05 12:45:59 CEST ---
(In reply to comment #0)
> When trying make install in a orocos-ros package I get the following error:
> make: *** No rule to make target `install'. Stop.
>
> Therefore, it is impossible to install the headers of a package in a ros
> environment.

You need to run 'install' from the build/ directory and not from the top source
directory. ROS does not support an install target. Generally, make install is
not required for ROS component packages.

Peter

[Bug 859] make install not possible when working in a ros enviro

http://bugs.orocos.org/show_bug.cgi?id=859

--- Comment #3 from Tinne De Laet <tinne [dot] delaet [..] ...> 2011-05-05 09:00:17 CEST ---
As shown in the attachment I already added the orocos_generate_package()
statement in my CMakeLists.txt.
This does not solve the make install issue.

[Bug 859] make install not possible when working in a ros enviro

http://bugs.orocos.org/show_bug.cgi?id=859

--- Comment #2 from Tinne De Laet <tinne [dot] delaet [..] ...> 2011-05-05 08:59:25 CEST ---
Created attachment 683
--> http://bugs.orocos.org/attachment.cgi?id=683
CMakeLists.txt

[Bug 859] make install not possible when working in a ros enviro

http://bugs.orocos.org/show_bug.cgi?id=859

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |peter [..] ...
Resolution| |INVALID

--- Comment #1 from Peter Soetens <peter [..] ...> 2011-05-04 18:00:14 CEST ---
(In reply to comment #0)
> When trying make install in a orocos-ros package I get the following error:
> make: *** No rule to make target `install'. Stop.
>
> Therefore, it is impossible to install the headers of a package in a ros
> environment.

You need to end your CMakeLists.txt file with the orocos_generate_package()
macro. Then the install target will be available.

Peter

[Bug 859] New: make install not possible when working in a ros e

2011/5/4 Tinne De Laet <tinne [dot] delaet [..] ...>

>
> http://bugs.orocos.org/show_bug.cgi?id=859
>
> Summary: make install not possible when working in a ros
> environment
> Product: Toolchain
> Version: 2.3.1
> Platform: All
> OS/Version: GNU/Linux
> Status: NEW
> Severity: normal
> Priority: P3
> Component: RTT
> AssignedTo: orocos-dev [..] ...
> ReportedBy: tinne [dot] delaet [..] ...
> CC: orocos-dev [..] ...
> Estimated Hours: 0.0
>
>
> When trying make install in a orocos-ros package I get the following error:
> make: *** No rule to make target `install'. Stop.
>
> Therefore, it is impossible to install the headers of a package in a ros
> environment.
>

Are you sure rosmake is generating such target ? ASAIK, there is no install
target yet, here is an answer I received sometime ago from the ros mailing
list

On Tue, Dec 14, 2010 at 3:54 PM, Willy Lambert <lambert [dot] willy [..] ...>
wrote:
> I don't need to cross compile, all are x86 Linux Systemes. It's like :
> "okay, I finished my developpement, know I would like to publish
precompiled
> binaires". Somehow it's like a make install which separates binairies from
> build tree.

hi Willy,

An install target for ROS is a long-standing feature request:
https://code.ros.org/trac/ros/ticket/946. It will come, in ROS 1.5.x.
In the meantime, you can't easily relocate a built source tree. To
transfer to another machine, your best bet is to tar up the built
source tree, copy it over, and untar it in the same location in the
filesystem.

>
> --
> Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You are the assignee for the bug.
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>