[ros-users] Need Help......Can't build rtm-ros-robotics

Kei Okada k-okada at jsk.t.u-tokyo.ac.jp
Mon May 21 06:54:09 UTC 2012


Hi,

I just post the answer to the answers.ros.org ->
http://answers.ros.org/question/34361/openrtm-ros-build-errors/?answer=34405#post-id-34405

On Mon, May 21, 2012 at 2:41 PM, Sam Quintanar <robosq at hotmail.com> wrote:
> Hello,
>
> I am trying to build rtm-ros-robotics ( at
> http://code.google.com/p/rtm-ros-robotics/wiki/ROS_English) on a 64 bit
> Ubuntu Lucid computer.
> After doing all prior instructions, errors happen when I do the following
> (please help me overcome these errors. I would love to use
> rtm-ros-robotics):
>
> sam at Mecha:~$ rosmake --rosdep-install --rosdep-yes hrpsys_ros_bridge
> [ rosmake ] Packages requested are:
> ['hrpsys_ros_bridge']
> [ rosmake ] Logging to
> directory/home/sam/.ros/rosmake/rosmake_output-20120520-231944
> [ rosmake ] Expanded args ['hrpsys_ros_bridge'] to:
> ['hrpsys_ros_bridge']
> [ rosmake ] Generating Install Script using rosdep then executing. This may
> take a minute, you will be prompted for permissions. . .
> Executing script below with cwd=/tmp
> {{{
> #!/usr/bin/env bash
> #!/bin/sh
> if [ ! -d /usr/share/doc/ttf-mscorefonts-installer ] ; then
>   echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula
> select true" | sudo debconf-set-selections
>   sudo apt-get -y --force-yes install ttf-mscorefonts-installer
>   sudo fc-cache
> fi
>
> }}}
>
> Executing script below with cwd=/tmp
> {{{
> #!/usr/bin/env bash
> if [ ! -f /usr/local/bin/xdotool ]; then
>   sudo aptitude install checkinstall libxtst-dev
>   wget http://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz
> -O /tmp/xdotool-2.2-$$.tar.gz
>   mkdir /tmp/xdotool-2.2-$$; tar -C /tmp/xdotool-2.2-$$ -xvzf
> /tmp/xdotool-2.2-$$.tar.gz; cd /tmp/xdotool-2.2-$$/xdotool-2.20110530.1;
> ./configure; make; sudo mkdir -p /usr/local/man/man1; sudo mkdir -p
> /usr/local/lib; sudo mkdir -p /usr/local/include; sudo checkinstall -y
> fi
>
> }}}
>
> Executing script below with cwd=/tmp
> {{{
> #!/usr/bin/env bash
> #!/bin/bash
> if [ ! -f /etc/apt/sources.list.d/openrave-release*.list ] ; then
>   echo "deb http://ppa.launchpad.net/openrave/release/ubuntu `lsb_release
> -cs` main" |  sudo tee /etc/apt/sources.list.d/openrave-release.list
>   sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
> 58E6B835EDC85D09
>   sudo apt-get -y update
> fi
> sudo apt-get -y --force-yes install libcollada15dom-dev
>
> }}}
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libcollada15dom-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
> Executing script below with cwd=/tmp
> {{{
> #!/usr/bin/env bash
> #!/bin/bash
> codename=`lsb_release -cs`
> if [ ! -f /usr/bin/glc-capture ] ; then
>   if [ $codename = "lucid" -o $codename = "maverick" -o $codename = "natty"
> ] ; then
>     sudo apt-get install -y build-essential cmake libx11-dev libxxf86vm-dev
> libgl1-mesa-dev libasound2-dev libpng12-dev
>     sudo apt-get install -y ia32-libs
>     sudo apt-get install -y gcc-multilib
>     sudo ln -s /usr/lib32/libGL.so.1 /usr/lib32/libGL.so
>     sudo ln -s /usr/lib32/libasound.so.2 /usr/lib32/libasound.so
>     sudo ln -s /usr/lib32/libXxf86vm.so.1 /usr/lib32/libXxf86vm.so
>     sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
>     sudo ln -s /usr/lib32/libpng12.so.0 /usr/lib32/libpng.so
>     wget https://raw.github.com/ienorand/glc/ppa/scripts/glc-build.sh
>     chmod a+x glc-build.sh
>     printf "/usr\n\ny\n" | sudo ./glc-build.sh
>   else
>     yes | sudo apt-add-repository ppa:arand
>     sudo apt-get update
>     sudo apt-get install -y glc
>   fi
> fi
>
> }}}
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> build-essential is already the newest version.
> cmake is already the newest version.
> libx11-dev is already the newest version.
> libxxf86vm-dev is already the newest version.
> libgl1-mesa-dev is already the newest version.
> libasound2-dev is already the newest version.
> libpng12-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> ia32-libs is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> gcc-multilib is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
> ln: creating symbolic link `/usr/lib32/libGL.so': File exists
> ln: creating symbolic link `/usr/lib32/libasound.so': File exists
> ln: creating symbolic link `/usr/lib32/libXxf86vm.so': File exists
> ln: creating symbolic link `/usr/lib32/libX11.so': File exists
> ln: creating symbolic link `/usr/lib32/libpng.so': File exists
> --2012-05-20 23:19:52--
> https://raw.github.com/ienorand/glc/ppa/scripts/glc-build.sh
> Resolving raw.github.com... 207.97.227.243
> Connecting to raw.github.com|207.97.227.243|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 8729 (8.5K) [text/plain]
> Saving to: `glc-build.sh'
>
> 100%[=========================================================================================>]
> 8,729       --.-K/s   in 0s
>
> 2012-05-20 23:19:52 (781 MB/s) - `glc-build.sh' saved [8729/8729]
>
> info  : Welcome to glc install script!
>         Enter path where glc will be installed.
>           (leave blank to install to root directory)
>       >         Enter compiler optimizations.
>           (-O2 -msse -mmmx -fomit-frame-pointer)
>       >         Use git (y/n)
>           (git contains latest unstable development version)
>       > Initialized empty Git repository in /tmp/glc/.git/
> remote: Counting objects: 3404, done.
> remote: Compressing objects: 100% (869/869), done.
> remote: Total 3404 (delta 2536), reused 3402 (delta 2534)
> Receiving objects: 100% (3404/3404), 529.77 KiB | 742 KiB/s, done.
> Resolving deltas: 100% (2536/2536), done.
> Initialized empty Git repository in /tmp/glc-support/.git/
> remote: Counting objects: 33, done.
> remote: Compressing objects: 100% (27/27), done.
> remote: Total 33 (delta 6), reused 33 (delta 6)
> Receiving objects: 100% (33/33), 46.93 KiB, done.
> Resolving deltas: 100% (6/6), done.
> Initialized empty Git repository in /tmp/elfhacks/.git/
> remote: Counting objects: 139, done.
> remote: Compressing objects: 100% (71/71), done.
> remote: Total 139 (delta 64), reused 139 (delta 64)
> Receiving objects: 100% (139/139), 25.95 KiB, done.
> Resolving deltas: 100% (64/64), done.
> Initialized empty Git repository in /tmp/packetstream/.git/
> remote: Counting objects: 108, done.
> remote: Compressing objects: 100% (55/55), done.
> remote: Total 108 (delta 53), reused 108 (delta 53)
> Receiving objects: 100% (108/108), 27.50 KiB, done.
> Resolving deltas: 100% (53/53), done.
> info  : Building elfhacks...
> info  : Building packetstream...
> info  : Building glc...
> CMake Warning (dev) at src/CMakeLists.txt:28 (ADD_EXECUTABLE):
>   Policy CMP0003 should be set before this line.  Add code such as
>
>     if(COMMAND cmake_policy)
>       cmake_policy(SET CMP0003 NEW)
>     endif(COMMAND cmake_policy)
>
>   as early as possible but after the most recent call to
>   cmake_minimum_required or cmake_policy(VERSION).  This warning appears
>   because target "play" links to some libraries for which the linker must
>   search:
>
>     GL, asound, X11, m, png
>
>   and other libraries with known full path:
>
>     /tmp/packetstream/build/src/libpacketstream.so
>
>   CMake is adding directories in the second list to the linker search path
> in
>   case they are needed to find libraries from the first list (for backwards
>   compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
>   or disable this behavior explicitly.  Run "cmake --help-policy CMP0003"
> for
>   more information.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> /tmp/glc/src/capture.c: In function ‘set_opt’:
> /tmp/glc/src/capture.c:338: warning: ignoring return value of ‘getcwd’,
> declared with attribute warn_unused_result
> /tmp/glc/src/glc/core/file.c: In function ‘file_set_target’:
> /tmp/glc/src/glc/core/file.c:139: warning: ignoring return value of
> ‘ftruncate’, declared with attribute warn_unused_result
> /usr/bin/ld: cannot find -lGL
> collect2: ld returned 1 exit status
> make[2]: *** [src/glc/libglc-play.so.0.5.8] Error 1
> make[1]: *** [src/glc/CMakeFiles/glc-play.dir/all] Error 2
> make: *** [all] Error 2
> error : Can't compile glc
> Executing script below with cwd=/tmp
> {{{
> #!/usr/bin/env bash
> #!/bin/bash
> if [ ! -f /etc/apt/sources.list.d/ferramroberto-java-`lsb_release -cs`.list
> ] ; then
>   yes | sudo add-apt-repository ppa:ferramroberto/java
>   sudo aptitude update
> fi
> echo "sun-java6-jdk shared/accepted-sun-dlj-v1-1 select true" | sudo
> debconf-set-selections
> echo "sun-java6-jre shared/accepted-sun-dlj-v1-1 select true" | sudo
> debconf-set-selections
> DEBIAN_FRONTEND=noninteractive sudo apt-get -y --force-yes install
> sun-java6-jdk sun-java6-fonts sun-java6-plugin
>
> }}}
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> sun-java6-jdk is already the newest version.
> sun-java6-fonts is already the newest version.
> sun-java6-plugin is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
> [ rosmake ] rosdep install failed: Rosdep install
> failed
> sam at Mecha:~$
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list