Comment 11 for bug 247190

Revision history for this message
Priya Bhat (pbhat) wrote :

hi Konstantin, and every one!

Are you sure about the gcc version? I am using MATLAB R2010b on Linux Ubuntu 10.04.1 and according to this (http://www.mathworks.com/support/compilers/R2010b/linux.html) the currently supported version of gcc/g++ is 4.3.x.

Anyway, I did try to compile the gcc/g++ 4.2 version and it seems like the repositories for it are no longer supported

pbhat@BmiUbuntu32:~/Downloads/lsm/csim$ sudo apt-get install gcc-4.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package gcc-4.2 has no installation candidate

Is there another way in which I can use the apt-get utility to install gcc / g++ version 4.2 without having to compile from source. I have tried to do that in the past and the results are always messy.

Thanks to everyone for the continued advice !