You are not logged in.
Hello.
I can't compile anything with qt3 or qt4 on i686.
Packages depending on qt3 fail ./configure with (example kaffeine 0.8.6 pkgbuild from the repo)
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Packages depending on qt4 fail ./configure with (example vlc-nightly pkgbuild from aur)
checking for QT4... configure: error: QT4 library not found
I don't use testing or unstable, other than that the system is up-to-date.
Any idea what the problem is?
Offline
try
$ export QTDIR=/usr
before the configuration step.
Best,
-- Maik
Offline
Tried it, same result.
Offline
Are you sure qt and qt3 are installed proper?
What does
$ pacman -Qs qt
give?
Offline
$ pacman -Qs qt
local/dbus-qt3 0.62-3
QT3 bindings for DBUS
local/gtk-qt-engine 0.8-2
A GTK engine which makes your GTK2 Apps match your QT theme
local/metatheme 0.0.6-2
a thin layer between QT+GTK2 toolkits and theme engines, creating unified API by which each theme engine can draw
local/poppler-qt 0.6.3-1
Poppler Qt bindings
local/poppler-qt3 0.6.3-1
Poppler Qt3 bindings
local/pyqt 4.3.3-1
PyQt is a set of Python bindings for the Qt toolkit.
local/pyqt3 3.17.4-1
PyQt is a set of Python bindings for the Qt toolkit.
local/qca 2.0.0.svn744387-1.1
Qt Cryptographic Architecture
local/qca-qt3 1.0-1
QT Cryptography Architecture
local/qca-tls 1.0-5
plugin to provide SSL/TLS capability to programs that utilize the Qt Cryptographic Architecture
local/qgit 1.5.7-2
A GIT GUI viewer built on Qt/C++
local/qscintilla 2.1-3
QScintilla2 is a port to Qt4 of Neil Hodgson's Scintilla C++ editor class.
local/qscintilla-qt3 1.7.1-2
QScintilla is a port to Qt3 of Neil Hodgson's Scintilla C++ editor class.
local/qt 4.3.3-4
The QT gui toolkit.
local/qt-doc 4.3.3-1
The QT gui toolkit documentation.
local/qt3 3.3.8-6.1
The QT gui toolkit.
local/qt3-doc 3.3.8-1
The QT gui toolkit documentation.
local/qtiplot 0.9-1
Data analysis and scientific plotting - free clone of Origin
local/qwt 5.0.2-1
Qt Widgets for Technical Applications
local/qwtplot3d 0.2.7-1
Qt/OpenGL-based C++ programming library containing 3d-widgets
Considering that I used pacman to install the packages, I would expect them to be installed properly.
Offline
I'm sorry for not testing my advises before giving them.
I've just set up a qt4 and a qt3 hello world app using cmake. For qt4 doing
$ export QTDR=/usr
works, while qt3 needs
$export QTDIR=/opt/qt
Hope that helps,
-- Maik
Offline
for qt3:
source /etc/profile.d/qt3.sh
export QMAKESPEC=/opt/qt/mkspecs/linux-g++
for qt4:
export QTDIR=/usr
export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++
Offline
Tried all those solutions, still the same.
Offline
Does the configure skript offer an option where you can specify the qt-directory?
I got a similiar problem compiling something (don't ask me which program it was ) and I was able to solve it running the configure skript with a switch.... something like:
./configure -qt-dir=/place/qt/dir/here
Maybe you can find out with
./configure --help
Last edited by anomander (2008-02-04 19:26:18)
"The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom."
Isaac Asimov
Offline
That wouldn't explain why the pkgbuild of kaffeine from the repo doesn't compile.
I tried it with ./configure --prefix=/opt/kde --with-qt-dir=/opt/qt --with-qt-includes=/opt/qt/include --with-qt-libraries=opt/qt/lib --with-xorg
but the result was, yet again, the same.
Offline
Anyone else any idea?
Offline
I have tried the PKGBUILD for kaffeine 0.8.6 (Extra repo), and I got no problem with the configure script which uses :
./configure --prefix=/opt/kde --with-xorg
...
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt
checking for moc... /opt/qt/bin/moc
...
I use kde and qt3 but I removed the qt-4 package for now.
echo $QTDIR
/opt/qt
echo $KDEDIR
/opt/kde
Maybe there is a conflict between the two qt versions on your machine.
Last edited by berbae (2008-02-09 13:38:36)
Offline