Autoproj seems not installed

Hi,

I installed orocos-toolchain using the bootstrap.sh script succefully a week ago, but is seems that autoproj is not installed. I don't find a program called 'autoproj'. It is not in the orocos-toolchain/install/bin folder nor in the orocos-toolchain/autoproj folder. I did append 'source /opt/orocos-toolchain/env.sh ' to my .bashrc

Do I need to do a separate build for that and how? (no CMakeLists or Makefile in autoproj folder)

Even more surprisingly, the search engine of the orocos forum crashes on 'autoproj' and not on other search terms...

Thanks!

Bert

Autoproj seems not installed

On Wednesday 17 November 2010 04:11:25 bert [dot] willaert [..] ... wrote:
> Hi,
>
> I installed orocos-toolchain using the bootstrap.sh script succefully a
> week ago, but is seems that autoproj is not installed. I don't find a
> program called 'autoproj'. It is not in the orocos-toolchain/install/bin
> folder nor in the orocos-toolchain/autoproj folder. I did append 'source
> /opt/orocos-toolchain/env.sh ' to my .bashrc
>
> Do I need to do a separate build for that and how? (no CMakeLists or
> Makefile in autoproj folder)
>
> Even more surprisingly, the search engine of the orocos forum crashes on
> 'autoproj' and not on other search terms...

The terms 'toolchain' and 'wiki' makes it crash too. I'll ask our hoster how
we can get more memory.

Peter

Autoproj seems not installed

On 11/17/2010 04:11 AM, bert [dot] willaert [..] ... wrote:
> Hi,
>
> I installed orocos-toolchain using the bootstrap.sh script succefully a week ago, but is seems that autoproj is not installed. I don't find a program called 'autoproj'. It is not in the orocos-toolchain/install/bin folder nor in the orocos-toolchain/autoproj folder. I did append 'source /opt/orocos-toolchain/env.sh
> ' to my .bashrc
If the toolchain got instaled, autoproj got installed. autoproj is the
tool that builds and installs everything.

autoproj gets installed as a RubyGems. You env.sh should include

GEM_HOME=/opt/orocos-toolchain/.gems

and /opt/orocos-toolchain/.gems/bin should be in PATH also in the
env.sh. Can you send us the env.sh file ?

> Do I need to do a separate build for that and how? (no CMakeLists or Makefile in autoproj folder)
It is a ruby package and needs no build process

Autoproj seems not installed

On 11/17/2010 04:11 AM, bert [dot] willaert [..] ... wrote:
> Hi,
>
> I installed orocos-toolchain using the bootstrap.sh script succefully a week ago, but is seems that autoproj is not installed. I don't find a program called 'autoproj'. It is not in the orocos-toolchain/install/bin folder nor in the orocos-toolchain/autoproj folder. I did append 'source /opt/orocos-toolchain/env.sh
> ' to my .bashrc
Can you send us the env.sh ?

autoproj is installed as a RubyGem in $GEM_HOME/bin. $GEM_HOME/bin
should be added to PATH in the env.sh script

> Do I need to do a separate build for that and how? (no CMakeLists or Makefile in autoproj folder)
If anything got installed, autoproj got installed. autoproj is what
installs everything ...

Thanks for the reply,My

Thanks for the reply,

My env.sh file contains the two things you mentioned and I checked in the folder 'opt/orocos-toolchain/.gems/bin/' and autoproj is there indeed. However I tried several ways to use it and these are the responses I get:
----------------------------------------------------------------------------------------------

bwillaert@ins:/wg/stor2a/bwillaert<$> autoproj update
/opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/lib/autoproj/system.rb:21:in `root_dir': not in a Autoproj installation (Autoproj::UserError)
	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:76
	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:23:in `report'
	from /opt/orocos-toolchain/.gems/gems/autobuild-1.5.23/lib/autobuild/reporting.rb:78:in `report'
	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:22:in `report'
	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:51
	from /opt/orocos-toolchain/.gems/bin/autoproj:19:in `load'
	from /opt/orocos-toolchain/.gems/bin/autoproj:19

----------------------------------------------------------------------------------------------
bwillaert@ins:/wg/stor2a/bwillaert$ sudo autoproj update
sudo: autoproj: command not found

----------------------------------------------------------------------------------------------
If I try from within the GEM_HOME/bin folder, I get this:

bwillaert@ins:/opt/orocos-toolchain/.gems/bin sudo ./autoproj update
/usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem autoproj (>= 0) (Gem::LoadError)
	from /usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
	from /usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
	from ./autoproj:18
bwillaert@ins://opt/orocos-toolchain/.gems/bin$ 

So what am I doing wrong?

Thanks for the reply,My

Thanks for the reply,

My env.sh file contains the two things you mentioned and I checked in the folder 'opt/orocos-toolchain/.gems/bin/' and autoproj is there indeed. However I tried several ways to use it and these are the responses I get:


bwillaert@ins:/wg/stor2a/bwillaert<$> autoproj update
/opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/lib/autoproj/system.rb:21:in `root_dir': not in a Autoproj installation (Autoproj::UserError)
    from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:76
    from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:23:in `report'
    from /opt/orocos-toolchain/.gems/gems/autobuild-1.5.23/lib/autobuild/reporting.rb:78:in `report'
    from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:22:in `report'
    from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:51
    from /opt/orocos-toolchain/.gems/bin/autoproj:19:in `load'
    from /opt/orocos-toolchain/.gems/bin/autoproj:19

bwillaert@ins:/wg/stor2a/bwillaert$ sudo autoproj update
sudo: autoproj: command not found

If I try from within the GEM_HOME/bin folder, I get this:

bwillaert@ins:/opt/orocos-toolchain/.gems/bin sudo ./autoproj update
/usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem autoproj (>= 0) (Gem::LoadError)
    from /usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
    from /usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
    from ./autoproj:18
bwillaert@ins://opt/orocos-toolchain/.gems/bin$ 

So what am I doing wrong?

Thanks for the reply,My

On 11/17/2010 08:45 PM, bert [dot] willaert [..] ... wrote:
> Thanks for the reply,
>
> My env.sh file contains the two things you mentioned and I checked in the folder 'opt/orocos-toolchain/.gems/bin/' and autoproj is there indeed. However I tried several ways to use it and these are the responses I get:
> ----------------------------------------------------------------------------------------------
>

bwillaert@ins:/wg/stor2a/bwillaert<$>  autoproj update
> /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/lib/autoproj/system.rb:21:in `root_dir': not in a Autoproj installation (Autoproj::UserError)
> 	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:76
> 	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:23:in `report'
> 	from /opt/orocos-toolchain/.gems/gems/autobuild-1.5.23/lib/autobuild/reporting.rb:78:in `report'
> 	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:22:in `report'
> 	from /opt/orocos-toolchain/.gems/gems/autoproj-1.6.2/bin/autoproj:51
> 	from /opt/orocos-toolchain/.gems/bin/autoproj:19:in `load'
> 	from /opt/orocos-toolchain/.gems/bin/autoproj:19

> ----------------------------------------------------------------------------------------------
>
bwillaert@ins:/wg/stor2a/bwillaert$ sudo autoproj update
> sudo: autoproj: command not found

> ----------------------------------------------------------------------------------------------
> If I try from within the GEM_HOME/bin folder, I get this:
>
>
bwillaert@ins:/opt/orocos-toolchain/.gems/bin sudo ./autoproj update
> /usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem autoproj (>= 0) (Gem::LoadError)
> 	from /usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
> 	from /usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
> 	from ./autoproj:18
> bwillaert@ins://opt/orocos-toolchain/.gems/bin$

>
> So what am I doing wrong?

First, you have to run it from within the installation folder
(/opt/orocos-tooclhain in your case). I'll make the error message more
explicit.

Second, you are doing the "sudo" wrong. There is no need for sudo, and
sudo is the reason why autoproj can't be found.

Autoproj seems not installed

Hi,

I installed orocos-toolchain using the bootstrap.sh script succefully a week ago, but is seems that autoproj is not installed. I don't find a program called 'autoproj'. It is not in the orocos-toolchain/install/bin folder nor in the orocos-toolchain/autoproj folder. I did append 'source /opt/orocos-toolchain/env.sh
' to my .bashrc

Do I need to do a separate build for that and how? (no CMakeLists or Makefile in autoproj folder)

Even more surprisingly, the search engine of the orocos forum crashes on 'autoproj' and not on other search terms...

Thanks!

Bert