CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

g++ installation in ubuntu

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2009, 02:11
Default g++ installation in ubuntu
  #1
New Member
 
Join Date: Nov 2009
Posts: 6
Rep Power: 16
aliakbar82 is on a distinguished road
I want to install qt in ubuntu 9.04.I unzipped "qt-x11-opensource-src-4.3.5.tar.gz" file and did every thing in its instruction untill I reached the command make intall;i typed it but saw this error:
make[1]: g++: Command not found

make[1]: *** [.obj/release-shared/qapplication.o] Error 127

make[1]: Leaving directory `/home/moltani/tmp/qt-x11-opensource-src-4.3.5/src/gui'

make: *** [sub-gui-install_subtargets-ordered] Error 2
I think i shoud install g++. if yes how? and if no what I shoud do to solve this problem?
aliakbar82 is offline   Reply With Quote

Old   December 1, 2009, 10:09
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi,

Are you using MadsR's install cookbook for Ubuntu? If not, you could give it a shot... although it uses (K)Ubuntu's version of Qt (4.5.1 I think).

As for g++, here is the code line of the script that installs both g++ as well as other packages useful for building OpenFOAM and Paraview:
Code:
sudo apt-get install flex git git-core build-essential python-dev libqt4-dev libreadline5-dev wget zlib1g-dev cmake
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OF 1.6 installation on Ubuntu 7.04 mstfl OpenFOAM Installation 12 March 29, 2010 00:18
OpenFOAM Installation Ubuntu 9.04 Problems Sumontro OpenFOAM Installation 8 July 21, 2009 21:40
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Ubuntu AMD64 Installation Troubles mkw87 OpenFOAM Installation 31 April 27, 2008 13:59
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 03:12.