Results 1 to 4 of 4
hey guys...
got a load of probs.
i installed gcc-4.1, gcc-4.1-base, etc., etc. but i can't compile anything?? why? 'gcc' 'g++' commands aren't recognized!...
- 02-09-2007 #1Just Joined!
- Join Date
- Feb 2007
- Location
- Sri Lanka
- Posts
- 12
gcc-4.1 installed..NOT working??!!
hey guys...
got a load of probs.
i installed gcc-4.1, gcc-4.1-base, etc., etc. but i can't compile anything?? why? 'gcc' 'g++' commands aren't recognized!
- 02-09-2007 #2
Did you install the package build-essential ?
Also, make sure both /usr/bin/g++ and /usr/bin/gcc are properly linked (probably to /usr/bin/g++-4.1 and /usr/bin/gcc-4.1)."To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 02-09-2007 #3Just Joined!
- Join Date
- Feb 2007
- Location
- Sri Lanka
- Posts
- 12
thanks. i installed build-essential.
....
you said:
Also, make sure both /usr/bin/g++ and /usr/bin/gcc are properly linked (probably to /usr/bin/g++-4.1 and /usr/bin/gcc-4.1).
....
how do i do that pls?
- 02-09-2007 #4
For example, the output of :
shoud be :Code:ls -l /usr/bin/g++
If it isn't, then simply do that :lrwxrwxrwx 1 root root 7 2007-01-08 11:52 /usr/bin/g++ -> g++-4.1
And very again with ls -l /usr/bin/g++ that it worked.Code:cd /usr/bin ln -sf g++-4.1 g++
You can do the same with /usr/bin/gcc"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote
