Hi all
We are trying to build trinity for Pardus Corporate 2. While we were building tqtinterface we encountered below error: ... /usr/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status ...
Pardus C2 stores qt libs, headers etc. in /usr/qt/3 directory so we tried to set --with-qt-dir and --with-qt-libraries options but nothing changed. Creating a symlink of libqt-mt.so in /usr/lib prevents this error. However, to fix this error we made a patch that adds $(QT_LDFLAGS) to libtqt_la_LIBADD in Makefile.am.
I saw similar errors on email list that tells this is an autoconf problem. Is this problem going to be a trouble for future trinity packages? And finally, does anyone know a more appropriate way of solving this problem?
Thanks.
On Dec 30, 2010, at 3:36, "Mehmet Özdemir" mehmet@pardus.org.tr wrote:
Hi all
We are trying to build trinity for Pardus Corporate 2. While we were building tqtinterface we encountered below error: ... /usr/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status ...
Pardus C2 stores qt libs, headers etc. in /usr/qt/3 directory so we tried to set --with-qt-dir and --with-qt-libraries options but nothing changed. Creating a symlink of libqt-mt.so in /usr/lib prevents this error. However, to fix this error we made a patch that adds $(QT_LDFLAGS) to libtqt_la_LIBADD in Makefile.am.
I saw similar errors on email list that tells this is an autoconf problem. Is this problem going to be a trouble for future trinity packages? And finally, does anyone know a more appropriate way of solving this problem?
Thanks.
Hi,
Currently Trinity's files can only be generated and run by an autoconf 2.63 or lower. There is a porting to cmake in progress, but that could take a bit of time.
If you have a patch or hack, that would be good :) And cmake status is currently on thel.ro, you can see the cmake stuff there.
-- later, Robert Xu
30 Aralık 2010 Perşembe günü (saat 17:16:53) Robert Xu şunları yazmıştı:
Hi,
Currently Trinity's files can only be generated and run by an autoconf 2.63 or lower. There is a porting to cmake in progress, but that could take a bit of time.
If you have a patch or hack, that would be good :) And cmake status is currently on thel.ro, you can see the cmake stuff there.
-- later, Robert Xu
Hi Robert
First of all thanks for your answer.
We have finished to compile Trinity with autoconf 2.65 but it was really problematic. I also tried cmake for kdelibs and tqtinterface, and didn't met any problem.