LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Klamav: Qt error during configure (https://www.linuxquestions.org/questions/linux-newbie-8/klamav-qt-error-during-configure-511260/)

leiw 12-17-2006 12:38 AM

Klamav: Qt error during configure
 
Centos 4.3, Klamav-0.37

#rpm -qa | grep qt
qt-3.3.3-10.RHEL4
qt-devel-3.3.3-10.RHEL4


The following error during ./configure
..........................
..........................
checking for Qt... configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation!

I don't know what dose that mean .

Thanks

Xian 12-17-2006 07:25 PM

Find the location of qt.h on your system. Then:
$ ./configure --with-qt-prefix=

An example:

# find /usr/lib/. -name "qt.h"
/usr/lib/./qt3/include/qt.h

$ ./configure --with-qt-prefix=/usr/lib/qt3

leiw 12-17-2006 10:58 PM

Thank for your reply,

After ./configure can run smoothly, but have another problem

in "make" :


klamav_run.cpp:20: error: `setEnableExternalBrowser' was not declared in this scope
klamav_run.cpp:20: warning: unused variable 'setEnableExternalBrowser'
In file included from klamav_run.cpp:46:
klamav_run.moc:101:26: warning: no newline at end of file
make[3]: *** [klamav_run.o] Error 1
make[3]: Leaving directory `/root/klamav-0.37-source/klamav-0.37/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/klamav-0.37-source/klamav-0.37/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/klamav-0.37-source/klamav-0.37'
make: *** [all] Error 2


The setEnableExternalBrowser mean I need have a firefox during

make process ?

Thanks


All times are GMT -5. The time now is 11:28 AM.