[ros-users] kdl compilation problem

Ivan Dryanovski ivan.dryanovski at gmail.com
Mon May 24 16:50:09 UTC 2010


Hi,

I am having trouble compiling the kdl package. From what I can tell,
when making it, it goes into some infinite loop and hangs when trying
to make PyKDL.so. I am attaching the result of rosmake and make on the
kdl package. In both cases, I need to Ctrl-C or it doesn't return.

Thanks,
Ivan Dryanovski
-------------- next part --------------
~/ros/stacks/geometry/kdl$ make
mkdir -p kdl-svn-trunk/build
cd kdl-svn-trunk/build && cmake -DCMAKE_INSTALL_PREFIX=`rospack find kdl`/kdl/ -DPYTHON_BINDINGS=ON -DBUILD_MODELS=OFF -DBOOST:STRING= -DEIGEN2_INCLUDE_DIR=`rospack cflags-only-I eigen| cut -d ' ' -f 1` -DTINYXML_INCLUDE_DIR=`rospack cflags-only-I tinyxml| cut -d ' ' -f 1` -DCMAKE_BUILD_TYPE="Release" ..
Orocos KDL version  (1.0.99)
Build type set to 'Release' by user.
-- -- Looking for Eigen2 - found
-- Python libraries found
-- Found SIP version: 4.9.1-snapshot-20091015
-- Python bindings enabled
Disabling packaging for version 2.8
-- Configuring done
-- Generating done
-- Build files have been written to: /home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build
cd kdl-svn-trunk/build && make  && make install
make[1]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[2]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[3]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[3]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[3]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[3]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[3]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[4]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[5]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[6]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[6]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[6]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[6]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[6]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[7]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[8]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[9]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[9]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[9]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[9]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[9]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[10]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[11]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[12]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[12]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[12]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[12]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[12]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[13]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[14]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[15]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[15]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[15]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[15]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[15]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[16]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[17]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[18]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[18]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[18]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[18]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[18]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[19]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[20]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[21]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[21]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[21]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[21]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[21]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[22]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[23]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[24]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[24]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[24]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[24]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[24]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
make[25]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
make[26]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[27]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[27]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
make[27]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[27]: Leaving directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
make[27]: Entering directory `/home/idryanov/ros/stacks/geometry/kdl/kdl-svn-trunk/build'
[ 96%] ^Cmake[27]: *** [src/bindings/python/PyKDL.so] Interrupt
make[26]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[25]: *** [all] Interrupt
make[24]: *** [src/bindings/python/PyKDL.so] Interrupt
make[23]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[22]: *** [all] Interrupt
make[21]: *** [src/bindings/python/PyKDL.so] Interrupt
make[20]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[19]: *** [all] Interrupt
make[18]: *** [src/bindings/python/PyKDL.so] Interrupt
make[17]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[16]: *** [all] Interrupt
make[15]: *** [src/bindings/python/PyKDL.so] Interrupt
make[14]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[13]: *** [all] Interrupt
make[12]: *** [src/bindings/python/PyKDL.so] Interrupt
make[11]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[10]: *** [all] Interrupt
make[9]: *** [src/bindings/python/PyKDL.so] Interrupt
make[8]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[7]: *** [all] Interrupt
make[6]: *** [src/bindings/python/PyKDL.so] Interrupt
make[5]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[4]: *** [all] Interrupt
make[3]: *** [src/bindings/python/PyKDL.so] Interrupt
make[2]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
make[1]: *** [all] Interrupt
make: *** [installed] Interrupt

-------------- next part --------------
~/ros/stacks/geometry/kdl$ roscd kdl
~/ros/stacks/geometry/kdl$ svn up
At revision 29774.
~/ros/stacks/geometry/kdl$ rosdep install kdl
executing this script:
 set -o errexit
#No Packages to install
~/ros/stacks/geometry/kdl$ rosmake kdl
[ rosmake ] Packages requested are: ['kdl']
[ rosmake ] Logging to directory
[ rosmake ] /home/idryanov/.ros/rosmake/rosmake_output-20100524-124112
[ rosmake ] Expanded args ['kdl'] to:
['kdl']
[ rosmake ] Checking rosdeps compliance for packages kdl.  This may take a few seconds.
[ rosmake ] rosdep check passed all system dependencies in packages
[ rosmake ] Prebuilding rospack
[ rosmake ] Prebuilding gtest
[ rosmake ] Prebuilding genmsg_cpp
[ rosmake ] [ 2 of 15  Completed ]
[rosmake-0] >>> eigen >>> [ make ]
[ rosmake ] [ 2 of 15  Completed ]
[rosmake-1] >>> pycrypto >>> [ make ]
[rosmake-0] <<< eigen <<< [PASS] [ 0.01 seconds ]
[ rosmake ] [ 2 of 15  Completed ]
[rosmake-2] >>> roslang >>> [ make ]
[rosmake-2] <<< roslang <<<  No Makefile in package roslang

[ rosmake ] [ 2 of 15  Completed ]
[rosmake-3] >>> roslib >>> [ make ]
[rosmake-1] <<< pycrypto <<< [PASS] [ 0.01 seconds ]
[ rosmake ] [ 2 of 15  Completed ]
[rosmake-4] >>> xmlrpcpp >>> [ make ]
[ rosmake ] [ 4 of 15  Completed ]
[rosmake-2] >>> kdl >>> [ make ]
[ rosmake ] [ 5 of 15  Completed ]
[rosmake-0] >>> paramiko >>> [ make ]
[rosmake-0] <<< paramiko <<< [PASS] [ 0.01 seconds ]
[rosmake-4] <<< xmlrpcpp <<< [PASS] [ 0.45 seconds ]
[rosmake-3] <<< roslib <<< [PASS] [ 0.89 seconds ]
[ rosmake ] [ 8 of 15  Completed ]
[ rosmake ] [ 8 of 15  Completed ]
[rosmake-1][rosmake-3] >>> rosconsole >>> [ make ]
 >>> rospy >>> [ make ]
[rosmake-3] <<< rospy <<< [PASS] [ 0.34 seconds ]
[rosmake-1] <<< rosconsole <<< [PASS] [ 0.56 seconds ]
[ rosmake ] [ 10 of 15  Completed ]
[rosmake-1] >>> roscpp >>> [ make ]
[rosmake-1] <<< roscpp <<< [PASS] [ 1.00 seconds ]
[ rosmake ] [ 11 of 15  Completed ]
[rosmake-7] >>> rosout >>> [ make ]
[rosmake-7] <<< rosout <<< [PASS] [ 0.39 seconds ]
[ rosmake ] [ 12 of 15  Completed ]
[rosmake-0] >>> roslaunch >>> [ make ]
[rosmake-0] <<< roslaunch <<<  No Makefile in package roslaunch

[ rosmake ] [ 13 of 15  Completed ]
[rosmake-1] >>> rostest >>> [ make ]
[rosmake-1] <<< rostest <<< [PASS] [ 0.35 seconds ]
^C[ rosmake ] Last 40 lines
{-------------------------------------------------------------------------------
  make[39]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[38]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[37]: *** [all] Interrupt
  make[36]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[35]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[34]: *** [all] Interrupt
  make[33]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[32]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[31]: *** [all] Interrupt
  make[30]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[29]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[28]: *** [all] Interrupt
  make[27]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[26]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[25]: *** [all] Interrupt
  make[24]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[23]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[22]: *** [all] Interrupt
  make[21]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[20]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[19]: *** [all] Interrupt
  make[18]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[17]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[16]: *** [all] Interrupt
  make[15]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[14]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[13]: *** [all] Interrupt
  make[12]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[11]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[10]: *** [all] Interrupt
  make[9]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[8]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[7]: *** [all] Interrupt
  make[6]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[5]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[4]: *** [all] Interrupt
  make[3]: *** [src/bindings/python/PyKDL.so] Interrupt
  make[2]: *** [src/bindings/python/CMakeFiles/python.dir/all] Interrupt
  make[1]: *** [all] Interrupt
-------------------------------------------------------------------------------}
[rosmake-2] <<< kdl <<< [Interrupted]
[ rosmake ] Halting due to failure in package kdl. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Caught KeyboardInterrupt. Stopping build.
[ rosmake ] Summary output to directory
[ rosmake ] /home/idryanov/.ros/rosmake/rosmake_output-20100524-124112


More information about the ros-users mailing list