Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help wih building KDE libraries



On Fri, Feb 23, 2001 at 03:45:35PM +0900, Antony Stace wrote:
> Hi 
> 
> I am tying to build KDE libraries and get the error
> 
> Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not
> found. Plea
> se check your installation!
> 
> when I run 
> 
> ./configure
> 
> When I use configure I use the options
> 
>  ./configure --with-qt-dir=/usr/local/qt/src

this should be --with-qt-dir=/usr/local/qt !!!

> --with-qt-libraries=/usr/local/qt/lib
> --with-qt-includes=/usr/local/qt/include
> 
> 
> Below is some relevant information(I think).
> Can anyone see whats going on?
> Any help appriciated.
> 
> Cheers
> 
> Tony
> 
> 
> 
> This is the /usr/local/qt directory 
> 
> [antony@example.com qt]$ ls -dR /usr/local/qt/* | more
>    4 /usr/local/qt/ANNOUNCE
>    8 /usr/local/qt/FAQ
>    4 /usr/local/qt/INSTALL
>   20 /usr/local/qt/LICENSE.GPL
>    8 /usr/local/qt/LICENSE.QPL
>    4 /usr/local/qt/MANIFEST
>    4 /usr/local/qt/Makefile
>    4 /usr/local/qt/PLATFORMS
>    4 /usr/local/qt/PORTING
>    4 /usr/local/qt/README
>    4 /usr/local/qt/README.QT
>    4 /usr/local/qt/bin/
>   12 /usr/local/qt/changes-2.2.0
>    8 /usr/local/qt/changes-2.2.1
>    8 /usr/local/qt/changes-2.2.2
>    8 /usr/local/qt/changes-2.2.3
>    8 /usr/local/qt/changes-2.2.4
>    4 /usr/local/qt/configs/
>   32 /usr/local/qt/configure*
>    4 /usr/local/qt/doc/
>    4 /usr/local/qt/examples/
>    4 /usr/local/qt/extensions/
>    8 /usr/local/qt/include/
>    4 /usr/local/qt/lib/
>    4 /usr/local/qt/src/
>    4 /usr/local/qt/src-mt.mk
>    4 /usr/local/qt/tools/
>    4 /usr/local/qt/tutorial/
> 
> 
> And this is what the end of the config.log file looks like
> 
> [snip]
> configure:6696: checking for Qt
> configure:6857: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
> -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
> -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -INO
> -I/usr/X11R6/include   -L/usr/local/qt/lib -L/usr/X11R6/lib  conftest.C 
> -lqt -lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE  1>&5
> conftest.C:2: qglobal.h: No such file or directory             (1)
> conftest.C:3: qapplication.h: No such file or directory        (2)
> conftest.C:4: qapp.h: No such file or directory                (3)
> conftest.C:5: qobjcoll.h: No such file or directory            (4)
> conftest.C:6: qevent.h: No such file or directory              (5)
> conftest.C:7: qstring.h: No such file or directory             (6)
> conftest.C:8: qstyle.h: No such file or directory              (7)
> conftest.C:9: qiconview.h: No such file or directory           (8)
> conftest.C:11: #error 1
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qapp.h>
> #include <qobjcoll.h>
> #include <qevent.h>
> #include <qstring.h>
> #include <qstyle.h>
> #include <qiconview.h>
> #if ! (QT_VERSION >= 222)
> #error 1
> #endif
> 
> int main() {
>     QStringList *t = new QStringList();
>     QIconView iv(0);
>     iv.setWordWrapIconText(false);
>     QString s;
>     s.setLatin1("Elvis is alive", 14);
>     int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
>     return 0;
> }
> [end of config.log file]
> 
> 
> The files which it is looking for above( (1)-(8)) are all in
> /usr/local/qt/include
> 
> ie...
>  
> [antony@example.com qt]$ find /usr/local/qt -name qglobal.h
> /usr/local/qt/include/qglobal.h
> /usr/local/qt/src/tools/qglobal.h
> [antony@example.com qt]$ find /usr/local/qt -name qapplication.h
> /usr/local/qt/include/qapplication.h
> /usr/local/qt/src/kernel/qapplication.h
> [antony@example.com qt]$ find /usr/local/qt -name qapp.h        
> /usr/local/qt/include/qapp.h
> /usr/local/qt/src/compat/qapp.h
> [antony@example.com qt]$
> 
> -----------------------------------------------------------------------
> Next Technical Meeting:  Prof. Jim Breen  Sat, March 10 13:30- 
> Next Nomikai Meeting:    Fri, April 13 19:30- Tengu Tokyo Eki Mae
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links