Results 1 to 9 of 9

Thread: ./configure failed for Fedora 10 32-bit

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default ./configure failed for Fedora 10 32-bit

    I have tried running ./configure as both my user and as root and I keep getting this error.

    Creating qmake. Please wait...
    gmake: Nothing to be done for `first'.
    Basic XLib functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/Todd/Download/qt-x11-opensource-src-4.5.1/mkspecs/linux-g++.
    Any idea what I need to do for this? I don't understand what it needs me to add. Thanks for any help you have!

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: ./configure failed for Fedora 10 32-bit

    Obviously XLib is not found, so it asks you to specify the path to its includes through QMAKE_INCDIR_X11, and the path to its libs through QMAKE_LIBDIR_X11.
    I'm a rebel in the S.D.G.

  3. #3
    Join Date
    Apr 2009
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ./configure failed for Fedora 10 32-bit

    I have the same error when installing in ubuntu.

    Can someone please share on how to specify/edit the path in this case??

    ------------------------------------------------
    btw I found some info that mentioned this(doesnt seem to work,just fyi):

    install:
    sudo apt-get build-dep qt4-qmake

    then configure again,this time I am able to configure,make and make install.
    but after I build my static application i tested it on another pc,the static application is able to open,but some functionality seems to be missing..
    Last edited by remy06; 10th June 2009 at 10:43.

  4. #4
    Join Date
    Apr 2009
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ./configure failed for Fedora 10 32-bit

    Like to add that I've tried installing the following:

    libx11-dev
    xlibs-static-dev

    through ubuntu synaptic manager but the problem persist...

    I'm using ubuntu 8.04.

  5. #5
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: ./configure failed for Fedora 10 32-bit

    Quote Originally Posted by lyuts View Post
    Obviously XLib is not found, so it asks you to specify the path to its includes through QMAKE_INCDIR_X11, and the path to its libs through QMAKE_LIBDIR_X11.
    How do I specify the paths? And how do I know where these XLib things are located? Thanks!

  6. #6
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: ./configure failed for Fedora 10 32-bit

    Well, you might need to run a search for these libs and when you find theirs paths, you will need to edit your qmake.conf, which is a list of variable names and variable values.
    I'm a rebel in the S.D.G.

  7. #7
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ./configure failed for Fedora 10 32-bit

    ok I am getting the same error, I haev already Installed libx11-dev but still the error persists

    I couldnot install "xlibs-static-dev" it looks like it is not for fedora or maybe with other name

    Okay I have xlib installed at
    /usr/lib/X11 -- but this foler is empty.
    /usr/share/X11
    /user/include/X11
    /etc/X11

    any idea where shud I point my variables QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 to?

    Because /usr/lib/X11 and /usr/include/X11 is not working

    and any idea why /usr/lib/X11 is empty, though I used yum to install libx11-dev

    Thanks

  8. #8
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ./configure failed for Fedora 10 32-bit

    Okay finally worked for me
    I had to install

    libx11-dev
    libxext-dev (or libxext-devel, check the name with yum)

    no need to change any conf files or path, atleast on CELL SDK(will install on server today)

    anyways thanks guys

  9. #9
    Join Date
    Apr 2010
    Location
    Bangalore
    Posts
    24
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: ./configure failed for Fedora 10 32-bit

    thanks it was useful.

Similar Threads

  1. Qt 4.4.0 installation failed!!!!!
    By biswajithit in forum Installation and Deployment
    Replies: 1
    Last Post: 4th August 2008, 16:38
  2. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 14:15
  3. X Error of failed request - on exit
    By VorosM in forum Newbie
    Replies: 3
    Last Post: 12th April 2006, 10:22

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.