UGENE Forum
https://forum.ugene.net/forum/YaBB.pl
General Category >> Bugs and Issues >> Installation problem on CentOS 5.5
https://forum.ugene.net/forum/YaBB.pl?num=1313434196

Message started by daniel on Aug 16th, 2011 at 1:49am

Title: Installation problem on CentOS 5.5
Post by daniel on Aug 16th, 2011 at 1:49am
I get these messages when installing UGENE 1.9.5 on my machine running CentOS 5.5. I think one of the problems might be the version of libstdc++ and glibc but I am not sure how to fix the problem without breaking anything.

/opt/pkg/ugene/ugene-1.9.5/ugenecl: /usr/lib64/libz.so.1: no version information available (required by /opt/pkg/ugene/ugene-1.9.5/libU2Core.so.1)

/opt/pkg/ugene/ugene-1.9.5/ugenecl: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/pkg/ugene/ugene-1.9.5/libU2Core.so.1)

/opt/pkg/ugene/ugene-1.9.5/ugenecl: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by /opt/pkg/ugene/ugene-1.9.5/libQtGui.so.4)

/opt/pkg/ugene/ugene-1.9.5/ugenecl: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by /opt/pkg/ugene/ugene-1.9.5/libQtCore.so.4)

Title: Re: Installation problem on CentOS 5.5
Post by Mikhail Fursov on Aug 16th, 2011 at 9:48pm
A simple way to fix the issue with incompatible GLIBC version is to build UGENE from sources.

It is quite easy:
1) Install QT4 development packages for your OS

2) Download UGENE source package: http://ugene.unipro.ru/downloads/ugene_get_latest_source.html

3) Enter unpacked dir with UGENE and type these commands:
qmake -r
make release
make install

in 15-20 minutes you will get a ready to use version.

Title: Re: Installation problem on CentOS 5.5
Post by daniel on Aug 19th, 2011 at 1:38am
Hello,

Thanks for your message.

I installed Qt 4.5 and am now getting these errors when I build (within the ugene directory, I am using the version of qmake I recently installed, i.e., Qt 4.5).


src/util_msa_align/MSAAlignDialog.cpp: In member function ‘void U2::MSAAlignDialog::addGuiExtension()’:
src/util_msa_align/MSAAlignDialog.cpp:113: error: ‘QMargins’ was not declared in this scope
src/util_msa_align/MSAAlignDialog.cpp:113: error: expected `;' before ‘margins’
src/util_msa_align/MSAAlignDialog.cpp:114: error: ‘margins’ was not declared in this scope
make[2]: *** [_tmp/obj/release/MSAAlignDialog.o] Error 1

Title: Re: Installation problem on CentOS 5.5
Post by SharisDelgadillo11 on Aug 19th, 2011 at 11:04am
I have installed QT4 development packages for my OS and downloaded the source package but still getting the error while building,what to do?

Title: Re: Installation problem on CentOS 5.5
Post by Mikhail Fursov on Aug 19th, 2011 at 7:40pm

daniel wrote on Aug 19th, 2011 at 1:38am:
Hello,

Thanks for your message.

I installed Qt 4.5 and am now getting these errors when I build (within the ugene directory, I am using the version of qmake I recently installed, i.e., Qt 4.5).


src/util_msa_align/MSAAlignDialog.cpp: In member function ‘void U2::MSAAlignDialog::addGuiExtension()’:
src/util_msa_align/MSAAlignDialog.cpp:113: error: ‘QMargins’ was not declared in this scope
src/util_msa_align/MSAAlignDialog.cpp:113: error: expected `;' before ‘margins’
src/util_msa_align/MSAAlignDialog.cpp:114: error: ‘margins’ was not declared in this scope
make[2]: *** [_tmp/obj/release/MSAAlignDialog.o] Error 1


This class, QMargins, was introduces in Qt 4.6 only.
Locally we build and test UGENE with Qt4.7

Is there any chance to update your QT version to 4.7 on your platform or install pre-build Qt4.7 to a separate folder?
I see that this question was already solved by other users: http://joseph.freivald.com/linux/2010/10/04/qt4-4-7-0-and-qt-creator-2-for-centos-5-5/

The last chance here is to build from sources: http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.tar.gz but it will take several hours at least and is more complex than UGENE build.


Title: Re: Installation problem on CentOS 5.5
Post by Mikhail Fursov on Aug 19th, 2011 at 7:41pm

SharisDelgadillo11 wrote on Aug 19th, 2011 at 11:04am:
I have installed QT4 development packages for my OS and downloaded the source package but still getting the error while building,what to do?


Please report which version of Qt do you use and what error do you have?

UGENE Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.