LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2004, 01:47 PM   #1
skom
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Question 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?

PS. Sorry for my English.
 
Old 11-13-2004, 04:09 PM   #2
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
try creating a symbolic link from cc1plus-version to cc1plue
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC 4 based system Orodreth Linux From Scratch 2 11-23-2005 07:49 AM
Unpacking gcc causes system crash. cuiq Linux From Scratch 3 10-24-2005 03:46 AM
Is it possible to have two different versions of GCC in the same system ?? nasty_daemon Linux - Software 2 09-07-2005 10:49 AM
Can you have two different versions of gcc on the same system? the theorist Linux - Software 1 02-23-2004 04:53 PM
gcc 2.95/6(RH) and 3.01 on same system? bobthebat Linux - General 1 10-23-2001 12:19 AM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration