Re: [ros-users] Ros install issue: /opt/ros/ros/3rdparty/wx…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: ros-users
Subject: Re: [ros-users] Ros install issue: /opt/ros/ros/3rdparty/wxswig/build/SWIG-1.3.29 No targets. Stop.
Hi Marco,

It looks like the build of wxswig tries to use a command line syntax
which is not supported by your version of sed.

I suggest that you run rosinstall with the -n option to tell it not to
try to build anything(and generate the setup.sh). After sourcing the
setup.sh, rosmake wxswig to get all the dependencies (which will fail as
below.

Then "roscd wxswig" then make and see if you can find out more closely
where things are going wrong.

Tully

On 12/23/2010 05:13 AM, Marco Clocchiatti wrote:
> I'm installing ros on a gentoo box, following these wiki instructions:
> http://www.ros.org/wiki/cturtle/Installation/Gentoo
>
> this command fails after download:
> rosinstall /opt/ros
> "https://code.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no"
>
> here the error:
>
> [rosmake-2] Starting>>>  test_roscpp_serialization [ make ]
> [ rosmake ] Last 40 linesswig: 11.9 sec ] [ rosou... [ 4 Active 28/72 Complete ]
> {-------------------------------------------------------------------------------
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/guilescm/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/java/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/mzscheme/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/ocaml/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/perl5/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/php4/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/pike/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/python/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/ruby/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/tcl/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/lua/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/allegrocl/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/clisp/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/cffi/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Examples/test-suite/uffi/Makefile
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating preinst-swig
>    sed: file ./confstatY2pQjG/subs-4.sed line 3: unterminated `s' command
>    config.status: creating Source/Include/swigconfig.h
>    config.status: Source/Include/swigconfig.h is unchanged
>    config.status: executing depfiles commands
>    make[1]: Entering directory `/opt/ros/ros/3rdparty/wxswig/build/SWIG-1.3.29'
>    make[1]: *** No targets.  Stop.
>    make[1]: Leaving directory `/opt/ros/ros/3rdparty/wxswig/build/SWIG-1.3.29'
> -------------------------------------------------------------------------------}
> [ rosmake ] Output from build of package wxswig written to:
> [ rosmake ]    /root/.ros/rosmake/rosmake_output-20101223-135645/wxswig/build_output.log
> [rosmake-3] Finished<<<  wxswig [FAIL] [ 11.94 seconds ]
> [ rosmake ] Halting due to failure in package wxswig.
> [ rosmake ] Waiting for other threads to complete.
> [rosmake-0] Finished<<<  test_roscpp_serialization_perf [PASS] [ 6.68 seconds ]
> [rosmake-1] Finished<<<  rosout [PASS] [ 8.72 seconds ]
> [rosmake-2] Finished<<<  test_roscpp_serialization [PASS] [ 15.96 seconds ]
> [ rosmake ] Results:
> [ rosmake ] Built 32 packages with 1 failures.
> [ rosmake ] Summary output to directory
> [ rosmake ] /root/.ros/rosmake/rosmake_output-20101223-135645
> rosinstall operating on /opt/ros from specifications in rosinstall
> files  /opt/ros/.rosinstall,
> https://code.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no
> Installing https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.2.4  to
> /opt/ros/ros
> Installing https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-0.0.1
>   to /opt/ros/ros_comm
> Installing https://code.ros.org/svn/ros/stacks/ros_tutorials/tags/ros_tutorials-0.2.3
>   to /opt/ros/ros_tutorials
> Bootstrapping ROS build
> Traceback (most recent call last):
>    File "/usr/bin/rosinstall", line 5, in<module>
>      pkg_resources.run_script('rosinstall==0.5.9', 'rosinstall')
>    File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line
> 468, in run_script
>      self.require(requires)[0].run_script(script_name, ns)
>    File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line
> 1201, in run_script
>      execfile(script_filename, namespace, namespace)
>    File "/usr/lib64/python2.6/site-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall",
> line 506, in<module>
>      sys.exit(not rosinstall_main(sys.argv))
>    File "/usr/lib64/python2.6/site-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall",
> line 497, in rosinstall_main
>      subprocess.check_call("source %s&&  rosmake ros --rosdep-install"
> % (os.path.join(options.path, 'setup.sh')), shell=True,
> executable='/bin/bash')
>    File "/usr/lib64/python2.6/subprocess.py", line 488, in check_call
>      raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command 'source /opt/ros/setup.sh&&
> rosmake ros --rosdep-install' returned non-zero exit status 1
> ^C
> [1]+  Exit 1                  nohup rosinstall /opt/ros
> "https://code.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no"
>> ros.txt 2>&1
> _______________________________________________
> ros-users mailing list
> 
> https://code.ros.org/mailman/listinfo/ros-users