checking for X... configure: error: Can't find X includes. Please check your installa
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Apr 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post checking for X... configure: error: Can't find X includes. Please check your installa

    Hi every body,
    I am new user, using FC10, and I am trying to ./configure a software from source and I got a message, but problem that I don't know how to solve it.

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

    I would be very greatefull for how is helping me to solve it.

    Thanks,

  2. #2
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,986
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    What package are you trying to ./configure?
    Glenn
    The Bassinator

  3. #3
    Join Date
    Apr 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanking you for your reply
    This problem usually I get it while I try to ./configure softwares.
    Kooka I am trying to ./configure

  4. #4
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,986
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Kevenin, I'm going to move this thread to Software since it has nothing to do with installing Fedora.
    Can you post the last several lines of the configure output please, exactly as it appears in the terminal?
    Glenn
    The Bassinator

  5. #5
    Join Date
    Apr 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    checking for strlcpy... no
    checking if strlcpy needs custom prototype... yes - in libkdefakes
    checking for main in -lutil... yes
    checking for main in -lcompat... no
    checking for crypt in -lcrypt... yes
    checking for socklen_t... socklen_t
    checking for dnet_ntoa in -ldnet... no
    checking for dnet_ntoa in -ldnet_stub... no
    checking for inet_ntoa... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for sys/types.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking sys/bitypes.h usability... yes
    checking sys/bitypes.h presence... yes
    checking for sys/bitypes.h... yes
    checking for poll in -lpoll... no
    checking CoreAudio/CoreAudio.h usability... no
    checking CoreAudio/CoreAudio.h presence... no
    checking for CoreAudio/CoreAudio.h... no
    checking if res_init needs -lresolv... yes
    checking if res_init is available... yes
    checking for killpg in -lucb... no
    checking for int... yes
    checking size of int... 4
    checking for short... yes
    checking size of short... 2
    checking for long... yes
    checking size of long... 8
    checking for char *... yes
    checking size of char *... 8
    checking for dlopen in -ldl... (cached) yes
    checking for shl_unload in -ldld... no
    checking for size_t... yes
    checking size of size_t... 8
    checking for unsigned long... yes
    checking size of unsigned long... 8
    checking sizeof size_t == sizeof unsigned long... yes
    checking crt_externs.h usability... no
    checking crt_externs.h presence... no
    checking for crt_externs.h... no
    checking for _NSGetEnviron... no
    checking for vsnprintf... yes
    checking for snprintf... yes
    checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

  6. #6
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,198
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Try: yum install libX11-devel

  7. #7
    Join Date
    Apr 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am thanking every body to try to help me, But I got this message that's package already installed.

    Package libX11-devel-1.1.5-2.fc10.x86_64 already installed and latest version
    Nothing to do

  8. #8
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,198
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Then my next suggestion would be: yum groupinstall "X Software Development"

  9. #9
    Join Date
    Apr 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello Pablo
    I have installed what you suggested but I got another message:
    checking for Qt... configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation!

  10. #10
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,198
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    In almost all cases when ./configure halts with an error that some headers and/or libraries are missing, you need to install the *-devel rpm package for whatever it is. In this case, it's a matter of:

    yum install qt-devel

    The previous halt on the missing X headers wasn't as obvious as to what package to install, as 'yum install X-devel' would not have worked. Sometimes you have to figure out the actual name of the package to satisfy the missing dependency. In the case of the missing 'X' headers, I didn't know the answer myself, but I knew how to solve the puzzle.
    Code:
    sudo yum list *x* | grep devel
    Near the top of the list returned, it was fairly easy to guess that libX11-devel was the most probable package. You'll no doubt hit other dependency issues before you have them all on hand. Learning to become somewhat proficient at using yum at the command line to find packages will go a long way in assisting you when compiling software and gathering up the required dependencies.

    Edit: And when that didn't satisfy ./configure, then 'sudo yum grouplist' made "X Software Development" the next logical choice.
    Last edited by PabloTwo; 22nd April 2009 at 07:08 PM.

  11. #11
    Join Date
    Apr 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanking you so much for help, but till now i can't ./configure it there's something wrong

Similar Threads

  1. configure: error: Can't find X includes.
    By subinvarghese in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 16th September 2008, 03:16 PM
  2. Fedora 8 installa error
    By deoracle in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 26th May 2008, 08:05 AM
  3. configure: error: unable to find the GNOME libraries
    By ZeusZon in forum Using Fedora
    Replies: 3
    Last Post: 29th November 2006, 08:31 PM
  4. checking for X... configure: error: Can't find X includes. Please check your installa
    By darkbluecast in forum Installation, Upgrades and Live Media
    Replies: 6
    Last Post: 14th August 2006, 02:06 PM
  5. Can't find X includes
    By Anden008 in forum Using Fedora
    Replies: 2
    Last Post: 15th November 2005, 09:22 AM

Tags for this Thread

Posting Permissions

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