fedora 19 - Tango compilation/build error

Hi everyone,

I am trying to install Tango 8.1.2.

As mentioned in "readme/Install",I installed pre-requisite ;
omniORB,ZMQ and MySQL.

After executing "configure" in tango build directory I received following status -

Configuration (tango):

Source code location: .
Version: 8.1.2
Compiler: gcc,g++

OMNIORB PATH: /usr/local
OMNIORB VERSION: "4.2.0"

ZMQ PATH: /usr/local
ZMQ VERSION: 4.0.5

JAVA PATH: /usr/bin/java
JAVA VERSION: 1.8.0_45

MYSQL CLIENT LIB: -lmysqlclient_r
MYSQL VERSION: 5.6.15
MYSQL CONNECTION: OK

build:
libraries: yes
java application: yes
event java interface: yes
access control server: yes
database server: yes
database schema create: yes


Which seems to be all correct to me.

Now when I am trying to build using "make" its throwing error,

/bin/sh ../../../libtool –tag=CXX –mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../lib/cpp/server -I../../.. -I../../../../lib/cpp/client -I../../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_TANGO_LIB -g -O2 -std=c++11 -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -MT tangoSK.lo -MD -MP -MF .deps/tangoSK.Tpo -c -o tangoSK.lo ../../../../lib/cpp/server/tangoSK.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../lib/cpp/server -I../../.. -I../../../../lib/cpp/client -I../../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_TANGO_LIB -g -O2 -std=c++11 -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -MT tangoSK.lo -MD -MP -MF .deps/tangoSK.Tpo -c ../../../../lib/cpp/server/tangoSK.cpp -fPIC -DPIC -o .libs/tangoSK.o
../../../../lib/cpp/server/tangoSK.cpp:34:43: error: 'omniORB_4_1' was not declared in this scope
static const char* _0RL_library_version = omniORB_4_1;
^


Please help.

Thanks.
Sudeep
!!~Sudeep Roy~!!
Hi Sudeep,

Your error is because you have omniORB 4.2. Tango 8.1.2 has been generated before omniORB 4.1 has been made available.
You need to downgrade your omniORB installation to the latest 4.1 release (4.1.7)
The future Tango 9 supports omniORB 4.2

Hoping this helps

Emmanuel
Hi Emmanuel,

It worked.

Thanks for the fix.
!!~Sudeep Roy~!!
 
Register or login to create to post a reply.