Results 1 to 5 of 5
I'm trying to install something and I get this error:
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I've read that gcc is used, ...
- 04-14-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 2
C compiler problems
I'm trying to install something and I get this error:
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I've read that gcc is used, however, when I go to install it I get this message:
# urpmi gcc
The following packages can't be installed because they depend on packages
that are older than the installed ones:
glibc-devel-2.4-7mdv2007.0
gcc-4.1.1-3mdk
Continue installation anyway? (Y/n)
What should I do then?
- 04-15-2007 #2
Press "y" and hit enter?
'Tis better to be silent and be thought a fool, than to speak and remove all doubt.'
--Abraham Lincoln
- 04-15-2007 #3
Did you setup the various main, contrib, updates and plf repos listed at easyurpmi for the version of Mandriva you are running? If so, then you have all the required sources and entering the commands below may help,
Code:#urpmi.update -a #urpmi --auto-select --auto #urpmi gcc
- 04-26-2007 #4
- 05-06-2007 #5Linux Newbie
- Join Date
- Jul 2005
- Posts
- 180
That is interesting-- the warning in a round about way told you that gcc is already installed!The following packages can't be installed because they depend on packages
that are older than the installed ones:
glibc-devel-2.4-7mdv2007.0
gcc-4.1.1-3mdk
I would do this
If it says /usr/bin/gcc for instance, then /usr/bin better be in your PATH.Code:which gcc
Is one of the paths correspond to the directory where gcc is? If not you can add the directory to your profile globally and permanently by editing /etc/profile or locally in your .bashrc file which should be in your home directory. You just add another colon and then the path on the lineCode:echo $PATH
.Code:PATH=blah
For instance if it saysthen change it toCode:PATH=/usr/sbin
. This will mostly likely be in /etc/profile.Code:PATH=/usr/sbin:/usr/bin


Reply With Quote
