checking for Qt... configure: error: Qt (snapshot >= Qt 2.1)
From: Jerry Kreps <jerrykreps@jlkreps.net> Date: Sun, 19 Nov 2000 19:52:28 -0600 Message-Id: <00111919522800.26359@JLKreps> Subject: checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) The first time I tried to compile a program under KDE2 I got the following error. "checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log." I thought it was a problem with the 'configure' script. But, I tried to compile another program tonight and got the same error. It has to be my setup. I have qt2 at /usr/lib/qt-2.2.1 I have a link /usr/lib/qt2 ---> /usr/lib/qt-2.2.1 I have set the QTDIR env variable to the following. /usr/lib/qt2 /usr/lib/qt-2.2.1 /usr/lib/qt-2.2.1/lib and I still get the same error message. I have hardcoded the path to the qt2 in the configure program itself to no avail. How do you make configure find qt2? JLK
From: Jerry Kreps <jerrykreps@jlkreps.net> Date: Sun, 19 Nov 2000 20:54:27 -0600 Message-Id: <00111920542700.02114@JLKreps> Subject: Re: [SLE] checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) SOLVED! You know what ASSuME does. When I installed SuSE 7.0 I also installed the qt-2.1.1 development libraries and related files. When SuSE released their KDE2 & Qt rpms I installed them immediately. When pointing the configure file to /usr/lib/qt-2.2.1 I was assuming that the files SuSE supplied were qt development files. They were not. Configure worked fine when I pointed it at /usr/lib/qt-2.1.1. JLK <p>On Sunday 19 November 2000 19:52, you wrote:
The first time I tried to compile a program under KDE2 I got the following error.
"checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log."
I thought it was a problem with the 'configure' script. But, I tried to compile another program tonight and got the same error.
It has to be my setup.
I have qt2 at /usr/lib/qt-2.2.1
I have a link /usr/lib/qt2 ---> /usr/lib/qt-2.2.1
I have set the QTDIR env variable to the following. /usr/lib/qt2 /usr/lib/qt-2.2.1 /usr/lib/qt-2.2.1/lib
and I still get the same error message.
I have hardcoded the path to the qt2 in the configure program itself to no avail. How do you make configure find qt2?
JLK
From: Jethro Cramp <jsc@zoo.co.uk> Date: Mon, 20 Nov 2000 10:32:08 +0000 Message-Id: <00112010320800.00719@zeus> Subject: Re: [SLE] checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) On Monday 20 November 2000 1:52 am, Jerry Kreps wrote:
"checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log."
I had the same problem trying to install kbear. I added the following lines to my .bashrc file in my home directory. # Attempt to set paths to help with kbear installation. KDEDIR=/opt/kde2 QTDIR=/usr/lib/qt-2.2.1 PATH=$KDEDIR/bin:$QTDIR/bin:$PATH MANPATH=$KDEDIR/man:$QTDIR/man:$MANPATH LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH LIBRARY_PATH=$LD_LIBRARY_PATH CPLUS_INCLUDE_PATH=$KDEDIR/include:$QTDIR/include:$CPLUS_INCLUDE_PATH export KDEDIR QTDIR PATH MANPATH LD_LIBRARY_PATH LIBRARY_PATH export CPLUS_INCLUDE_PAT This solved it for me. -- Regards, Jethro
From: Jerry Kreps <jerrykreps@jlkreps.net> Date: Mon, 20 Nov 2000 15:14:26 -0600 Message-Id: <00112015142600.13473@JLKreps> Subject: Re: [SLE] checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) I had already tried using bashrc to add to the PATH var. It didn't work In checking the difference between 2.1.1, which was installed by YaST, and 2.2.1, which was from the SuSE rpms for KDE2, I noticed that the library headers were missing. Things like qdom.h, etc... I went to the tolltech site and download the the QtFree of 2.2.2 and installed and compiled it and linked qt2 to qt-2.2.2 and things started working. JLK On Monday 20 November 2000 04:32, Jethro Cramp wrote:
On Monday 20 November 2000 1:52 am, Jerry Kreps wrote:
"checking for Qt... configure: error: Qt (snapshot >= Qt 2.1) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log."
I had the same problem trying to install kbear. I added the following lines to my .bashrc file in my home directory.
# Attempt to set paths to help with kbear installation. KDEDIR=/opt/kde2 QTDIR=/usr/lib/qt-2.2.1 PATH=$KDEDIR/bin:$QTDIR/bin:$PATH MANPATH=$KDEDIR/man:$QTDIR/man:$MANPATH LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH LIBRARY_PATH=$LD_LIBRARY_PATH CPLUS_INCLUDE_PATH=$KDEDIR/include:$QTDIR/include:$CPLUS_INCLUDE_PATH export KDEDIR QTDIR PATH MANPATH LD_LIBRARY_PATH LIBRARY_PATH export CPLUS_INCLUDE_PAT
This solved it for me.
participants (2)
-
jerrykreps@jlkreps.net
-
jsc@zoo.co.uk