ASPLinux.
Устанавливаю KArchiver из исходников.
Делаю:
#./configure
Получаю ошибку:
checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Но у меня есть Qt нужной версии!
#rpm -q qt
qt-3.1.1-6asp
Кто виноват и что делать?
Мне кажется, что программа установки просто не видит asp'шные пакеты. Т. е. если бы у меня стоял Qt без префикса asp всё бы прошло нормально. Или я ошибаюсь?
Ага. Верно. В RedHat-based дистрах программы и непосредственно заголовки дежат в разных пакетах, в данном случае qt-devel. Кстати, в факе эта тема обсуждена
>Посмотри `./configure --help` на предмет опций вида --with-qt-{libs,includes}=/path/to/ и задай путь к либам и хедэрам явно.
Да я пробовал уже...
Есть три опции:
--with-qt-dir=DIR where the root of Qt is installed
--with-qt-includes=DIR where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.
Я делал --with-qt-dir=/usr/lib/qt-3.1, --with-qt-lib=/usr/lib/qt-3.1/lib. А вот где взять путь к хедэрам я не знаю.
уже пробовал...
#rpm -ivh karchiver-3.0.10-1.i586.rpm
error: Failed dependencies:
libfam.so.0 is needed by karchiver-3.0.10-1
devel(libart_lgpl_2) is needed by karchiver-3.0.10-1
devel(libaudio) is needed by karchiver-3.0.10-1
devel(libDCOP) is needed by karchiver-3.0.10-1
devel(libdl) is needed by karchiver-3.0.10-1
devel(libexpat) is needed by karchiver-3.0.10-1
devel(libfam) is needed by karchiver-3.0.10-1
devel(libfontconfig) is needed by karchiver-3.0.10-1
devel(libfreetype) is needed by karchiver-3.0.10-1
devel(libgcc_s) is needed by karchiver-3.0.10-1
devel(libGL) is needed by karchiver-3.0.10-1
devel(libICE) is needed by karchiver-3.0.10-1
devel(libjpeg) is needed by karchiver-3.0.10-1
devel(libkdecore) is needed by karchiver-3.0.10-1
devel(libkdefx) is needed by karchiver-3.0.10-1
devel(libkdesu) is needed by karchiver-3.0.10-1
devel(libkdeui) is needed by karchiver-3.0.10-1
devel(libkio) is needed by karchiver-3.0.10-1
devel(libkparts) is needed by karchiver-3.0.10-1
devel(libm) is needed by karchiver-3.0.10-1
devel(libmng) is needed by karchiver-3.0.10-1
devel(libpng) is needed by karchiver-3.0.10-1
devel(libqt-mt) is needed by karchiver-3.0.10-1
devel(libresolv) is needed by karchiver-3.0.10-1
devel(libSM) is needed by karchiver-3.0.10-1
devel(libstdc++) is needed by karchiver-3.0.10-1
devel(libutil) is needed by karchiver-3.0.10-1
devel(libX11) is needed by karchiver-3.0.10-1
devel(libXext) is needed by karchiver-3.0.10-1
devel(libXft) is needed by karchiver-3.0.10-1
devel(libXmu) is needed by karchiver-3.0.10-1
devel(libXrender) is needed by karchiver-3.0.10-1
devel(libXt) is needed by karchiver-3.0.10-1
devel(libz) is needed by karchiver-3.0.10-1
>Ага. Верно. В RedHat-based дистрах программы и непосредственно заголовки дежат в разных пакетах, в данном случае qt-devel. Кстати, в факе эта тема обсуждена