Results 1 to 4 of 4

Thread: Kguitar error

  1. #1
    Join Date
    Mar 2007
    Beans
    Hidden!

    Kguitar error

    Hi to everyone!
    Excuse me if I bother here , I know it's not the right forum, but no one could help me in other forums..
    I'm having a little problem installing kguitar:

    when I start ./configure command, it gives me this error

    ******************
    checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
    ********************
    I'm new in Linux and I don't know where I can find these files... could anyone help me ..

    Thanks

  2. #2
    Join Date
    Jan 2006
    Beans
    961

    Re: Kguitar error

    you need the development-files for X and KDE installed .. i'm just guessing here, but:

    Code:
    sudo aptitude install kde-devel
    ..might install both the X and KDE-development stuff required for you to compile KGuitar

    you can also use the `alien'-package to convert an .rpm-file to .deb-format .. in any case this might not work as the latest release of KGuitar seems a bit old
    Last edited by lnostdal; March 6th, 2007 at 01:31 PM.

  3. #3
    Join Date
    Jun 2007
    Beans
    55

    Re: Kguitar error

    hello, everyone.

    i'm trying to get kguitar to work as well, and installing kde-devel got me through the ./configure routine.

    the next step seems to be 'make', but it exits giving the error messages below.

    could someone please help?

    thanks.


    In file included from kguitar_part.cpp:9:
    tabsong.h:6:19: error: qlist.h: No such file or directory
    In file included from kguitar_part.cpp:18:
    convertxml.h:6:21: error: qvector.h: No such file or directory
    /usr/share/qt3/include/qxml.h:224: warning: 'class QXmlReader' has virtual functions but non-virtual destructor
    /usr/share/qt3/include/qxml.h:407: warning: 'class QXmlContentHandler' has virtual functions but non-virtual destructor
    /usr/share/qt3/include/qxml.h:424: warning: 'class QXmlErrorHandler' has virtual functions but non-virtual destructor
    /usr/share/qt3/include/qxml.h:433: warning: 'class QXmlDTDHandler' has virtual functions but non-virtual destructor
    /usr/share/qt3/include/qxml.h:441: warning: 'class QXmlEntityResolver' has virtual functions but non-virtual destructor
    /usr/share/qt3/include/qxml.h:448: warning: 'class QXmlLexicalHandler' has virtual functions but non-virtual destructor
    /usr/share/qt3/include/qxml.h:461: warning: 'class QXmlDeclHandler' has virtual functions but non-virtual destructor
    convertxml.h:85: error: ISO C++ forbids declaration of 'QVector' with no type
    convertxml.h:85: error: expected ';' before '<' token
    make[3]: *** [kguitar_part.lo] Error 1
    make[3]: Leaving directory `/home/gsub/Desktop/kguitar-0.5/kguitar'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/gsub/Desktop/kguitar-0.5/kguitar'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/gsub/Desktop/kguitar-0.5'
    make: *** [all] Error 2

  4. #4
    Join Date
    Aug 2005
    Location
    Birmingham, AL
    Beans
    974
    Distro
    Kubuntu

    Re: Kguitar error

    When you get " (whatever).h : no such file or directory" file errors in make (or configure), apt-file (sudo apt-get install apt-file then sudo apt-file update to set it up) helps; just do an apt-file search (whatever.h) for the missing header, then install the most likely candidate.

    In your case, looks like either libqt3-compat-headers or libqt4-dev; not sure which is best here, but you can try either/or.
    Last edited by DoktorSeven; June 2nd, 2007 at 07:09 PM.

Bookmarks

Posting Permissions

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