[resolved - workaround] If lunar update fails to compile qt4

Dennis Veatch dennisveatch at bellsouth.net
Mon Sep 27 14:12:18 CEST 2010


On Monday, September 27, 2010 10:03:50 am Zbigniew Luszpinski wrote:
> Hello,
> 
> If lunar update fails to compile qt4 do:
> lrm qt4; lin qt4
> 
> There is ugly thing which qt4 does: it tries to compile current version
> using libs and headers from older installed qt4 version - this must fail.
> 
> have a nice day,
> Zbigniew Luszpinski
> 
> Here is how it fails:
> g++ -s -Wl,-O1 -z combreloc -Wl,--hash-style=both -Wl,--sort-common -Wl,--
> no-undefined -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -Wl,-rpath,/usr/lib/qt4 -
> shared -Wl,-soname,libQtXml.so.4 -o libQtXml.so.4.7.0 .obj/release-
> shared/qdom.o .obj/release-shared/qxml.o   -L/usr/lib/mysql -L/usr/lib -
> L/usr/lib/postgresql -L/usr/src/qt-everywhere-opensource-src-4.7.0/lib -
> lQtCore -L/usr/lib -lpthread

I thought I had that fixed. Part of the problem afaict was LDFLAGS and found a 
bug with the remove_ld function to Qt would not look for an existing qt 
install. Ratler corrected that function. Have you done a lin moonbase within 
the past couple of days?

-- 
Dennis Veatch


More information about the Lunar mailing list