On Sunday 12 September 2010 20:57:14 Stefan Kohlbrecher wrote: > Hi Ruben, > > I just wanted to try out orocos_ros_toolchain and start a new topic > about this very error on the mailing list, but alas, the developer > beat me to it. So I'm probably guessing right that it will be fixed > soon? It should be fixed at this very moment. If you have more problems do not hesitate to start a thread on either ros-users or orocos-users. Best, Ruben > regards, > Stefan > > 2010/9/10 Ruben Smits : > > Hi, > > > > I'm trying to create a rospackage for an existing piece of > > code. > > I'm using mk/download_unpack_build.mk to do this: > > > > TARBALL = toolchain-2.0 > > TARBALL_URL = http://gitorious.org/orocos- > > toolchain/rtt/archive-tarball/toolchain-2.0 > > SOURCE_DIR = orocos-toolchain-rtt > > TARBALL_PATCH = > > #INITIAL_DIR = orocos-toolchain-rtt > > > > include $(shell rospack find mk)/download_unpack_build.mk > > > > but I get the following error: > > > > make > > mkdir -p build > > `rospack find rosbuild`/bin/download_checkmd5.py > > http://gitorious.org/orocos-toolchain/rtt/archive- > > tarball/toolchain-2.0 toolchain-2.0 > > [rosbuild] Downloading http://gitorious.org/orocos- > > toolchain/rtt/archive-tarball/toolchain-2.0 to > > toolchain-2.0...Done > > touch -c toolchain-2.0 > > rm -rf orocos-toolchain-rtt > > cd build; tar xzf ../toolchain-2.0 > > touch orocos-toolchain-rtt/unpacked > > touch: cannot touch `orocos-toolchain-rtt/unpacked': No > > such file or directory > > > > After taking a look at mk/download_unpack_build.mk I noticed > > the problem, its is unpacking the tarball into the build > > directory, the result is that ${SOURCE_DIR} always needs the > > build prefix? Is this intended, because it is very confusing as > > the documentation does not explicity tell you that you need > > to add the build prefix in your ${SOURCE_DIR}. The same > > constraint holds for ${INITIAL_DIR}. (The example also has > > the build prefix) > > > > adding 'cd build ;' to all commands could fix the problem. > > > > Ruben > > > > > > _______________________________________________ > > ros-users mailing list > > ros-users@code.ros.org > > https://code.ros.org/mailman/listinfo/ros-users