Tango 9 installation error on ubuntu
|
|
---|---|
+1 with Andy. You normally don't have to add any tricky options to any of the "configure" processes. IMHO, it's a good idea to recompile the WHOLE software chain (zmq, omniorb and tango). |
|
|
---|---|
After 200 edits of this post, here is the ultimate recipe to compile Tango 9.2.2 under Ubuntu 14.04 using gcc 4.8. NB: In the following, we assume that we want to install the Tango runtime into a single directory which path is: /home/me/tango-9.2.2-gcc-4.8-gstabs+. zmq: download: https://archive.org/download/zeromq_4.0.7/zeromq-4.0.7.tar.gz configure zmq:
compile zmq:
install zmq:
omniorb: download src: https://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.2.1/omniORB-4.2.1-2.tar.bz2/download download patch: http://ftp.esrf.fr/pub/cs/tango/Patches/dii_race.patch apply patch: small problem here: files to be patched must be specified by hand
configure omniorb:
compile omniorb:
install omniorb:
tango: download src: https://sourceforge.net/projects/tango-cs/files/tango-9.2.2.tar.gz/download download patch: http://ftp.esrf.fr/pub/cs/tango/Patches/p922_1.diff apply patch:
env.var.: The following was set while compiling and might have played some role to complete the compilation successfully:
configure:
NB: the LDFLAGS configure option is THE trick! configure summary:
compile: install:
done! |
|
|
---|---|
Forgot to mention that the "DSO error" was due to a conflict between omniORB 4.1 (debian package previously installed) and omniORB 4.2 (the one we are using with Tango 9). This has been solved adding the LDFLAGS option to the Tango configure command line. |
|
|
---|---|
Hi all, I tried to install as mentioned above. There was no any error but tango database is not created and that's why I am unable to start TangoTest device server. Please provide necessary guidance. Thanks & Regards, TCS-GMRT
Regards,
TCS_GMRT |
|
|
---|---|
I suspect a mysql USER and/or PASSWORD problem. It was the case in the example above (configure -> database schema create: no). Please provide the log of your Tango configure command line. |
|
|
---|---|
Hi all, Please find an attachment of logfile created during configure, make and make install of tango 9. Thanks & Regards, TCS-GMRT
Regards,
TCS_GMRT |
|
|
---|---|
Dear TCS-GMRT, Here is what you log file says. I let you conclude… N.
|
|
|
---|---|
Hi, I tried command to manually update db but still tables are not created. Additionally I have tried to replicate whole installation on different Ubuntu machine but I am facing some problem while configuring tango. Here is an attached log file of output of configuring tango. Thanks & Regards, TCS-GMRT
Regards,
TCS_GMRT |
|
|
---|---|
What was the output of the manual update of the database? Without this output we cannot help you. Are you sure the mysql password is correctly specified? Can you connect to mysql with "mysql -u root -p" or whatever user you specified? The logfile you attached is incomplete. From the summary it looks like you do not have the mysql development libraries installed nor the mysql user and password specified. Have you read the README for the source code distribution carefully? All the options are described there. Andy |
|
|
---|---|
Hi, I am able to connect to mysql with "mysql -u root -p". So if I am not wrong, mysqlclient is installed properly. But while configuring tango, it is not able to find mysqlclient library. Further I have attached default generated "config.log" for your reference. Thanks & Regards, TCS-GMRT
Regards,
TCS_GMRT |