Results 1 to 9 of 9

Thread: Qt installation error

  1. #1

    Default Qt installation error

    hi ,
    i want to install Qt 4.4.3 on Ubuntu 8.4 ( and slax distribution too ) , by this way :
    1 - ./configure =======> OK
    2 - make ===========> OK
    3 - make install ======> ERROR

    yes, in " make install " section , show this errors for a lot of files ( here i write only 1 header file error ):
    Qt Code:
    1. make[1]: [install_flat_headers] Error 1 (ignored)
    2. install -m 755 -p /media/disk/Qt/qt-x11-opensource-src-4.4.3/src/corelib/tools/qbitarray.h /usr/local/Trolltech/Qt-4.4.3/include/Qt/
    3. strip /usr/local/Trolltech/Qt-4.4.3/include/Qt/qbitarray.h
    4. strip: /usr/local/Trolltech/Qt-4.4.3/include/Qt/qbitarray.h: File format not recognized
    To copy to clipboard, switch view to plain text mode 

    in both ( ubuntu , slax ) give me this error , for some header(.h) and... ( even readme file )
    thanks ...
    Last edited by mytest86; 1st October 2008 at 23:08.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Qt installation error

    Are your files +x? What if you unpack the archive on your hd?
    J-P Nurmi

  3. #3

    Default Re: Qt installation error

    hi ,
    i dont understand this :
    Are your files +x?
    wath is +x ??

    i unpack Qt downloaded files on my a windows drive ( NTFS ) , because in linux drives ( / ) and home directory i dont have enough space ...
    you think this problem associated to this ??

    i unpack by this commands :
    Qt Code:
    1. gunzip %DISTNAME%.tar.gz # uncompress the archive
    2. tar xvf %DISTNAME%.tar # unpack it
    To copy to clipboard, switch view to plain text mode 
    i paste more error code here :
    http://pastebin.com/m1d7a55

    thanks ...

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Qt installation error

    With "+x" I mean are they executables? Clearly it gets threated as an executable. What does
    Qt Code:
    1. ls -la /media/disk/Qt/qt-x11-opensource-src-4.4.3/src/corelib/tools/qbitarray.h
    To copy to clipboard, switch view to plain text mode 
    output?
    J-P Nurmi

  5. #5

    Default Re: Qt installation error

    this is output :
    Qt Code:
    1. -rwxrwxrwx 1 root root 6033 2008-09-27 12:28 /media/disk/qt4/qt-x11-opensource-src-4.4.3/src/corelib/tools/qbitarray.h
    To copy to clipboard, switch view to plain text mode 

    this is not associate to NTFS drive that i say above... ??
    please help me , this is very important for me ...

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Qt installation error

    Try chmod -x the header files so that they won't be threated as executables. See 'man chmod' for more details.
    J-P Nurmi

  7. #7

    Default Re: Qt installation error

    but i dont understand , you say with chmod command make executable this file or ...
    please write very simply ...
    you think by this way , my problem resolve ?
    thanks

  8. #8
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Qt installation error

    Currently, your files have execute permissions turned on (the x's in "-rwxrwxrwx"). Thus, they get threated as executables during the installation process and the result is what you see. Try this:
    bash Code:
    1. find /media/disk/qt4/qt-x11-opensource-src-4.4.3/src -iname '*.h' -print0 | xargs -0 chmod -c -x
    To copy to clipboard, switch view to plain text mode 
    This will find all header files in /media/disk/qt4/qt-x11-opensource-src-4.4.3/src and remove the execute permission from them. Probably the same problem occurs with files in /media/disk/qt4/qt-x11-opensource-src-4.4.3/include.
    J-P Nurmi

  9. #9

    Default Re: Qt installation error

    thanks ,
    my problem resolved !
    i copy source code on home directory ( that is not NTFS ) and then compile ...
    i think in install ( make install ) section , linux not accept case sensitive ...

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 11:15
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 14:43
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 13:57
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 03:49
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 13:19

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
  •  
Qt is a trademark of The Qt Company.