CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

g++ installation in ubuntu

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

LinkBack Thread Tools Display Modes
Old   November 29, 2009, 03:11
Default g++ installation in ubuntu
New Member
Join Date: Nov 2009
Posts: 6
Rep Power: 10
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, 11:09
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,123
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light

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:
sudo apt-get install flex git git-core build-essential python-dev libqt4-dev libreadline5-dev wget zlib1g-dev cmake
Best regards,
wyldckat is offline   Reply With Quote


Thread Tools
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 On
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 21:37.