RTT on OSX El Capitan issues

Hello, I'm trying to install the toolchain on osx (El Capitan), and got these errors :

  • Using Rock (OCL Support) :

   Command failed
    external/sisl(/Users/hoarau/orocos/external/sisl): failed in build phase
    'make --jobserver-fds=7,8 -j' returned status 2
    see /Users/hoarau/orocos/install/log/external/sisl-build.log for details
    last 10 lines are:

    Scanning dependencies of target sisl
    [  0%] Building C object CMakeFiles/sisl.dir/src/construct.c.o
    In file included from /Users/hoarau/orocos/external/sisl/src/construct.c:44:
    /Users/hoarau/orocos/external/sisl/include/sislP.h:87:12: fatal error: 'values.h' file not found
    #  include <values.h>
  • Using catkin/ros :

    /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:22: error: use of undeclared identifier 'rl_readline_state'
    int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
                     ^
    /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:42: error: use of undeclared identifier 'RL_STATE_READCMD'
    int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
Even with brew --force-link readline.

Any of you managed to get the toolchain compiled on El Capitan ? Thanks !

RTT on OSX El Capitan issues

> On May 23, 2016, at 03:51, hoarau [dot] robotics [..] ... wrote:
>
> Hello,
> I'm trying to install the toolchain on osx (El Capitan), and got these errors
> :
>
> * Using Rock (OCL Support) :
>
> Command failed
> external/sisl(/Users/hoarau/orocos/external/sisl): failed in build phase
> 'make --jobserver-fds=7,8 -j' returned status 2
> see /Users/hoarau/orocos/install/log/external/sisl-build.log for details
> last 10 lines are:
>
> Scanning dependencies of target sisl
> [ 0%] Building C object CMakeFiles/sisl.dir/src/construct.c.o
> In file included from
> /Users/hoarau/orocos/external/sisl/src/construct.c:44:
> /Users/hoarau/orocos/external/sisl/include/sislP.h:87:12: fatal error:
> 'values.h' file not found
> # include
>
> * Using catkin/ros :
>
>
> /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:22:
> error: use of undeclared identifier 'rl_readline_state'
> int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
> ^
>
> /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:42:
> error: use of undeclared identifier 'RL_STATE_READCMD'
> int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
>
>
> Even with brew --force-link readline.
>
> Any of you managed to get the toolchain compiled on El Capitan ?
> Thanks !

We have it working with 10.11, catkin, and MacPorts. There are a couple of branches you need, and I don't recall whether they've been merged yet. But your readline issue looks like a dependency issue - have you installed readline in MacPorts or are you using the system version?

Cheers
Stephen

RTT on OSX El Capitan issues

With brew :
/usr/lib/libreadline.dylib --> system

With brew --force link :
/usr/local/lib/libreadline.dylib --> brew path : finally worked (?!) (cache
issue but not sure)

With macports
/opt/local/lib/libreadline.dylib --> macport path

Now if i type deployer :
dyld: Library not loaded: liblog4cpp.6.0.dylib
Referenced from: /Users/hoarau/orocos_ws/install/bin/deployer-macosx
Reason: image not found
/Users/hoarau/orocos_ws/install/bin/deployer: line 45: 18926 Trace/BPT
trap: 5 $cmd $*

But it works with deployer-macosx.

Le lun. 23 mai 2016 à 11:52, S Roderick <kiwi [dot] net [..] ...> a écrit :

>
> > On May 23, 2016, at 03:51, hoarau [dot] robotics [..] ... wrote:
> >
> > Hello,
> > I'm trying to install the toolchain on osx (El Capitan), and got these
> errors
> > :
> >
> > * Using Rock (OCL Support) :
> >
> > Command failed
> > external/sisl(/Users/hoarau/orocos/external/sisl): failed in build
> phase
> > 'make --jobserver-fds=7,8 -j' returned status 2
> > see /Users/hoarau/orocos/install/log/external/sisl-build.log for
> details
> > last 10 lines are:
> >
> > Scanning dependencies of target sisl
> > [ 0%] Building C object CMakeFiles/sisl.dir/src/construct.c.o
> > In file included from
> > /Users/hoarau/orocos/external/sisl/src/construct.c:44:
> > /Users/hoarau/orocos/external/sisl/include/sislP.h:87:12: fatal
> error:
> > 'values.h' file not found
> > # include
> >
> > * Using catkin/ros :
> >
> >
> >
> /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:22:
> > error: use of undeclared identifier 'rl_readline_state'
> > int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
> > ^
> >
> >
> /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:42:
> > error: use of undeclared identifier 'RL_STATE_READCMD'
> > int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
> >
> >
> > Even with brew --force-link readline.
> >
> > Any of you managed to get the toolchain compiled on El Capitan ?
> > Thanks !
>
> We have it working with 10.11, catkin, and MacPorts. There are a couple
> of branches you need, and I don't recall whether they've been merged yet.
> But your readline issue looks like a dependency issue - have you installed
> readline in MacPorts or are you using the system version?
>
> Cheers
> Stephen
>
> > --
> > Orocos-Users mailing list
> > Orocos-Users [..] ...
> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Ruben Smits's picture

RTT on OSX El Capitan issues

On Mon, May 23, 2016 at 11:42 PM Antoine Hoarau <hoarau [dot] robotics [..] ...>
wrote:

> With brew :
> /usr/lib/libreadline.dylib --> system
>
> With brew --force link :
> /usr/local/lib/libreadline.dylib --> brew path : finally worked (?!)
> (cache issue but not sure)
>

This is also how I got it working.

>
> With macports
> /opt/local/lib/libreadline.dylib --> macport path
>
> Now if i type deployer :
> dyld: Library not loaded: liblog4cpp.6.0.dylib
> Referenced from: /Users/hoarau/orocos_ws/install/bin/deployer-macosx
> Reason: image not found
> /Users/hoarau/orocos_ws/install/bin/deployer: line 45: 18926 Trace/BPT
> trap: 5 $cmd $*
>
> But it works with deployer-macosx.
>

I haven't tested the deployer script from rtt-ros, but the deployer-macosx
is working without issues for me as well. Maybe the script is screwing up
some path?

R.

>
> Le lun. 23 mai 2016 à 11:52, S Roderick <kiwi [dot] net [..] ...> a écrit :
>
>>
>> > On May 23, 2016, at 03:51, hoarau [dot] robotics [..] ... wrote:
>> >
>> > Hello,
>> > I'm trying to install the toolchain on osx (El Capitan), and got these
>> errors
>> > :
>> >
>> > * Using Rock (OCL Support) :
>> >
>> > Command failed
>> > external/sisl(/Users/hoarau/orocos/external/sisl): failed in build
>> phase
>> > 'make --jobserver-fds=7,8 -j' returned status 2
>> > see /Users/hoarau/orocos/install/log/external/sisl-build.log for
>> details
>> > last 10 lines are:
>> >
>> > Scanning dependencies of target sisl
>> > [ 0%] Building C object CMakeFiles/sisl.dir/src/construct.c.o
>> > In file included from
>> > /Users/hoarau/orocos/external/sisl/src/construct.c:44:
>> > /Users/hoarau/orocos/external/sisl/include/sislP.h:87:12: fatal
>> error:
>> > 'values.h' file not found
>> > # include
>> >
>> > * Using catkin/ros :
>> >
>> >
>> >
>> /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:22:
>> > error: use of undeclared identifier 'rl_readline_state'
>> > int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
>> > ^
>> >
>> >
>> /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:42:
>> > error: use of undeclared identifier 'RL_STATE_READCMD'
>> > int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
>> >
>> >
>> > Even with brew --force-link readline.
>> >
>> > Any of you managed to get the toolchain compiled on El Capitan ?
>> > Thanks !
>>
>> We have it working with 10.11, catkin, and MacPorts. There are a couple
>> of branches you need, and I don't recall whether they've been merged yet.
>> But your readline issue looks like a dependency issue - have you installed
>> readline in MacPorts or are you using the system version?
>>
>> Cheers
>> Stephen
>>
>> > --
>> > Orocos-Users mailing list
>> > Orocos-Users [..] ...
>> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
> --
> Antoine Hoarau
> Robotics Eng. - ISIR
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

RTT on OSX El Capitan issues

> On May 24, 2016, at 05:07, Ruben Smits <ruben [dot] smits [..] ...> wrote:
>
>
>
> On Mon, May 23, 2016 at 11:42 PM Antoine Hoarau <hoarau [dot] robotics [..] ... hoarau [dot] robotics [..] ...>> wrote:
> With brew :
> /usr/lib/libreadline.dylib --> system
>
> With brew --force link :
> /usr/local/lib/libreadline.dylib --> brew path : finally worked (?!) (cache issue but not sure)
>
> This is also how I got it working.
>
>
> With macports
> /opt/local/lib/libreadline.dylib --> macport path
>
> Now if i type deployer :
> dyld: Library not loaded: liblog4cpp.6.0.dylib
> Referenced from: /Users/hoarau/orocos_ws/install/bin/deployer-macosx
> Reason: image not found
> /Users/hoarau/orocos_ws/install/bin/deployer: line 45: 18926 Trace/BPT trap: 5 $cmd $*
>
> But it works with deployer-macosx.
>
> I haven't tested the deployer script from rtt-ros, but the deployer-macosx is working without issues for me as well. Maybe the script is screwing up some path?
>
> R.

10.11 == SIP == no DYLD path … I fixed this in a PR on log4cpp IIRC. Certainly the branch is available in my log4cpp fork.
S

>
>
> Le lun. 23 mai 2016 à 11:52, S Roderick <kiwi [dot] net [..] ... kiwi [dot] net [..] ...>> a écrit :
>
> > On May 23, 2016, at 03:51, hoarau [dot] robotics [..] ... <mailto:hoarau [dot] robotics [..] ...> wrote:
> >
> > Hello,
> > I'm trying to install the toolchain on osx (El Capitan), and got these errors
> > :
> >
> > * Using Rock (OCL Support) :
> >
> > Command failed
> > external/sisl(/Users/hoarau/orocos/external/sisl): failed in build phase
> > 'make --jobserver-fds=7,8 -j' returned status 2
> > see /Users/hoarau/orocos/install/log/external/sisl-build.log for details
> > last 10 lines are:
> >
> > Scanning dependencies of target sisl
> > [ 0%] Building C object CMakeFiles/sisl.dir/src/construct.c.o
> > In file included from
> > /Users/hoarau/orocos/external/sisl/src/construct.c:44:
> > /Users/hoarau/orocos/external/sisl/include/sislP.h:87:12: fatal error:
> > 'values.h' file not found
> > # include
> >
> > * Using catkin/ros :
> >
> >
> > /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:22:
> > error: use of undeclared identifier 'rl_readline_state'
> > int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
> > ^
> >
> > /Users/hoarau/orocos_ws/src/orocos_toolchain/utilrb/ext/utilrb/readline.c:20:42:
> > error: use of undeclared identifier 'RL_STATE_READCMD'
> > int need_hack = (rl_readline_state & RL_STATE_READCMD) > 0;
> >
> >
> > Even with brew --force-link readline.
> >
> > Any of you managed to get the toolchain compiled on El Capitan ?
> > Thanks !
>
> We have it working with 10.11, catkin, and MacPorts. There are a couple of branches you need, and I don't recall whether they've been merged yet. But your readline issue looks like a dependency issue - have you installed readline in MacPorts or are you using the system version?
>
> Cheers
> Stephen
>
> > --
> > Orocos-Users mailing list
> > Orocos-Users [..] ... <mailto:Orocos-Users [..] ...>
> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users <http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users>