|
Help with $path
I just installed solaris last night after never using any linux based system in my life. My problem is that i'm trying to install GNU nano, and when I try to do a "# ./configure", I get: "configure: error: no acceptable C compiler found in $PATH"
So after i soon find out that I have no gcc compiler and make is not installed. So i followed someones online instructions and figured out how to install gcc and make. Tried to install nano again and got the same error. So i found out about this "echo $root command and tried that and I get a blank line.
I then did a "# find / -name gcc" and got.
/usr/sfw/lib/gcc
/usr/sfw/bin/gcc
/usr/sfw/libexec/gcc
/usr/local/doc/gcc
/usr/local/bin/gcc
/usr/local/lib/gcc
/usr/local/libexec/gcc
I don't know what to do now. I understand that I need to have these directories as my $root, but I can't seem to figure out how. If anyone can help it would be greatly appreciated. Thanks.
|