HDB++ installation

And what about TangORB.jar release ?
Hi Lorenzo,

the following error message is using the 1.7jar you sent:
Exception in thread "main" java.lang.NoSuchMethodError: fr.esrf.TangoDs.Except.throw_exception(Ljava/lang/String;Ljava/lang/String;)V

The signature for the throw_exception is the following:
public static void throw_exception(SystemException var0, String var1) throws DevFailed {

The version of TangORB.jar is: 8.3.0


OK.
This is compatible with Tango-8 but not with a TangORB from June-2013 or I suppose with very old ATK jar files.
You are right the specified trow_exception method exists only since end of 2013.
18 month before the begining of HDB++ start up.
You can get the last release of JTango.jar (replacing TangORB.jar and JTangoServer.jar) at
http://sourceforge.net/projects/tango-cs/files/JTango/JTango-9.0.3/JTango-9.0.3.jar

But I can be sure it is compatible without a recent release of ATK jar files available at:
http://sourceforge.net/projects/tango-cs/files/gui/ATKCore-9.1.7.jar/download
http://sourceforge.net/projects/tango-cs/files/gui/ATKWidget-9.1.7.jar/download
Hello Team

I have installed hdb++ in fedora-19 os without any issues.

But i am facing issues while installing in Ubuntu-OS.

OS: Ubuntu 16.04
Tango version: tango-9.2.2
Mysql version: 5.7.12

I have modified the TANGO_DIR and TANGO_INC paths in Make-hdb++.in and Make-8.1.2.c.in files.
When i am running the $make command, I am not able to compile it successfully. Following error is coming:

cd libhdb++mysql/trunk ; make
make[1]: Entering directory '/opt/tangoworkspace/Delivery_2/Archiver/hdb++/libhdb++mysql/trunk'
g++ -std=gnu++0x -Wall -DRELEASE='"eadURL: http://svn.code.sf.net/p/tango-cs/code/archiving/hdb++/libhdb++mysql/trunk/Makefile "' `mysql_config –include` -I/opt/tangoSoftwares/tango-9.2.2/include:/opt/tangoSoftwares/tango-9.2.2/include/tango/ -I -I../../libhdb++/trunk/src/ -fPIC -c src/LibHdb++MySQL.cpp -o obj/LibHdb++MySQL.o
In file included from src/LibHdb++MySQL.cpp:23:0:
src/LibHdb++MySQL.h:24:22 fatal error: LibHdb++.h: No such file or directory:
compilation terminated.
Makefile:39: recipe for target 'obj/LibHdb++MySQL.o' failed
make[1]: *** [obj/LibHdb++MySQL.o] Error 1
make[1]: Leaving directory '/opt/tangoworkspace/Delivery_2/Archiver/hdb++/libhdb++mysql/trunk'
Makefile:7: recipe for target 'trunk' failed
make: *** [trunk] Error 2



Thanks and Regards
TCS-GMRT TEAM


Regards,
TCS_GMRT
Hi,
seems like a misconfiguration in the Makefile…
Could you post your modified Make-hdb++.in and Make-8.1.2.c.in ?
Lorenzo
Hello Lorenzo

Please find the attached make files.
I just have edited the TANGO_INC and OMNIORB_INC paths in the Make-8.1.2.c.in and Make-hdb++.in files.
The following problem comes now:

cd libhdb++mysql/trunk ; make
make[1]: Entering directory '/opt/tangoworkspace/Delivery_2/Archiver/hdb++/libhdb++mysql/trunk'
g++ -std=gnu++0x -Wall -DRELEASE='"eadURL: http://svn.code.sf.net/p/tango-cs/code/archiving/hdb++/libhdb++mysql/trunk/Makefile "' `mysql_config –include` -I/opt/software/tango-9.2.2/include/omniORB4:/opt/software/tango-9.2.2/include/tango -I/opt/software/omniORB-4.2.1/include/omniORB4 -I../../libhdb++/trunk/src -fPIC -c src/LibHdb++MySQL.cpp -o obj/LibHdb++MySQL.o
In file included from src/LibHdb++MySQL.h:24:0,
from src/LibHdb++MySQL.cpp:23:
../../libhdb++/trunk/src/LibHdb++.h:32:19: fatal error: tango.h: No such file or directory
compilation terminated.
Makefile:39: recipe for target 'obj/LibHdb++MySQL.o' failed
make[1]: *** [obj/LibHdb++MySQL.o] Error 1
make[1]: Leaving directory '/opt/tangoworkspace/Delivery_2/Archiver/hdb++/libhdb++mysql/trunk'
Makefile:7: recipe for target 'trunk' failed
make: *** [trunk] Error 2



Thanks and Regards
TCS
Regards,
TCS_GMRT
Well,
seems you have wrong include paths in the Make-hdb++.in file; they
should read:

OMNI_INC = /opt/software/omniORB-4.2.1/include
TANGO_INC = /opt/software/tango-9.2.2/include/tango

being shure that these are the omniorb and TANGO installation
directories (and not the source tree ones).
The same applies to the Make-9.2.2.in file.

Cheers,
Lorenzo
Dear all,

Just to let you know that it was really difficult to discover the homepage of HDB++ !!!
For lost people like me, it is in http://www.tango-controls.org/community/project-docs/hdbplusplus/
No indexing in Google is really bad for beginners…

What are the state of the Ubuntu packages available there ?
Are they up-to-date ? Which DB schema used ?

Also what is the sate of eGiga2m ?
The only trace I found is http://luciozambon.altervista.org/egiga2m/

Cheers,
Sly
Hi Sly,
well, the TANGO controls project page is the first result in my google search…
Anyhow, the Ubuntu packages are not up-to-date as per today.
The schema consists in a few tables plus a number of specific tables to support
TANGO data types. You can find it in the sourceforge project page:

https://sourceforge.net/p/tango-cs/code/HEAD/tree/archiving/hdb++/etc/create_hdb%2B%2B_mysql.sql

E-giga also works with the new HDB++ (MySQL backend), but is still some work in progress.
We'll put additiona info on the project page asap.

Cheers,
Lorenzo
Hello Sly. I confirm there is no deb file for HdbExtractor.
There is a configure make make install based installation for the base library.
Qt development files are needed for the hdbextractor-qt module.

Giacomo.
 
Register or login to create to post a reply.