sudo aptitude build-dep octave3.2 sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev sudo aptitude install gcc-4.5 gfortran-4.5 g++-4.5
than, we need to do something ugly, but it does work ... ;-)
sudo mv /usr/bin/gfortran /usr/bin/gfortran.ORG sudo ln -s /usr/bin/gfortran-4.5 /usr/bin/gfortran
now we tell Octave to build using GCC-4.5:
export CC=/usr/bin/gcc-4.5 export CXX=/usr/bin/g++-4.5
the rest is easy:
./configure make make test sudo make install sudo checkinstall
Et viola! A post which is more positive and not ranting! Octave 3.4 is faster, and provides better Matlab comparability. Give it a try and you want look back!
No comments:
Post a Comment