Tango 9 in Ubuntu 16
|
|
---|---|
Hi Josmar, in answer to your question about tango9 on Ubuntu 16 (see below) I am using tango-9.2.2 on my laptop running Ubuntu 16.04. THe only change I had to make was replace the mysqlclient_r with mysqlclient in the configure script of the source code distribution: Then run configure. I ran it with these parameters:
The final output from the configure was :
As you can see I am using the latest ZMQ from Ubuntu and MariaDB. MySQL (the default) works very well. The final versions I am using of all the libraries when I do ldd on the Databaseds are: It looks like zmq.so.5 is now the latest version in the Ubuntu repository. It works fine for me. Let me know if you are still have problems and send me the output.Cheers Andy On 24/06/2016 14:55, Regalado Josmar wrote: > Hi Andy: > > > I am experiencing some troubles with the mysql due to new versions (now the 5.7) that comes with Ubuntu 16. > In some of the forums of TANGO controls you said you have that configuration (TANGO 9 and Ubuntu 16). > Can you please give and insight on how you did it? Versions of the dependencies (zmq, onmiorb, <specially>mysql) you install, sources or binaries, patch. etc. > > I hope this does not take too much time from you. And sorry if this is not the way to ask you about this, may be is a TANGO controls forum… ? > > Regards from Prague. > J. |
|
|
---|---|
Hello: I follow instructions. Install TANGO 9.2 from sources, and the rest from repositories. The issues 1.- libmysqlclient_r and 2.- append the mode to mysqld.cof were solved. Everything looks fine. Thanks. |
|
|
---|---|
MYSQLCLIENT_LIBS="-lmysqlclient_r" does not work with non-maria databases. |
|
|
---|---|
This is known. Replace with -lmysqlclient - see post above. Andy |
|
|
---|---|
Andy, The problem now is that "-lmysqlclient_r" is in the source package (9.2.2), i.e. you have to alter configure if you want to install tango with non-maria db. BTW DatabaseDs does not work after installing from source:
|
|
|
---|---|
Strange . It works for me on my laptop running Ubuntu 16.04. Is this a clean installation or upgrading an existing one? I am not aware of this table being new. |
|
|
---|---|
Installation of tango? It is *clean*, i.e. I have downloaded tango-9.2.2.tar.gz extarcted, configured, made, made install. Previous version was purged, i.e. apt-get remove –purge libtango* Ubuntu itself is an upgrade. UPDATE 1: Maybe this is relevant - I had to alter create_db_tables.sql script: added default value to the `accessed` field of the tables UPDATE 2: This seems to be solved here UPDATE 3: I currently have version 5.7 and it does not work :( |