Hello,
I can’t compile several applications on my 11.2 x64 installation. Configure script returns something like:
“checking for Qt… configure: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!”
qt3, qt3-devel, qt3-32bit, qt3-devel-32bit packages installed. If I ran ./configure with --enable-libsuffix=64 it’s done without troubles:
“checking for Qt… libraries /usr/lib/qt3/lib64, headers /usr/lib/qt3/include using -mt”
But then make returns error:
“…/usr/lib/qt3/include/qrect.h:53: error: variable ‘Q_EXPORT QRect’ has initializer but incomplete type
/usr/lib/qt3/include/qrect.h:53: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
/usr/lib/qt3/include/qrect.h:55: error: expected primary-expression before ‘public’
/usr/lib/qt3/include/qrect.h:55: error: expected ‘}’ before ‘public’
/usr/lib/qt3/include/qrect.h:55: error: expected ‘,’ or ‘;’ before ‘public’
/usr/lib/qt3/include/qrect.h:57: error: expected constructor, destructor, or type conversion before ‘;’ token
/usr/lib/qt3/include/qrect.h:58: error: expected constructor, destructor, or type conversion before ‘;’ token …” (and so on).
Any advice?
Many thx in advance.
I don’t know if I can help you, but I see a couple of things: You installed a KDE4 system, which comes with qt4, the things you’re trying to compile is looking for qt3 libraries/includes. So you’re creating KDE3 programs on KDE4? Why not on KDE3 then?
Hi, Knurpht,
Thank you for the reply.
I’m absolutely newbie in Linux, i didn’t noticed that.
from Application Launcher (at bottom left of screen) ->
Computer -> Yast -> Software Management
search for qt3 - select to install qt3 (and probably qt3.devel) for the 64bit libraries of older qt
note there are also qt3-32bit and qt3-devel-32bit but you’d only need those if compiling with -m32 on the 64bit release.
thx for the reply, chaosless, but as you can see from original post all these packages are already installed. any other advice?
Hi
What are you trying to compile?
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 2:51, 2 users, load average: 0.06, 0.04, 0.00
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15
Hi
There are some kde3 common options you need to set (source) before
building;
source /etc/opt/kde3/common_options
update_admin --no-unsermake
../configure $configkde
make
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 1 day 0:16, 2 users, load average: 0.46, 0.55, 0.54
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15
Thx a lot malcolmlewis,
problem solved.
Hi
Your welcome 
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 2 days 8:59, 3 users, load average: 0.09, 0.11, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15