g++ installation in ubuntu
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? |
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 Bruno |
All times are GMT -4. The time now is 09:30. |