Find the answer to your Linux question:
Results 1 to 6 of 6
ok, i am tring to run ./configure and i am getting this error Code: Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    34

    Exclamation Error Help needed!


    ok, i am tring to run ./configure and i am getting this error

    Code:
    Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
    any help will be greatly appreciated

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You need to install libqt3-devel in order to resolve that problem. You can do this using the GUI software manager or by doing
    Code:
    #urpmi libqt3-devel

  3. #3
    Just Joined!
    Join Date
    Nov 2007
    Posts
    34
    thx, i am getting this error now
    Code:
    configure: error:
    in the prefix, you've chosen, are no KDE headers installed. This will fail.
    So, check this please and use another prefix!

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    libkdecore4-devel is the package you need to install.

  5. #5
    Just Joined!
    Join Date
    Nov 2007
    Posts
    34
    when i tryed to "make install" it i got this...

    Code:
    [root@localhost domino-0.4]# make install
    Making install in domino
    make[1]: Entering directory `/home/raza/Desktop/domino-0.4/domino'
    /usr/lib/qt3//bin/moc ./domino.h -o domino.moc
    if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
     -I.. -I/usr/lib/qt3//include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-lo
    ng -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar
    -subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribu
    te -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -I/
    usr/include/freetype2 -MT domino.lo -MD -MP -MF ".deps/domino.Tpo" -c -o domino.lo
    domino.cpp; \
            then mv -f ".deps/domino.Tpo" ".deps/domino.Plo"; else rm -f ".deps/domino.
    Tpo"; exit 1; fi
    domino.cpp: In member function ‘void DominoStyle::dominoDrawItem(QPainter*, const Q
    Rect&, int, const QColorGroup&, bool, const QPixmap*, const QString&, int, const QC
    olor*, bool) const’:
    domino.cpp:7741: warning: empty body in an if-statement
    In file included from domino.cpp:8101:
    /usr/lib/qt3//include/qptrlist.h: In member function ‘void QPtrList<type>::deleteIt
    em(void*) [with type = KConfigBackEnd]’:
    domino.moc:163:   instantiated from here
    /usr/lib/qt3//include/qptrlist.h:150: note: neither the destructor nor the class-sp
    ecific operator delete will be called, even if they are declared when the class is
    defined.
    if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
     -I.. -I/usr/lib/qt3//include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-lo
    ng -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar
    -subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribu
    te -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -I/
    usr/include/freetype2 -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o misc.lo misc.c
    pp; \
            then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f ".deps/misc.Tpo";
    exit 1; fi
    /bin/sh ../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef -ansi
     -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wal
    l -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virt
    ual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -I/usr/include/free
    type2   -o domino.la -rpath /usr/lib/kde3/plugins/styles -L/usr/lib/qt3//lib -L/usr
    /lib    -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-u
    ndefined -R /usr/lib -R /usr/lib -R /usr/lib/qt3//lib -R /usr/lib  -module -R /usr/
    lib -R /usr/lib -R /usr/lib/qt3//lib -R /usr/lib domino.lo misc.lo -lkdeui -lkutils
     -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdefx -lXrender -l
    Xft -lkdecore
    make[2]: Entering directory `/home/raza/Desktop/domino-0.4/domino'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/lib/kde3/plugins/styles" || mkdir -p -- "/usr/lib/kde3/plugins/styles
    "
     /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p  'domino.la' '/u
    sr/lib/kde3/plugins/styles/domino.la'
    PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3/plugins/styles
    test -z "/usr/share/apps/kdisplay/color-schemes" || mkdir -p -- "/usr/share/apps/kd
    isplay/color-schemes"
     /usr/bin/install -c -p -m 644 'Domino.kcsrc' '/usr/share/apps/kdisplay/color-schem
    es/Domino.kcsrc'
    test -z "/usr/share/apps/kstyle/themes" || mkdir -p -- "/usr/share/apps/kstyle/them
    es"
     /usr/bin/install -c -p -m 644 'domino.themerc' '/usr/share/apps/kstyle/themes/domi
    no.themerc'
    make[2]: Leaving directory `/home/raza/Desktop/domino-0.4/domino'
    make[1]: Leaving directory `/home/raza/Desktop/domino-0.4/domino'
    Making install in dominoConfig
    make[1]: Entering directory `/home/raza/Desktop/domino-0.4/dominoConfig'
    /usr/lib/qt3//bin/moc ./dominoconf.h -o dominoconf.moc
    if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.    -I.. -I/usr/lib/qt3//include -I.  -I/usr/include/freetype2  -DQT_THREAD_SUPPORT  -   D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-   align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security    -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -f   no-common  -MT dominoconf.lo -MD -MP -MF ".deps/dominoconf.Tpo" -c -o dominoconf.lo    dominoconf.cpp; \
            then mv -f ".deps/dominoconf.Tpo" ".deps/dominoconf.Plo"; else rm -f ".deps   /dominoconf.Tpo"; exit 1; fi
    In file included from dominoconf.cpp:4341:
    /usr/lib/qt3//include/qptrlist.h: In member function ‘void QPtrList<type>::deleteIt   em(void*) [with type = KConfigBackEnd]’:
    dominoconf.moc:644:   instantiated from here
    /usr/lib/qt3//include/qptrlist.h:150: warning: possible problem detected in invocat   ion of delete operator:
    /usr/lib/qt3//include/qptrlist.h:150: warning: invalid use of incomplete type ‘stru   ct KConfigBackEnd’
    /usr/include/kconfigbase.h:38: warning: forward declaration of ‘struct KConfigBackE   nd’
    /usr/lib/qt3//include/qptrlist.h:150: note: neither the destructor nor the class-sp   ecific operator delete will be called, even if they are declared when the class is    defined.
    /bin/sh ../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common    -o kstyle_domino_config.la -rpath /usr/lib/kde3 -L/usr/lib/qt3//lib -L/usr/lib    -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/lib -R /usr/lib/qt3//lib -R /usr/lib  -module  dominoconf.lo -lkdeui ../domino/domino.la -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdefx -lkio
    
    *** Warning: Linking the shared library kstyle_domino_config.la against the loadable module
    *** domino.so is not portable!
    make[2]: Entering directory `/home/raza/Desktop/domino-0.4/dominoConfig'
    test -z "/usr/lib/kde3" || mkdir -p -- "/usr/lib/kde3"
     /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p  'kstyle_domino_config.la' '/usr/lib/kde3/kstyle_domino_config.la'
    PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/raza/Desktop/domino-0.4/dominoConfig'
    make[1]: Leaving directory `/home/raza/Desktop/domino-0.4/dominoConfig'
    Making install in client
    make[1]: Entering directory `/home/raza/Desktop/domino-0.4/client'
    Making install in .
    make[2]: Entering directory `/home/raza/Desktop/domino-0.4/client'
    /usr/lib/qt3//bin/moc ./dominoclient.h -o dominoclient.moc
    if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include -I.  -I/usr/include/kwin  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT dominoclient.lo -MD -MP -MF ".deps/dominoclient.Tpo" -c -o dominoclient.lo dominoclient.cpp; \
            then mv -f ".deps/dominoclient.Tpo" ".deps/dominoclient.Plo"; else rm -f ".deps/dominoclient.Tpo"; exit 1; fi
    In file included from dominoclient.cpp:10:
    dominoclient.h:13:31: error: kcommondecoration.h: No such file or directory
    dominoclient.h:14:32: error: kdecorationfactory.h: No such file or directory
    In file included from dominoclient.cpp:10:
    dominoclient.h:23: error: expected class-name before ‘{’ token
    dominoclient.h:27: error: ISO C++ forbids declaration of ‘KDecoration’ with no type
    dominoclient.h:27: error: expected ‘;’ before ‘*’ token
    dominoclient.h:29: error: ‘Ability’ has not been declared
    dominoclient.h:52: error: expected class-name before ‘{’ token
    dominoclient.h:54: error: expected `)' before ‘type’
    dominoclient.h:71: error: expected class-name before ‘{’ token
    dominoclient.h:74: error: expected `)' before ‘*’ token
    dominoclient.h:80: error: ‘DecorationBehaviour’ has not been declared
    dominoclient.h:81: error: ‘LayoutMetric’ has not been declared
    dominoclient.h:81: error: expected ‘,’ or ‘...’ before ‘*’ token
    dominoclient.h:81: error: ISO C++ forbids declaration of ‘KCommonDecorationButton’ with no type
    dominoclient.h:82: error: ISO C++ forbids declaration of ‘KCommonDecorationButton’ with no type
    dominoclient.h:82: error: ‘KCommonDecorationButton’ declared as a ‘virtual’ field
    dominoclient.h:82: error: expected ‘;’ before ‘*’ token
    dominoclient.h:105: error: ISO C++ forbids declaration of ‘QButton’ with no type
    dominoclient.h:105: error: expected ‘;’ before ‘*’ token
    dominoclient.h:81: error: default argument missing for parameter 3 of ‘virtual int Domino::DominoClient::layoutMetric(int, bool, int) const’
    dominoclient.cpp:119: error: expected constructor, destructor, or type conversion before ‘*’ token
    dominoclient.cpp: In member function ‘bool Domino::DominoHandler::reset(long unsigned int)’:
    dominoclient.cpp:128: error: ‘SettingColors’ was not declared in this scope
    dominoclient.cpp:135: error: ‘SettingDecoration’ was not declared in this scope
    dominoclient.cpp:135: error: ‘SettingFont’ was not declared in this scope
    dominoclient.cpp:135: error: ‘SettingBorder’ was not declared in this scope
    dominoclient.cpp:138: error: ‘resetDecorations’ was not declared in this scope
    dominoclient.cpp: In member function ‘long unsigned int Domino::DominoHandler::readConfig(bool)’:
    dominoclient.cpp:149: error: ‘options’ was not declared in this scope
    dominoclient.cpp:177: error: ‘SettingColors’ was not declared in this scope
    dominoclient.cpp: At global scope:
    dominoclient.cpp:491: error: ‘bool Domino::DominoHandler::supports’ is not a static member of ‘class Domino::DominoHandler’
    dominoclient.cpp:491: error: ‘Ability’ was not declared in this scope
    dominoclient.cpp:492: error: expected ‘,’ or ‘;’ before ‘{’ token
    In file included from dominoclient.cpp:1181:
    dominoclient.moc:103: error: expected `}' at end of input
    /usr/lib/qt3//include/qptrlist.h: In member function ‘void QPtrList<type>::deleteItem(void*) [with type = KConfigBackEnd]’:
    dominoclient.moc:102:   instantiated from here
    /usr/lib/qt3//include/qptrlist.h:150: warning: possible problem detected in invocation of delete operator:
    /usr/lib/qt3//include/qptrlist.h:150: warning: invalid use of incomplete type ‘struct KConfigBackEnd’
    /usr/include/kconfigbase.h:38: warning: forward declaration of ‘struct KConfigBackEnd’
    /usr/lib/qt3//include/qptrlist.h:150: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
    make[2]: *** [dominoclient.lo] Error 1
    make[2]: Leaving directory `/home/raza/Desktop/domino-0.4/client'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/raza/Desktop/domino-0.4/client'
    make: *** [install-recursive] Error 1
    :/

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Try installing libkdebase4-devel then running make again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •