LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2007, 03:46 AM   #1
powen
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
Error trying to configure/add another gcc


I am trying to add another gcc in /usr/local for backward compatibility
current version is: gcc version 3.4.6 /usr/bin/gcc
>
i want to keep that but install another one in the user local area.
Have downloaded the relevant source and am getting and config.h error per:
>
~/gcc-2.2.2/configure prefix=/usr/local/gcc/2.2.2
../gcc-2.2.2/configure: cannot create a link `config.h',
since the file `config/xm-prefix=/usr/local/gcc/2.2.2.h' does not exist
>
any known workarounds or fixes to get past this error will be great.

Last edited by powen; 07-06-2007 at 03:48 AM.
 
Old 07-06-2007, 06:07 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-18-2007, 09:37 PM   #3
powen
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Cool

Have found that it appears to be the gcc source - all except 2.95 will actually configure.
Prior to this each one either requires more arguments in the configure statement or the config.h cannot find a missing prefix file in the source.
>
I found a good web site white paper on what to do:
http://www.tellurian.com.au/whitepapers/multiplegcc.php
this has a source link as well for older versions of gcc that can be built and installed to run alongside the current gcc
>
so it is possible to do and not for all prior versions, unless you know how to overcome the errors. For me it is not that critical.
 
  


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 configure error bourbonstreet Linux From Scratch 2 11-03-2006 11:50 PM
gcc ./configure error!! HELP nectron101 Linux - Newbie 1 04-09-2006 11:24 PM
Error ./Configure GCC 3.4.4 D1G1T477 Linux - General 1 06-21-2005 11:29 AM
mplayer ./configure gcc error U-Toast Linux - Software 21 08-28-2004 06:06 PM
gcc configure error rl5 Linux From Scratch 2 03-31-2004 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:42 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