Results 1 to 6 of 6

Thread: Error while doing ./configure to install Qt in Ubuntu

  1. #1
    Join Date
    Feb 2010
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Error while doing ./configure to install Qt in Ubuntu

    Hi,

    This problem i am facing while installing the QT 4.7 beta in Ubuntu 10.0 .

    I have attached the screenshot , please sujjest how to get rid of it .

    -----------------------------------------------------------------------------------------------------------------------------------------------------
    chinmaya@chinmaya-desktop:~$ cd Downloads/qt-everywhere-opensource-src-4.7.0-beta1/
    chinmaya@chinmaya-desktop:~/Downloads/qt-everywhere-opensource-src-4.7.0-beta1$ ./configure
    Which edition of Qt do you want to use ?

    Type 'c' if you want to use the Commercial Edition.
    Type 'o' if you want to use the Open Source Edition.

    o


    This is the Qt for Linux/X11 Open Source Edition.

    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.

    Type '3' to view the GNU General Public License version 3.
    Type 'L' to view the Lesser GNU General Public License version 2.1.
    Type 'yes' to accept this license offer.
    Type 'no' to decline this license offer.

    Do you accept the terms of either license? yes

    Creating qmake. Please wait...
    g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/home/chinmaya/Downloads/qt-everywhere-opensource-src-4.7.0-beta1/include -I/home/chinmaya/Downloads/qt-everywhere-opensource-src-4.7.0-beta1/include/QtCore -I/home/chinmaya/Downloads/qt-everywhere-opensource-src-4.7.0-beta1/src/corelib/global -I/home/chinmaya/Downloads/qt-everywhere-opensource-src-4.7.0-beta1/src/corelib/xml -I/home/chinmaya/Downloads/qt-everywhere-opensource-src-4.7.0-beta1/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/chinmaya/Downloads/qt-everywhere-opensource-src-4.7.0-beta1/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
    make: g++: Command not found
    make: *** [project.o] Error 127
    chinmaya@chinmaya-desktop:~/Downloads/qt-everywhere-opensource-src-4.7.0-beta1$


    Thanks
    Chinmaya
    Attached Images Attached Images

  2. #2
    Join Date
    Jul 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error while doing ./configure to install Qt in Ubuntu

    Looks like g++ packet is missed in your Ubuntu.

  3. #3
    Join Date
    Feb 2010
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Re: Error while doing ./configure to install Qt in Ubuntu

    Initially i thought the g++ package is missing. I installed the g++ package but still the error is there.

    ~Chinmaya

  4. #4
    Join Date
    Dec 2009
    Posts
    8
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Error while doing ./configure to install Qt in Ubuntu

    Looks like you really do not have g++. I had a problem further ahead of this point and I solved using the tip given herel

  5. #5
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error while doing ./configure to install Qt in Ubuntu

    You can also very well try installing the SDK instead of building it

  6. #6
    Join Date
    Feb 2010
    Location
    Wokingham, United Kingdom
    Posts
    36
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Error while doing ./configure to install Qt in Ubuntu

    If you really want to build it make sure you have the 'build-essentials' package installed on ubuntu!! If it still refuses to work the latest version of the sdk is in the ubuntu repositories, or you can download it from nokia.

Similar Threads

  1. Replies: 0
    Last Post: 25th March 2010, 06:45
  2. Install opencv on ubuntu error, please help
    By cooper in forum General Programming
    Replies: 2
    Last Post: 16th July 2009, 12:46
  3. how to install QT on Ubuntu?
    By waxwings in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd July 2009, 10:34
  4. configure Qt with opengl on Ubuntu 8.10
    By drhex in forum Installation and Deployment
    Replies: 1
    Last Post: 8th January 2009, 17:15

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.