Results 1 to 4 of 4

Thread: QT-4.1 problems with FC4

  1. #1
    Join Date
    Jan 2006
    Posts
    185
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT-4.1 problems with FC4

    I just installed FC4 and downloaded the free version of QT-4.1. The instructions say:
    "type ./configure" adter decompresing the downloaded file.

    I type: "./configure" as root and as user too, but the following message appears:

    ./configure: line 53: [: /home/santiago/program: binary operator expected
    ./configure: line 59: [: /home/santiago/program: binary operator expected
    grep: /home/santiago/program: No such file or directory
    grep: files/qt/src/corelib/global/qglobal.h: No such file or directory
    Cannot process version from qglobal.h:
    Cannot proceed.

    What is the problem and how do I solve it ?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    85
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QT-4.1 problems with FC4

    You could try:
    bash ./configure
    in the qt directory as a normal user. Only "make install" needs root.

    Have you tried the .tar.gz - maybe there is a rpm?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT-4.1 problems with FC4

    Is "/home/santiago/program" a valid path? Or maybe it's only a part of it? If the latter is true (i.e. you have a directory with white spaces in its name), try renaming it.

  4. #4
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT-4.1 problems with FC4

    Quote Originally Posted by probine
    grep: /home/santiago/program: No such file or directory
    grep: files/qt/src/corelib/global/qglobal.h: No such file or directory
    It looks like the name of the directory is /home/santiago/program files. Try a more standard path - without spaces. Of course the configure script could be fixed to handle spaces, but that's really an uncommon case on Linux/Unix and it's not handled by most scripts.

Similar Threads

  1. problems creating toolbar...(do see the attachment)!
    By sumit in forum Qt Programming
    Replies: 15
    Last Post: 10th September 2008, 12:23
  2. Problems with scope and C header functions
    By waldowoc in forum Newbie
    Replies: 5
    Last Post: 5th August 2008, 12:29
  3. Replies: 2
    Last Post: 8th March 2007, 23:22
  4. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 16:39

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.