Boost 1.42 required after reuse of an autoproj install

Hi all,

I used the standard Orocos Toolchain on my development computer in order to
build all the stuff. Then I took the [autroj_path]/install directory and tar
it in order to save and reuse it.

On a second computer, I tried to un tar it in [autroj_path]/install without
having boostrat it.
I apt-get install required packages (libbbost-al-dev libreadline-dev) as
mentionned here :
http://www.orocos.org/stable/documentation/rtt/v2.x/doc-xml/orocos-insta...

When I run the deployer I have the following error

root@wixibox:/opt/orocos2/install/bin# ./deployer-gnulinux
./deployer-gnulinux: error while loading shared libraries:
libboost_program_options.so.1.42.0: cannot open shared object file: No such
file or directory
root@wixibox:/opt/orocos2/install/bin# apt-cache search libboost

My question is not why I have this error because it's clear (My version of
boost is 1.40 annd the dpeloyer ask for 1.42), but what's happening ? Is
autoproj using different package than the "manual installation"
documentation guide ? Is my copy/paste installation a mistake (OS a quite
the same, same OS version and globally identical package)

The reason why I do not use boostrap on my target is that it uses a huge
amount of memory (something like 600Mb on a 2Gb target) and installed non
direct utility package like java-stuff.

Boost 1.42 required after reuse of an autoproj install

On Sunday 03 October 2010 16:45:24 Willy Lambert wrote:
> Hi all,
>
> I used the standard Orocos Toolchain on my development computer in order to
> build all the stuff. Then I took the [autroj_path]/install directory and
> tar it in order to save and reuse it.
>
> On a second computer, I tried to un tar it in [autroj_path]/install without
> having boostrat it.
> I apt-get install required packages (libbbost-al-dev libreadline-dev) as
> mentionned here :
> http://www.orocos.org/stable/documentation/rtt/v2.x/doc-xml/orocos-installa
> tion.html#setup_intro
>
> When I run the deployer I have the following error
>
> root@wixibox:/opt/orocos2/install/bin# ./deployer-gnulinux
> ./deployer-gnulinux: error while loading shared libraries:
> libboost_program_options.so.1.42.0: cannot open shared object file: No such
> file or directory
> root@wixibox:/opt/orocos2/install/bin# apt-cache search libboost
>
>
> My question is not why I have this error because it's clear (My version of
> boost is 1.40 annd the dpeloyer ask for 1.42), but what's happening ? Is
> autoproj using different package than the "manual installation"
> documentation guide ? Is my copy/paste installation a mistake (OS a quite
> the same, same OS version and globally identical package)

We have a file in autoproj that describes the os dependencies + version numbers
to install. For boost, these were kind-of arbitrary. There was informal
agreement that on ubuntu/debian systems, it should be changed to 'libboost-
dev', but even more, if you want to avoid issues like this, you need to answer
'no' for the 'automatic install feature' question. Answering 'yes' is like
saying : 'i don't care about versions'.

Peter

Boost 1.42 required after reuse of an autoproj install

Ok I'll look at this

2010/10/4 Peter Soetens <peter [..] ...>

> On Sunday 03 October 2010 16:45:24 Willy Lambert wrote:
> > Hi all,
> >
> > I used the standard Orocos Toolchain on my development computer in order
> to
> > build all the stuff. Then I took the [autroj_path]/install directory and
> > tar it in order to save and reuse it.
> >
> > On a second computer, I tried to un tar it in [autroj_path]/install
> without
> > having boostrat it.
> > I apt-get install required packages (libbbost-al-dev libreadline-dev) as
> > mentionned here :
> >
> http://www.orocos.org/stable/documentation/rtt/v2.x/doc-xml/orocos-installa
> > tion.html#setup_intro
> >
> > When I run the deployer I have the following error
> >
> > root@wixibox:/opt/orocos2/install/bin# ./deployer-gnulinux
> > ./deployer-gnulinux: error while loading shared libraries:
> > libboost_program_options.so.1.42.0: cannot open shared object file: No
> such
> > file or directory
> > root@wixibox:/opt/orocos2/install/bin# apt-cache search libboost
> >
> >
> > My question is not why I have this error because it's clear (My version
> of
> > boost is 1.40 annd the dpeloyer ask for 1.42), but what's happening ? Is
> > autoproj using different package than the "manual installation"
> > documentation guide ? Is my copy/paste installation a mistake (OS a quite
> > the same, same OS version and globally identical package)
>
> We have a file in autoproj that describes the os dependencies + version
> numbers
> to install. For boost, these were kind-of arbitrary. There was informal
> agreement that on ubuntu/debian systems, it should be changed to 'libboost-
> dev', but even more, if you want to avoid issues like this, you need to
> answer
> 'no' for the 'automatic install feature' question. Answering 'yes' is like
> saying : 'i don't care about versions'.
>
> Peter
>
>
>