Failed to compile utilrb in a ROS_ROOT environnement

Hi,

I just checkout and compiled a fresh version of orocos_toolchain_ros. I
always switch orocos submodules to their toolchain_2.3 branches. The build
failed on utilrb with this log :

gem install rake flexmock nokogiri facets
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt is missing. please visit
http://nokogiri.org/tutorials/installing_nokogiri.html for help with
installing dependencies.
-----

I think something is missing in the utilrb's manifest file, you be a
"<depend name="xslt">"
and somewhere in a rosdep.yaml "xslt: libxslt1-dev"

Failed to compile utilrb in a ROS_ROOT environnement

On Mon, Apr 11, 2011 at 5:14 PM, Willy Lambert <lambert [dot] willy [..] ...> wrote:
> Hi,
>
> I just checkout and compiled a fresh version of orocos_toolchain_ros. I
> always switch orocos submodules to their toolchain_2.3 branches. The build
> failed on utilrb with this log :
>
>
> gem install rake flexmock nokogiri facets
> ERROR:  Error installing nokogiri:
>         ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby1.8 extconf.rb
> checking for libxml/parser.h... yes
> checking for libxslt/xslt.h... no
> -----
> libxslt is missing.  please visit
> http://nokogiri.org/tutorials/installing_nokogiri.html for help with
> installing dependencies.
> -----
>
>
> I think something is missing in the utilrb's manifest file, you be a
> "<depend name="xslt">"
> and somewhere in a rosdep.yaml  "xslt: libxslt1-dev"

utilrb already depends on 'ruby', which is defined as such in the
rosdep.yaml file of the orocos_toolchain_ros stack:

ruby:
ubuntu:
'10.10': ruby1.8-dev libruby1.8 rubygems1.8 libxslt-dev
'10.04': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
'9.10': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
'9.04': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
fedora: ruby ruby-devel openssl-devel rubygems
debian: ruby1.8-dev libruby1.8 rubygems1.8

Are you working on a Debian system ? That could explain why
libxslt-dev is not installed.

In the end, I think that Sylvain's proposal is more correct, to add
nokogiri as a dependency and map that to libxslt-dev in the depend
files of the respective build systems.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Failed to compile utilrb in a ROS_ROOT environnement

2011/4/11 Peter Soetens <peter [..] ...>

> On Mon, Apr 11, 2011 at 5:14 PM, Willy Lambert <lambert [dot] willy [..] ...>
> wrote:
> > Hi,
> >
> > I just checkout and compiled a fresh version of orocos_toolchain_ros. I
> > always switch orocos submodules to their toolchain_2.3 branches. The
> build
> > failed on utilrb with this log :
> >
> >
> > gem install rake flexmock nokogiri facets
> > ERROR: Error installing nokogiri:
> > ERROR: Failed to build gem native extension.
> >
> > /usr/bin/ruby1.8 extconf.rb
> > checking for libxml/parser.h... yes
> > checking for libxslt/xslt.h... no
> > -----
> > libxslt is missing. please visit
> > http://nokogiri.org/tutorials/installing_nokogiri.html for help with
> > installing dependencies.
> > -----
> >
> >
> > I think something is missing in the utilrb's manifest file, you be a
> > "<depend name="xslt">"
> > and somewhere in a rosdep.yaml "xslt: libxslt1-dev"
>
> utilrb already depends on 'ruby', which is defined as such in the
> rosdep.yaml file of the orocos_toolchain_ros stack:
>
> ruby:
> ubuntu:
> '10.10': ruby1.8-dev libruby1.8 rubygems1.8 libxslt-dev
> '10.04': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
> '9.10': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
> '9.04': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
> fedora: ruby ruby-devel openssl-devel rubygems
> debian: ruby1.8-dev libruby1.8 rubygems1.8
>
> Are you working on a Debian system ?

yes, Squeeze 6.0.1

> That could explain why
> libxslt-dev is not installed.
>
> In the end, I think that Sylvain's proposal is more correct, to add
> nokogiri as a dependency and map that to libxslt-dev in the depend
> files of the respective build systems.
>
> Peter
>

Failed to compile utilrb in a ROS_ROOT environnement

On Mon, Apr 11, 2011 at 6:01 PM, Willy Lambert <lambert [dot] willy [..] ...> wrote:
>
>
> 2011/4/11 Peter Soetens <peter [..] ...>
>>
>> On Mon, Apr 11, 2011 at 5:14 PM, Willy Lambert <lambert [dot] willy [..] ...>
>> wrote:
>> > Hi,
>> >
>> > I just checkout and compiled a fresh version of orocos_toolchain_ros. I
>> > always switch orocos submodules to their toolchain_2.3 branches. The
>> > build
>> > failed on utilrb with this log :
>> >
>> >
>> > gem install rake flexmock nokogiri facets
>> > ERROR:  Error installing nokogiri:
>> >         ERROR: Failed to build gem native extension.
>> >
>> > /usr/bin/ruby1.8 extconf.rb
>> > checking for libxml/parser.h... yes
>> > checking for libxslt/xslt.h... no
>> > -----
>> > libxslt is missing.  please visit
>> > http://nokogiri.org/tutorials/installing_nokogiri.html for help with
>> > installing dependencies.
>> > -----
>> >
>> >
>> > I think something is missing in the utilrb's manifest file, you be a
>> > "<depend name="xslt">"
>> > and somewhere in a rosdep.yaml  "xslt: libxslt1-dev"
>>
>> utilrb already depends on 'ruby', which is defined as such in the
>> rosdep.yaml file of the orocos_toolchain_ros stack:
>>
>> ruby:
>>  ubuntu:
>>    '10.10': ruby1.8-dev libruby1.8 rubygems1.8 libxslt-dev
>>    '10.04': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
>>    '9.10': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
>>    '9.04': ruby1.8-dev libopenssl-ruby1.8 rubygems1.8 libxslt-dev
>>  fedora: ruby ruby-devel openssl-devel rubygems
>>  debian: ruby1.8-dev libruby1.8 rubygems1.8
>>
>> Are you working on a Debian system ?
>
> yes, Squeeze 6.0.1
>
>>
>> That could explain why
>> libxslt-dev is not installed.
>>
>> In the end, I think that Sylvain's proposal is more correct, to add
>> nokogiri as a dependency and map that to libxslt-dev in the depend
>> files of the respective build systems.
>>
>> Peter

I pushed the proposed change to utilrb, orocos.osdeps and the
rosdep.yaml file of the orocos_toolchain_ros.

Since Ruben used a cloned utilrb repository, he'll need to pull my
changes from gitorious or switch the utilrb submodule to gitorious.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Failed to compile utilrb in a ROS_ROOT environnement

On 04/11/2011 05:14 PM, Willy Lambert wrote:
> I think something is missing in the utilrb's manifest file, you be a
> "<depend name="xslt">"
> and somewhere in a rosdep.yaml "xslt: libxslt1-dev"

This does not apply to utilrb but to orogen and typelib. Since orogen
depends on typelib, it means that you only need to add it to typelib.

Moreover, unless rosdep started using <depend ...> for both normal and
osdeps dependencies as autoproj does, you need to use <rosdep package= />

Finally, I would be glad that <rosdep name="nokogiri" /> gets added, and
not xslt (and have the osdeps file have nokogiri: libxslt1-dev). That
would be cleaner on the autoproj side (which can understand that
'nokogiri' requires installing both the nokogiri gem and the
libxslt1-dev package)

Failed to compile utilrb in a ROS_ROOT environnement

2011/4/11 Sylvain Joyeux <sylvain [dot] joyeux [..] ...>

> On 04/11/2011 05:14 PM, Willy Lambert wrote:
>
>> I think something is missing in the utilrb's manifest file, you be a
>> "<depend name="xslt">"
>> and somewhere in a rosdep.yaml "xslt: libxslt1-dev"
>>
>
> This does not apply to utilrb but to orogen and typelib. Since orogen
> depends on typelib, it means that you only need to add it to typelib.
>
> Moreover, unless rosdep started using <depend ...> for both normal and
> osdeps dependencies as autoproj does, you need to use <rosdep package= />
>
> Finally, I would be glad that <rosdep name="nokogiri" /> gets added, and
> not xslt (and have the osdeps file have nokogiri: libxslt1-dev). That would
> be cleaner on the autoproj side (which can understand that 'nokogiri'
> requires installing both the nokogiri gem and the libxslt1-dev package)
>

I don't have any preference, I was just saying what made things working on
my side.

> --
> Sylvain Joyeux (Dr.Ing.)
> Space & Security Robotics
>
> !!! Achtung, neue Telefonnummer!!!
>
> Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Phone: +49 (0)421 178-454136
> Fax: +49 (0)421 218-454150
> E-Mail: robotik [..] ...
>
> Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.: DE 148646973
> Steuernummer: 19/673/0060/3
> -----------------------------------------------------------------------
>