Re: [ros-users] Building catkin from source

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: ankursinha, User discussions
Emne: Re: [ros-users] Building catkin from source
On Sun, Mar 17, 2013 at 8:22 PM, Ankur Sinha <> wrote:

> On Sat, 2013-03-16 at 16:29 -0700, William Woodall wrote:
> > CATKIN_BUILD_BINARY_PACKAGE=1
>
> Hi William
>
> Is this a cmake variable, ie, do I run
>
> $ cmake -DCATKIN_BUILD_BINARY_PACKAGE="1" ..
>
> or is to be specified in another way. (I tried the above method and it
> still creates the .rosinstall and .catkin files)
>


Unfortunately, I am not sure that there is an option to prevent catkin from
producing these files for itself, the way that we use that option is to
prevent other packages (i.e. not catkin) from creating these files. This
prevents a conflict when targeting them to the same prefix and packaging
them into debs separately. But in our use case we still want catkin to
provide these files as they are useful when we are targeting a prefix other
than `/usr` or `/usr/local`.

Maybe Dirk Thomas can give some insight on how to disable this for catkin
too.

Likely what we will need to do is modify this line:

https://github.com/ros/catkin/blob/groovy-devel/cmake/all.cmake#L181

To read:

if(CATKIN_BUILD_BINARY_PACKAGE)

And then specifically not pass that argument to catkin only when we are
releasing for a prefix other than `/usr`.

I have opened a ticket about this on the catkin issue tracker, we should
continue the discussion there:

https://github.com/ros/catkin/issues/395

Also, we try to keep the traffic on ros-users low, so we should continue
any discussion on the issue tracker or as a question/answer on
answers.ros.org.

Thanks!


> --
> Thanks,
> Warm regards,
> Ankur: "FranciscoD"
>
> Please only print if necessary.
>
> Looking to contribute to Fedora? Look here:
> https://fedoraproject.org/wiki/Fedora_Join_SIG
>
> http://fedoraproject.org/wiki/User:Ankursinha
> http://dodoincfedora.wordpress.com/
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>