Installation Troubles

Hi,

I'm trying to install orocos with corba enabled on a linux machine running debian etch. I have successfuly installed OCI's TAO. When I go to run make for RTT, the following errors occur:

/usr/include/orbsvcs/orbsvcs/CosNamingC.h:110: error: wrong number of template a rguments (2, should be 1)
/usr/local/include/tao/VarOut_T.h:133: error: provided for ‘template cl ass TAO_Out_T’
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:111: error: invalid type in declaratio n before ‘;’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:121: error: ‘TAO_String_Manager’ does not name a type
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:122: error: ‘TAO_String_Manager’ does not name a type
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:142: error: wrong number of template a rguments (2, should be 1)
/usr/local/include/tao/Seq_Var_T.h:106: error: provided for ‘template c lass TAO_VarSeq_Var_T’
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:143: error: invalid type in declaratio n before ‘;’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:150: error: wrong number of template a rguments (3, should be 1)
/usr/local/include/tao/Seq_Out_T.h:30: error: provided for ‘template cl ass TAO_Seq_Out_T’
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:151: error: invalid type in declaratio n before ‘;’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected template-name bef ore ‘<’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected `{' before ‘<’ to ken
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected unqualified-id be fore ‘<’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:214: error: wrong number of template a rguments (2, should be 1)
/usr/local/include/tao/VarOut_T.h:133: error: provided for ‘template cl ass TAO_Out_T’
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:215: error: invalid type in declaratio n before ‘;’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:225: error: field ‘binding_name’ has i ncomplete type
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:246: error: wrong number of template a rguments (2, should be 1)
/usr/local/include/tao/Seq_Var_T.h:106: error: provided for ‘template c lass TAO_VarSeq_Var_T’
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:247: error: invalid type in declaratio n before ‘;’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:254: error: wrong number of template a rguments (3, should be 1)
/usr/local/include/tao/Seq_Out_T.h:30: error: provided for ‘template cl ass TAO_Seq_Out_T’
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:255: error: invalid type in declaratio n before ‘;’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected template-name bef ore ‘<’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected `{' before ‘<’ to ken
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected unqualified-id be fore ‘<’ token
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:397: error: field ‘rest_of_name’ has i ncomplete type
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:457: error: field ‘rest_of_name’ has i ncomplete type
make[2]: *** [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/Service s.o] Error 1
make[1]: *** [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/all] Er ror 2
make: *** [all] Error 2

Any help I can get would be greatly appreicated!
Regards,
Steve

Installation Troubles

On Monday 30 March 2009 17:40:46 steven [dot] bemis [..] ... wrote:
> Hi,
>
> I'm trying to install orocos with corba enabled on a linux machine running
> debian etch. I have successfuly installed OCI's TAO. When I go to run make
> for RTT, the following errors occur:

We'd need more version information about RTT and OCI versions. I suspect
your OCI version conflicts the Debian version. Since you're
using Debian Etch, it's easier to remove the OCI installation and use the Debian
TAO installation instead, which has been tested with RTT.

&#10; sudo aptitude install tao-idl gperf-ace libtao-orbsvcs-dev tao-naming libtao-dev&#10;

Be sure to remove any trace from the OCI installation: unset ACE_ROOT, TAO_ROOT
and remove the installed files. The cmake script will find your Debian Etch TAO
installation automatically.

Peter

>
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:110: error: wrong number of
> template a rguments (2, should be 1) /usr/local/include/tao/VarOut_T.h:133:
> error: provided for ‘template<class T> cl ass TAO_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:111: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:121: error: ‘TAO_String_Manager’
> does not name a type /usr/include/orbsvcs/orbsvcs/CosNamingC.h:122: error:
> ‘TAO_String_Manager’ does not name a type
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:142: error: wrong number of
> template a rguments (2, should be 1)
> /usr/local/include/tao/Seq_Var_T.h:106: error: provided for ‘template<class
> T> c lass TAO_VarSeq_Var_T’ /usr/include/orbsvcs/orbsvcs/CosNamingC.h:143:
> error: invalid type in declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:150: error: wrong number of
> template a rguments (3, should be 1) /usr/local/include/tao/Seq_Out_T.h:30:
> error: provided for ‘template<class T> cl ass TAO_Seq_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:151: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected
> template-name bef ore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected `{' before
> ‘<’ to ken /usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected
> unqualified-id be fore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:214: error: wrong number of
> template a rguments (2, should be 1) /usr/local/include/tao/VarOut_T.h:133:
> error: provided for ‘template<class T> cl ass TAO_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:215: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:225: error: field ‘binding_name’
> has i ncomplete type /usr/include/orbsvcs/orbsvcs/CosNamingC.h:246: error:
> wrong number of template a rguments (2, should be 1)
> /usr/local/include/tao/Seq_Var_T.h:106: error: provided for ‘template<class
> T> c lass TAO_VarSeq_Var_T’ /usr/include/orbsvcs/orbsvcs/CosNamingC.h:247:
> error: invalid type in declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:254: error: wrong number of
> template a rguments (3, should be 1) /usr/local/include/tao/Seq_Out_T.h:30:
> error: provided for ‘template<class T> cl ass TAO_Seq_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:255: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected
> template-name bef ore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected `{' before
> ‘<’ to ken /usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected
> unqualified-id be fore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:397: error: field ‘rest_of_name’
> has i ncomplete type /usr/include/orbsvcs/orbsvcs/CosNamingC.h:457: error:
> field ‘rest_of_name’ has i ncomplete type make[2]: ***
> [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/Service s.o]
> Error 1 make[1]: ***
> [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/all] Er ror 2
> make: *** [all] Error 2
>
> Any help I can get would be greatly appreicated!
> Regards,
> Steve

--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Installation Troubles

On Monday 30 March 2009 17:40:46 steven [dot] bemis [..] ... wrote:
> Hi,
>
> I'm trying to install orocos with corba enabled on a linux machine running
> debian etch. I have successfuly installed OCI's TAO. When I go to run make
> for RTT, the following errors occur:

We'd need more version information about RTT and OCI versions. I suspect
your OCI version conflicts the Debian version. Since you're
using Debian Etch, it's easier to remove the OCI installation and use the
Debian
TAO installation instead, which has been tested with RTT.

&#10; sudo aptitude install tao-idl gperf-ace libtao-orbsvcs-dev tao-naming libtao-&#10;dev&#10;

Be sure to remove any trace from the OCI installation: unset ACE_ROOT,
TAO_ROOT
and remove the installed files. The cmake script will find your Debian Etch TAO
installation automatically.

Peter

>
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:110: error: wrong number of
> template a rguments (2, should be 1) /usr/local/include/tao/VarOut_T.h:133:
> error: provided for ‘template<class T> cl ass TAO_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:111: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:121: error: ‘TAO_String_Manager’
> does not name a type /usr/include/orbsvcs/orbsvcs/CosNamingC.h:122: error:
> ‘TAO_String_Manager’ does not name a type
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:142: error: wrong number of
> template a rguments (2, should be 1)
> /usr/local/include/tao/Seq_Var_T.h:106: error: provided for ‘template<class
> T> c lass TAO_VarSeq_Var_T’ /usr/include/orbsvcs/orbsvcs/CosNamingC.h:143:
> error: invalid type in declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:150: error: wrong number of
> template a rguments (3, should be 1) /usr/local/include/tao/Seq_Out_T.h:30:
> error: provided for ‘template<class T> cl ass TAO_Seq_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:151: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected
> template-name bef ore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected `{' before
> ‘<’ to ken /usr/include/orbsvcs/orbsvcs/CosNamingC.h:155: error: expected
> unqualified-id be fore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:214: error: wrong number of
> template a rguments (2, should be 1) /usr/local/include/tao/VarOut_T.h:133:
> error: provided for ‘template<class T> cl ass TAO_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:215: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:225: error: field ‘binding_name’
> has i ncomplete type /usr/include/orbsvcs/orbsvcs/CosNamingC.h:246: error:
> wrong number of template a rguments (2, should be 1)
> /usr/local/include/tao/Seq_Var_T.h:106: error: provided for ‘template<class
> T> c lass TAO_VarSeq_Var_T’ /usr/include/orbsvcs/orbsvcs/CosNamingC.h:247:
> error: invalid type in declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:254: error: wrong number of
> template a rguments (3, should be 1) /usr/local/include/tao/Seq_Out_T.h:30:
> error: provided for ‘template<class T> cl ass TAO_Seq_Out_T’
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:255: error: invalid type in
> declaratio n before ‘;’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected
> template-name bef ore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected `{' before
> ‘<’ to ken /usr/include/orbsvcs/orbsvcs/CosNamingC.h:259: error: expected
> unqualified-id be fore ‘<’ token
> /usr/include/orbsvcs/orbsvcs/CosNamingC.h:397: error: field ‘rest_of_name’
> has i ncomplete type /usr/include/orbsvcs/orbsvcs/CosNamingC.h:457: error:
> field ‘rest_of_name’ has i ncomplete type make[2]: ***
> [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/Service s.o]
> Error 1 make[1]: ***
> [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/all] Er ror 2
> make: *** [all] Error 2
>
> Any help I can get would be greatly appreicated!
> Regards,
> Steve

--
Peter Soetens -- FMTC -- <http://www.fmtc.be>

--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Installation Troubles

Hi Peter, thanks for your reply.

I did what you said, removed OCI and installed the debian TAO. I'm still hitting an error in the installation of rtt though. I think its related to stray files from OCI that I am not aware of (I'm still a novice with linux). I think I will just reboot linux and start over. I'll let you know if I run into more troubles.

Regards,
Steve

Installation Troubles

On Wednesday 01 April 2009 19:08:41 steven [dot] bemis [..] ... wrote:
> Hi Peter, thanks for your reply.
>
> I did what you said, removed OCI and installed the debian TAO. I'm still
> hitting an error in the installation of rtt though. I think its related to
> stray files from OCI that I am not aware of (I'm still a novice with
> linux). I think I will just reboot linux and start over. I'll let you know
> if I run into more troubles.

With reboot, do you mean re-install ? I'll add a warning note to the
installation manual that Debian/Ubuntu users don't need the OCI setup.
A few years ago, this was different, but today, plain TAO seems to work ok.

Peter