Results 1 to 7 of 7

Thread: makespec error for platform linux-g++

  1. #1
    Join Date
    Oct 2016
    Posts
    5
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default makespec error for platform linux-g++

    Hello All,
    I have downloaded the qt-everywhere-opensource-src-5.7.0 (ubuntux-linux platform) but while running configure script and selecting -o (open source) option getting below error.

    make: c: command not found
    Done.
    Running configuration tests...
    Failed to process makespec for platform 'Linux-g++'
    Turn on verbose messaging (-v) to see the final report.

    Could you helm me to sort out this issue as I couldn't see any makespec file in downloaded source.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: makespec error for platform linux-g++

    make: c: command not found
    This suggests to me that one of the paths and/or filenames in your configure script has a whitespace character in it. The makespec error is a consequence of make failing and will likely disappear once you fix the reason why make fails.

    The "mkspecs" directory is under qtbase in your source distribution. If you searched for "makespec" that's why you didn't find it.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Oct 2016
    Posts
    5
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: makespec error for platform linux-g++

    Thanks for your replay. I had downloaded qt-everywhere-opensource-src-5.7.0.zip file and unzip the same on Linux (Ubuntu) system.
    I believe tar.gz has to be downloaded and need to untar the same in order to have successful configuration of QT. Please correct if I am wrong.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: makespec error for platform linux-g++

    The ZIP and Tar.gz should have the same content, those are just different package formats.

    Cheers,
    _

  5. #5
    Join Date
    Oct 2016
    Posts
    5
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: makespec error for platform linux-g++

    Yes both have the same content but ZIP version is not compatible in Linux (Ubuntu). I have downloaded tar version now and it is working now as expected but during
    issuing make command I am getting below error.

    project ERROR: unknown module(s) in QT: quick

    Leaving directory /qt-everywhere-opensource-src-5.7.0/qtpurchasing/examples.

    Does it mean MakeFile needs to be updated for the this directory or is there any workaround is there for the same.


    Now how to skip compilation under qtpurchasing/examples directory as I don't require the same.

  6. #6
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: makespec error for platform linux-g++

    You can configure the build to be without examples.

    The error indicates that the QtQuick module was not built, probably due to some missing dependency.
    And it is then needed by the QtPurchasing example.

    Cheers,
    _

  7. #7
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: makespec error for platform linux-g++

    I believe the ZIP version has Windows line endings, the tar package has linux line endings. This could have caused the problem you first saw.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Deployment under linux platform
    By Abdeljalil in forum Installation and Deployment
    Replies: 1
    Last Post: 26th April 2014, 11:10
  2. Replies: 0
    Last Post: 22nd February 2012, 13:26
  3. Configure Qt for SQLITE on Linux platform
    By Qt Coder in forum Qt Programming
    Replies: 3
    Last Post: 27th May 2010, 08:27
  4. -platform linux-g++-32 flag for qsa?
    By larry104 in forum Installation and Deployment
    Replies: 2
    Last Post: 21st December 2006, 19:46
  5. generating beep sound in Qt under linux platform
    By babusunlux in forum Qt Programming
    Replies: 10
    Last Post: 7th July 2006, 06:38

Tags for this Thread

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.