Announcement

Collapse
No announcement yet.

X Windows includes

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    X Windows includes

    Installed Kubuntu 7.10 from a Live CD.

    Trying to compile and install ksendfax.

    Get the following output from ./configure:

    checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

    ran synaptic and the add/remove package programs and couldn't find anything on the X Window includes.

    Where would I get them??

    #2
    Re: X Windows includes

    FAQ: Installing from source
    http://kubuntuforums.net/forums/inde...opic=3085626.0

    => Packages for DIY compilers

    =>
    Error message:
    checking for X... configure: error: Can't find X includes.
    This package helpped here: kdebase-dev
    development files for the KDE base module
    This package contains headers and other development files needed to
    compile software based on the KDE base module.
    More: X... configure: error: Can't find X includes
    http://ubuntuforums.org/showthread.php?t=23570
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: X Windows includes

      Ok - the kdabase-dev got it.

      Thanks.

      The problem I always run into isn't not knowing how to do it, but the error messages from './configure' aren't as informative as the docs you pointed to would have you believe. There is some cryptic message about something that's missing. I then end up searching all the databases I can find for something like or similar to what the error message mentioned. Sometimes I find the correct package, but 99% of the I don't. For example, the X windows includes. I would not have looked for kdebase-dev in my remaining lifetime.

      For example, I am currently trying to install ksendfax - gfax doesn't work for some reason.

      I get the following on running ./configure:

      checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
      For more details about this problem, look at the end of config.log.

      looked at the end of the log file and I find:

      configure: exit 1

      Very informative!!!

      Then I read the docs you pointed to and find out about auto-apt

      That what I need!!!

      install with the apt-get command recommended and run it: auto-apt run ./configure

      It definitely doesn't solve the problem by "automatically finding and asking to download and install the proper packages".

      It simply dumps back out to the command line just like './configure' did.

      So auto-apt doesn't know what to do either.

      So I search with synaptic for QT and get a very long list of stuff. Download and install all of the 3.xx and 4.xx QT header files and libraries I can find.

      No luck.

      So where do I find the "correct" QT libraries for ksendfax

      And the more pertinent question:

      HOW do I find the pertinent files


      Originally posted by Rog131
      FAQ: Installing from source
      http://kubuntuforums.net/forums/inde...opic=3085626.0

      => Packages for DIY compilers

      =>
      Error message:
      checking for X... configure: error: Can't find X includes.
      This package helpped here: kdebase-dev
      development files for the KDE base module
      This package contains headers and other development files needed to
      compile software based on the KDE base module.
      More: X... configure: error: Can't find X includes
      http://ubuntuforums.org/showthread.php?t=23570

      Comment


        #4
        Re: X Windows includes

        checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
        Could be:

        DebianKDE
        http://wiki.debian.org/DebianKDE

        =>
        FAQ: Compiling KDE applications
        http://wiki.debian.org/KdeDebBuild
        can't compile KDE programs - it can't find Qt libraries.

        A very common problem when compiling KDE programs (or other ones which use Qt), is that the configure script, is unable to find where Qt is, and failing with a message like this:

        checking for Qt... configure: error: Qt (>= Qt 3.1.0) (headers and
        libraries) not found. Please check your installation!

        This problem can mean different things:

        * You don't have the necessary Qt packages installed. Make sure you have (at least) libqt3-mt-dev and qt3-dev-tools. If during compilation, the build fails because a file is missing (for example, qlist.h), this means this software is using obsolete headers. Please, report this fact to the developers of this software, and to complete the build, install libqt3-compat-headers.
        * The packages are installed, but configure is unable to find them. You can pass the exact path to the configure script this way:

        --with-qt-dir=/usr/share/qt3

        Since this is a bit annoying if you are compiling lots of applications, make sure that the environment variable QTDIR points to /usr/share/qt3 (in bash: export QTDIR=/usr/share/qt3)....

        HOW do I find the pertinent files?Huh??
        Yes, that is the big problem, sometimes google helps -> insert the error message or part of it in to the google => solution (hopefully)
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment

        Working...
        X