LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Two gcc in system (https://www.linuxquestions.org/questions/linux-newbie-8/two-gcc-in-system-254415/)

skom 11-13-2004 01:47 PM

Two gcc in system
 
Hi, I'm newbee in Linux. I have Mandrake 9.1 and installed from distributions rpm - gcc-3.2.2 (installed in /usr/bin and libraries in /usr/lib). I would like to install new soft, witch require gcc>3.3 - I configure, make and make install gcc-3.4.3.tar.bz2 (in /usr/local/bin and libraries in /usr/local/lib and /usr/local/libexec, /usr/local/include and /usr/loca/share). I have two gcc in systems.
When I try make with new gcc (g++ -V 3.4.3) I get an error -
g++: installation problem, canot exec 'cc1plus': No such file or directory,
and when I try make width
COMPILER=g++ -V 3.4.3 --libdir=/usr/local/lib/ --libexexdir=/usr/local/libexec/
is the same.
In ld.so.conf I have /usr/local/lib and /usr/local/libexec, and I make ldconfig.
Where I'm make some wrong? :cry:
:newbie:
PS. Sorry for my English.

karlan 11-13-2004 04:09 PM

try creating a symbolic link from cc1plus-version to cc1plue


All times are GMT -5. The time now is 01:34 PM.